10  Fitting Models

Once a statistical model is fixed, the next question is how to fit its parameters to data. In practice it is not enough to find a minimum or a maximum: one also needs to understand which objective function is being optimized and how stable the solution is.

The full version of this chapter will host least squares, binned and unbinned fits, as well as convergence checks and goodness-of-fit diagnostics.

10.0.1 Companion notebook

A short placeholder notebook shows a toy straight-line fit to noisy points and sets up the computational style for this topic.