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.

Need help judging a result? Continue with Fitting for Practitioners. For derivations, use the Statistics Reference; for exact signatures and defaults, use the API Reference.