This version of the course guide is provisional until the period for editing the new course guides ends.

Logo UAB

Probability

Code: 104386 ECTS Credits: 6
2024/2025
Degree Type Year
2503740 Computational Mathematics and Data Analytics FB 1

Contact

Name:
Lluis Antoni Quer Sardanyons
Email:
lluis.quer@uab.cat

Teaching groups languages

You can view this information at the end of this document.


Prerequisites

  • Calculus in One Variable
  • Introduction to Programming

It is also very necessary that the student reaches throughout the semester the contents of the subject Calculus in Various Variables, which is taken simultaneously.


Objectives and Contextualisation

What has in common a draw of the lottery, a clinical trial to experimentally evaluate the efficacy and/or safety of a new medical treatment, the weather forecast of rain in a specific area, the management of the inventory of a company, the transmission of genes from parents to children, the estimate of the size of the whale population, an epidemiological study on the incidence of a certain disease, the inspection of batches of products that a company manufactures to verify their quality, an experiment to study the effect of pressure and temperature on the result of a certain chemical reaction, or the effect of the use of different fertilizers in the agricultural production of a farm, ...?

These are real situations in which chance intervenes.

To study them and to be able to extract reliable conclusions, we must use a suitable mathematical model. This model is provided by the Probability, which is the mathematical theory that allows modeling random phenomena, that is, situations where chance acts.

The objective of this subject is to introduce the theory of Probability as a mathematical theory that studies the models that allow to deal with randomness. The topics that will be introduced and will be developed in this subject include basic contents of the theory of Probability (development of the mathematical model for random phenomena), although without using advanced elements of the Measure Theory that correspond to a deeper study of matter. But the emphasis will be on applications, when trying to find the best possible probabilistic model in a given real situation and, by using it appropriately, with the tools we will learn throughout the course, to extract valuable information, knowledge, and reach useful conclusions, because this is the objective that is sought when modeling is done.


Learning Outcomes

  1. CM05 (Competence) Design numerical, probabilistic algorithm and combinatorial algorithm solutions to solve real problems.
  2. CM05 (Competence) Design numerical, probabilistic algorithm and combinatorial algorithm solutions to solve real problems.
  3. KM02 (Knowledge) Distinguish the objects of calculus with functions and their properties and uses.
  4. KM04 (Knowledge) Describe the mathematical concepts and objects specific to probability.
  5. SM05 (Skill) Develop independent strategies to solve problems specific to numerical calculus, probability and graph theory.

Content

1. Modeling randomness: the probabilistic model.

  • Random phenomena and probability spaces.
  • Properties of the Probability. Probability and Odds.
  • Counting elements of a set: some combinatorics.
  • Conditioned probability and independence of events.
  • The Formula of Total Probability and the Bayes' Formula.
  • Evidence Evaluation and Bayes Formula: The Odds Ratio.


2. Random variables.

  • Introduction. Distribution function of a random variable.
  • Discrete random variables. Probability function. Examples
  • (Absolutely) continuous random variables. Density function. Examples.
  • Functions of a random variable.
  • Independence of random variables.


3. Mathematical Expectation, Variance and Moments.

  • Expectation of discrete random variables.
  • Expectation of (absolutely) continuous random variables.
  • Expectation and independence of random variables.
  • Variance of a random variable.
  • Covariance of two random variables. The (Pearson) correlation coefficient.
  • Moments of a random variable. Txevixev inequality.
  • Moment generating function.


4. Sequences of random variables.

  • Types of convergence.
  • Laws of large numbers (LLN).
  • The central limit theorem (TCL).


IMPORTANT: To include the gender perspective in the teaching of this subject, we have reviewed the
possible androcentric biases and questioned hidden gender assumptions and stereotypes.
This revision involves including in the contents of the subject, as far as possible, knowledge
produced by women scientists, often forgotten, seeking the recognition of
their contributions, as well as that of their works in the bibliographical references.


Activities and Methodology

Title Hours ECTS Learning Outcomes
Type: Directed      
Problems in the classroom 10 0.4
Theory in the classroom 27 1.08
Type: Supervised      
Practical sessions 12 0.48
Type: Autonomous      
Personal work 92 3.68

In this subject, it is not made the classic distinction in the face-to-face activities of: classes of theory, of problems and of practices with computer, but they will be combined according to the teaching needs in each moment, thanks to the facility that supposes the fact that students bring their own computer in class.

In this way, the teacher will introduce the concepts and examples, while when appropriate, the problems will be worked on in class, or the statistical software and R programming language will be used to carry out some practice related to the topic that is being studied in class. The aim is to use a comprehensive system that incorporates the three classical aspects of face-to-face activities in an optimal manner to facilitate student learning and achieve the objectives set, while making the class as participatory as possible, following the principle that you only learn what you are trying to do.

IMPORTANT: To work more comfortably with R, it is recommended to use the RStudio interface: it is free, "open source" and works with Windows, Mac and Linux.
https://www.rstudio.com/

REMARK: Although we have already discussed the gender perspective in teaching in previous sections, we go further by reviewing the teaching methodology and the interactions between students and teachers. In this sense, a participatory teaching methodology will be implemented, where an egalitarian, less hierarchical classroom environment is generated, avoiding stereotyped examples in gender and sexist vocabulary, with the aim of developing critical reasoning and respect for diversity and plurality of ideas, people and situations, it will be more favorable to the integration and full participation of the students.

Annotation: Within the schedule set by the centre or degree programme, 15 minutes of one class will be reserved for students to evaluate their lecturers and their courses or modules through questionnaires.


Assessment

Continous Assessment Activities

Title Weighting Hours ECTS Learning Outcomes
Continuous Assessment Test 0.30 3 0.12 CM05, KM02, KM04, SM05
Practice delivery 0.20 2 0.08 CM05, SM05
Problems exam 0.50 4 0.16 CM05, KM02, KM04, SM05

See the Catalan version


Bibliography

BASIC BIBLIOGRAPHY:

Bardina, Xavier. Càlcul de Probabilitats. Servei de Publicacions UAB, 2004.

DeGroot, Morris H., Schervish, Mark J. Probability and statistics. Pearson, 2012, 4th ed., international ed.

Devore, Jay L. Probabilidad y Estadística para ingeniería y ciencias. Cengage Learning, 2016

Julià, Olga; Márquez, David; Rovira, Carles i Sarrà, Mónica. Probabilitats: Problemes i més problemes.
Publicacions i edicions de la Universitat de Barcelona, 2005.

Kai Lai, Chung. Teoría elemental de la probabilidad y los procesos estocásticos. Reverté, cop., 1983.

Sanz-Solé, Marta. Probabilitats. Edicions de la Universitat de Barcelona, 1999.

COMPLEMENTARY BIBLIOGRAPHY:

Ross, Sheldon M. Introduction to Probability Models, Academic Press, 12th Edition. Elsevier, 2019.

Rao, C. Radhakrishna. Estadística y verdad. Aprovechando el azar. Colección Universitas-73. Serie Estadística y Análisis de datos. PPU, S.A., 1994.


Software

In this subject the R software will be used (https://cran.r-project.org/)
 
R is a programming environment consisting of a set of very flexible tools that can be easily expanded through packages, libraries, or by defining our own functions. It is also free and open source, an Open Source part of the GNU project, and this is one of its main advantages. Any user can download and create their code for free, without restrictions of use, the only rule is that the distribution is always free (GPL). Because it can freely access its code, R software has no limited functions, unlike other commercial statistical tools.
 
Preferably, we will use it using the RStudio platform (https://www.rstudio.com/)

Language list

Name Group Language Semester Turn
(PLAB) Practical laboratories 1 Catalan second semester morning-mixed
(SEM) Seminars 1 Catalan second semester morning-mixed
(TE) Theory 1 Catalan second semester morning-mixed