Worked Examples

What do the uncertainties mean? Measurement errors describe the assumed observation distribution. Reported parameter errors come from a quadratic approximation of the cost function around the best fit; profile-likelihood scans show where that approximation breaks down. A confidence band for the fitted model shows the uncertainty of the curve, not the scatter of future measurements; request band=:prediction when that scatter is wanted. ScientificFitting uses optimization, not posterior sampling. The Statistics Reference explains these distinctions and the assumptions behind interval coverage (how often such intervals contain the true value).

Start with the Quickstart, a linear calibration, for the shortest complete analysis, or choose the example closest to your data below. Every page contains the measurements, assumptions, executable code, actual program output, diagnostics, and scientific interpretation.