Understand: Where Does the Fit Break?
Optional arithmetic and percentage refresher — return to this activity
Interpolation predicts within a fitting range; extrapolation goes outside it. Residual patterns reveal systematic errors hidden by an average. Under the observed-minus-predicted convention, a positive residual means the model predicts too low.
Cooling comparison: synthetic measurement pack v1
All people, records and numbers in this pack are authored teaching examples. They are not records or performance claims about real organizations.
- S1 · At minutes 0–6, authored temperatures are 80, 68, 59, 51, 45, 40, 36 °C. They simulate an experiment, not physical measurements. Each value has a stated ±1 °C reading interval for the exercise.
- S2 · Initial temperature is 80 °C; recorded room temperature is 20 °C. A simplified baseline retains 0.8 of excess temperature each minute: T(t)=A+(80−A)×0.8^t. A is assumed room temperature in °C; t is whole minutes; T is predicted °C. The exponent 0.8^t means multiplying by 0.8 once for each minute; at t=0 the factor is 1. The fraction 0.8 is supplied, not fitted on monitoring data.
- S3 · A straight line is fitted by least squares to minutes 0–3 only. Least squares minimizes summed squared training residuals. Its slope is −9.6 °C/min and intercept 78.9 °C.
- S4 · Minutes 4–6 are exposed monitoring cases outside the fitting interval, not an untouched test. Residual = observation − prediction; MAE = mean absolute residual. The reading interval is not automatically a confidence interval.
- S5 · The physical form assumes a stable environment and cooling fraction. Changed cup, airflow or room temperature can invalidate it. A line extrapolated far enough can predict below room temperature.
- S6 · The downloadable standard-library Python starter records input identity, configuration, row roles, runtime, coefficients and errors. No random step is used, so no seed is required. Exact bytes across every platform are not promised.
Worked example
At minute 6 the line predicts 78.9−9.6×6=21.3 °C; observation is 36, so residual is +14.7 °C. The physical baseline at A=20 predicts about 35.73 °C. That comparison favors the baseline here, not in every cup or environment. Extrapolating the line far enough would predict below room temperature.
Your next action
Inspect monitoring rows 4–6 and the common-scale plot. Describe the residual trend, change A to 25 and name the assumption being varied. Propose a genuinely new measurement condition.
These are authored public practice cases. Retain your reasoning and uncertainty. A completed page does not establish independent proficiency.
Authored explanation · fixed examples, not a live experiment.
The fit ends at minute 3
→Later line predictions increasingly undershoot
→Test changed conditions before broadening the claim
Where does the model stop matching the evidence?