Statistics and Data Analysis for Physicists

These notes are a practical introduction to statistics for physicists, organized around two directions of probability: from models to data, and from data back to models and parameters.

The book is built around the questions physicists actually ask: How do we describe uncertainty? Estimate quantities from data? Decide whether a signal is present? Set limits? Infer parameters? Simulate data and extract information from observations?

The first part develops probability, distributions, estimation, likelihoods, hypothesis testing, limits, and Bayesian inference. Physics toolkits then introduce the essentials of cosmology and weak lensing, astrophysics and gravitational waves, the microwave sky, and collider physics.

The later chapters turn these ideas into practical tools: Monte Carlo methods, correlation functions, power spectra, CMB simulations, MCMC, Fisher forecasting, and applications to galaxy surveys and the local Universe. The final chapters move beyond two-point statistics to topological analysis and complete analyses of Planck sky maps, SDSS galaxies, and a Higgs search.

Download the notes (PDF)

Python cheat sheet (PDF): the Python the book’s code uses, on a few pages.

Source on GitHub: the LaTeX source, the Python script behind every figure and number, and the figures.