# 86840 - PRACTICAL STATISTICS FOR PHYSICS AND ASTROPHYSICS

## Conoscenze e abilità da conseguire

Nontrivial data analysis problems are frequently encountered in modern astronomy, cosmology and physics. They require an understanding of statistical methods, practical skills with software tools and sometimes some ingenuity that comes with experience. The student will gain a practical knowledge of statistical methods and software as applied to many example problems. Basic probability theory will be covered before learning about Bayesian and frequentest inference problems, Monte Carlo techniques, Fisher matrices, random fields, parameter estimation, non-parametric tests, hypothesis testing, and supervised and unsupervised classification and regression problems. The student will become familiar with current software in Python for analysing data and fitting models while getting an understanding of the theory behind them.

## Programma/Contenuti

Starting with basic probability theory and the classical probability distributions, the course will move on to the theory and practice of modern statistical methods that are widely used in physics and astronomy today. Analytic methods for curve fitting and frequentist parameter estimation will be covered. Numerical Monte Carlo and bootstrap methods will be covered. Then Bayesian inference methods and numerical methods for solving them will be studied. We will then move on to random fields and estimating correlation functions and power spectra from irregularly sampled data. Then image reconstruction from noisy data, Wiener filtering, maximum entropy and deconvolution methods.Finally, if time permits, we will introduce machine learning class and regression methods.

The laboratory part of the course will start with a general introduction to python if needed and then cover the libraries by numpy, scikit and scikit-learn through example projects. The lab will follow the lecture material with practical examples to workout.

1. Random Variable

2. Classic probability distributions

3. The likelihood function and Fisher matrix

4. Bayesian statistic vs. Frequentist

5. fitting parameters

6. Non-parametric tests Frequentist

7. Random Fields

8. Image reconstruction and map making

9. Numerical methods for the Bayesian Inference problem

10. Model fitting from a machine learning or data science prospective.

## Testi/Bibliografia

Lecture notes will the the most important.

Reference texts:

DeGroot and Schervish, Probability and Statistics, Addison Wesley
P. Gregory, Bayesian Logical Data Analysis for the Physical Sciences, Cambridge University Press

## Metodi didattici

The course will consist of a combination of lectures to introduce theory and a computer lab where practical skill will be developed.

Oral Exams.

## Strumenti a supporto della didattica

Blackboard, video projector, and computer lab.