Degree | Type | Year |
---|---|---|
Physics | OB | 2 |
You can view this information at the end of this document.
There are no special requirements in terms of physics lessons previously taken. It is convenient to have passed calculus from the first semester of the degree. It is recommended to get used to Python programming techniques and review the basics of programming (we will give indications and material along the course). Other necessary mathematical techniques are part of the subject and will be reviewed during the course.
In this course, basic concepts of probability theory and statistics are introduced, as well as fundamental notions of Python programming.
Physics is ultimately an experimental science, based on measurements made in scientific experiments. These measures are inevitably subject to errors that must be quantified, sometimes in form of parameters with their errors, others as levels of confidence, or on the basis of other concepts. In all the experimental sciences a similar process is carried out and the tool to do it in a rigorous way is the branch of mathematics called Statistics.
As physicists we have to invest a minimum of intellectual effort in understanding clearly the basic concepts of Statistics. This is valid both for the experimental physicists who carry out the measurements, and for the theorists who try to elaborate models or theories that explain the measurements. The language and concepts about probability theory are also essential in some of the foundations of physics, specifically in Quantum Mechanics and Statistical Mechanics. Familiarity with these concepts is necessary to address these disciplines.
In order to face and understand many of the concepts that we will learn in class, we will do some practical sessions using modern programming tools in modern languages, in particular Python programming on Jupyter Notebooks. Being aware of the little or no experience in programming, sufficient material is provided to be able to reach some elementary notions of programming in advance. The practices are arranged in order of increasing difficulty, from very elementary numerical methods (integration, derivatives), to cover many of the aspects that will have been explained in the theoretical part of the subject. We will review the basic data structures, as well as the fundamental control structures, and we will use the Python libraries commonly used in current physical-mathematical problems.
Section 1. Theory of probability.
Chapter 1. Probability and Statistics, basic concepts.
The concept of probability and its interpretation. The frequentist and Bayesian schools. Axiomatic theory of probability. Probability distributions, concepts of probability density, mean, variance and other moments.
Chapter 2. Conditional Probability. Distributions of several variables
Distributions of several variables, conditional probability, marginal distributions. Correlation and covariance. Changes of variable.
Chapter 3. Most frequent probability distributions
Binomial, Multinomial, Hypergeometric, Poisson, Exponential, Normal and Gauss distributions. Properties of the Gaussian distribution in one and several variables. The Chi-2 distribution, the t-Student distribution, the Cauchy, Gamma and Landau distributions.
Chapter 4. The Monte Carlo method
Random numbers, Integration by Monte Carlo, the procedures of acceptance-rejection and transformation of variables.
Section 2. Statistical inference.
Chapter 5. Sampling a statistical population
The concepts of sample and estimator. Estimators of parameters of a population. Elementary examples
Chapter 6. The Maximum Likelihood Method
Likelihood concept. Variance of an estimator. The level of Cramer-Rao-Fréchet. Estimators of minimum variance. Applications of the method.
Chapter 7. Applications of the Maximum Likelihood Method
Examples of application of the Maximum Likelihood method. The method of Least Squares.
Chapter 8. Hypothesistesting
Contrast goodness adjustment. Lemma by Neyman-Pearson. Altrest tests. Examples Statistical Errors, Confidence Intervals, Limits.
Section 3. Programming.
Programming in Python. Use of Jupyter Notebooks and virtual machines in Google (Google Colab).
Basic control structures in programming.
Use of the Python libraries most frequently used in Science Date.
Practical sessions of numerical methods in increasing order of difficulty: numerical integration (MonteCarlo method), transformation method, central limit theorem, confidence intervals, correlation factor, maximum likelihood method, Kolmogorov-Smirnov method, ...
Title | Hours | ECTS | Learning Outcomes |
---|---|---|---|
Type: Directed | |||
Practical lessons | 13 | 0.52 | 1, 2, 4, 9 |
Theory lessons | 12 | 0.48 | 4, 7, 6, 9 |
Type: Autonomous | |||
Assignments | 21 | 0.84 | 1, 4, 7, 6 |
Personal study | 18.5 | 0.74 | 1, 2, 4, 7, 6, 9 |
Theoretical lessons with discussions in class.
Execution of example problems.
Assignment of problems and corrections in class.
Possibility of discussion by electronic means.
Consultations with the teachers of the subject.
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.
Title | Weighting | Hours | ECTS | Learning Outcomes |
---|---|---|---|---|
Evaluation and discussion of assignments | 30 | 3 | 0.12 | 4, 7, 6, 8, 9, 10 |
Partial exam Probability and Statistics | 35 | 2.5 | 0.1 | 1, 2, 3, 4, 5, 7, 10 |
Partial exam programming | 35 | 2.5 | 0.1 | 1, 2, 4, 7, 10 |
Recovery exam | 100 | 2.5 | 0.1 | 1, 2, 3, 4, 5, 7, 10 |
30% Score: Evaluation and discussion of assigned problems. (15% first part - 15% second part)
70% Score: Partial exams.
Attendance to the practical sessions is mandatory. At the end of each practical class, students must submit their results for evaluation.
In this course, the use of Artificial Intelligence (AI) technologies is not allowed at any stage. Any work that includes AI-generated content will be considered a breach of academic integrity and may result in partial or full loss of marks for the activity, or more severe penalties in serious cases. During the practical sessions and the exam for the second part of the course, students are allowed to consult websites, Python documentation, and past submissions, but AI assistance is strictly prohibited.
To average the two parts of the course, a grade higher than 3.5 out of 10 is required in each part. There is a resit exam for students who do not pass through the midterms or wish to improve their grade. Participation in the resit exam is only allowed if both midterms have been taken. In the resit exam, previous submissions or practical work will not be considered. For example, if a student scores 10 on assignments and 4 on the exam in the first part, the total grade for that part is 0.3×10 + 0.7×4 = 5.8 out of 10. In the resit exam, they aim to improve the 5.8, not just the 4 from the partial exam.
Single Evaluation
This course does not offer a single evaluation system.
S. Brandt, "Statistical and Computational Methods in Data Analysis", North-Holland Publishing Co., 3rd printing, 1978
Glen Cowan, "Statistical Data Analysis", Oxford Univ. Press, 1998, ISBN 0198501552
Detailed notes of the teacher that will be available on the Virtual Campus.
Python preparation course: https://github.com/joseflix/DocenciaUAB/tree/master/MN1/2019-2020/CursPython
For the practical part, we will use a computer, with a browser to access Google Colab and do the work in a Python environment in the cloud.
Please note that this information is provisional until 30 November 2025. You can check it through this link. To consult the language you will need to enter the CODE of the subject.
Name | Group | Language | Semester | Turn |
---|---|---|---|---|
(PLAB) Practical laboratories | 1 | Catalan | second semester | morning-mixed |
(PLAB) Practical laboratories | 2 | Catalan | second semester | morning-mixed |
(PLAB) Practical laboratories | 3 | Catalan | second semester | morning-mixed |
(PLAB) Practical laboratories | 4 | Catalan | second semester | morning-mixed |
(TE) Theory | 1 | Catalan | second semester | morning-mixed |