Physics 226 - Spring 2026
Statistical Methods for data analysis in (mostly) Particle Physics


MW 12:30-1:45 Ellison 2626


http://hep.ucsb.edu/people/claudio/ph226-26

(Don't forget to reload this page to see the latest)

Instructor:
Claudio Campagnari
Email:
claudio@physics.ucsb.edu
Office:
Broida 5125.  Phone 805-893-8802
Office Hours:
By appointment, or just drop by


Modern Particle Physics experiments rely heavily on statistical analyses.  As the experiments and the analyses grow in complexity, so do the statistical methods and the tools that are applied.  Some of the tools have evolved into poorly documented complex software black boxes that are often used blindly.  This course is a practical introduction to statistics aimed at providing a foundation towards the understanding of the methods that are commonly applied.  The material is a little bit slanted towards the LHC experience, but students involved in neutrino or dark matter physics should also profit.

There will be no final. There will be some homework for you to do. 

Announcements

Topics to be covered include:

Resources

Some of the Jupyter notebooks to make figure/plots/calculations mentioned in the Lecture Notes are linked below.
(The actual source code is also embedded in the pdf of the Lecture Notes)

However
: while everything worked perfectly in 2024, since then there have been changes in the various libraries that may have broken backward compatibility here and there.   I will check/fix possible problems as we proceed through the class.   Again, let me know what problems you find.
  • Jupyter notebook to calculate frequentist limits. Chapter 8.1 and 8.1.1, Figures 5 and 6Here.
  • Jupyter notebook to calculate the effect of systematic on Bayesian limits.   Chapter 14.1 and 14.1.1, Figures 31 and 32Here.
  • Jupyter notebook to generate random variables using the hybrid acceptance-rejection / CDF inversion method.  Chapter 15.2 and 15.2.1, Figure 36Here.
  • Jupyter notebook for MCMC example.  Chapter 15.3 and 15.3.1, Figure 37 Here.
  • Jupyter notebook for fit using linear algebra techniques. Chapter 20.3, Figures 40,41, 42.  Here.
  • Jupyter notebook for Minuit example. Chapter 24. Here.
  • Jupyter notebook for Bayesian and CLs Toy methods. Chapter 27.  Here.
  • Jupyter notebook for Asymptotic CLs method. Chapter 27. Here.

What is covered in each lecture


I will list here what material, from the lecture notes, is covered in each lecture, so that you can review and/or catch up if you miss a lecture.
Homework

Turn in your solutions in person, or slide them underneath my office door, or send them to me by email

Homework Due
Problems
Solutions
1
17 April
here
here
2
8 May
here
here
3
29 May
here
here
4
8 June
here
here