Fitting and Hypothesis testing
• The c2 test
• Likelihood functions
• Fitting
• Binned maximum likelihood
• Unbinned maximum likelihood
Statistics and Data Analysis (HEP)
Prof. dr hab. Elżbieta Richter-Wąs
Follow the course/slides from M. A. Thomson lectures at Cambridge University
2
Introduction
3
The Chi-Squared Statistic
4 1.5
5
The Chi-Squared Statistic in higher dimensions
6
7
8
9
Properties of chi-squared
10
11
Example
12
13
14
Log-Likelihood
15
16
Relationship between chi-squared and likelihood
17
Chi-Squared Fitting: Gaussian Errors
18
19
Goodness of Fit
20
Example: Straight line fitting
21
22
23
Binned Maximum Likelihood Fits
24
25
26
Example
27
Binned Maximum Likelihood: Goodness of Fit
28
29
30
Unbinned Maximum Likelihood Fits
31
32
Another Example
33
34
Extended Maximum Likelihood Fits
35
36
Fitting Summary
37
Appendix: The Error Function
38
39