Grade 12 · Week 05 · Tuesday · Day 02

Residuals: The Difference Matters

Learning objective: Compute signed residuals and explain why patterns diagnose model mismatch.

45–60 minutes · Offline-capable · Public practice, not a supervised examination

Read and reason

Define residual before interpreting

For each time, compute residual r = measured position − predicted position. If a model predicts 5.0 m when the data point is 5.3 m, residual is +0.3 m. If it predicts 5.6 m instead, residual is −0.3 m. The sign matters: it tells you whether the model is underpredicting or overpredicting. Do not take an absolute value before studying the pattern.

Patterns can expose a wrong model

Suppose a cart truly follows a curved position trend. A best-fit straight line may underestimate at the ends and overestimate near the middle, producing a U-shaped residual pattern. A fitted quadratic can better capture the curvature in these specific synthetic cases. However, extra model parameters always improve or maintain in-sample least-squares error, so lower error by itself is not proof of a better underlying physical law.

Units and transparency

Residuals of position are measured in meters. Residuals from a velocity graph would have m/s units. Keep an original copy of the observations. Don't secretly change data values to improve a model fit. Plot residual versus time with a labeled zero line, and explain whether large residuals occur at particular times or are scattered without an obvious pattern.

Use the comparison responsibly

Scientists may compare the root-mean-square error (RMSE), the square root of the average squared residual. The units match the measured quantity. It measures training-data fit, not necessarily predictive truth. A fair model comparison also considers the number of parameters, mechanistic plausibility, measurement uncertainty and results on unseen data. This week's simulator includes a held-out point to discourage choosing a more flexible equation solely by its in-sample RMSE.

Vocabulary in context

residual
Observed position minus predicted position, in meters.
error
Difference between prediction/measurement and a reference, depending on context.
fit
The agreement between a model and a set of data under an explicit criterion.
scatter
The spread of recorded values around a trend.
systematic pattern
A nonrandom structure in residuals that may reveal model mismatch.

Use every term in a short original sentence or model explanation.

Worked example

Measured x=5.3 m, predicted x=5.0 m: residual +0.3 m. A second model predicts x=5.6 m: residual −0.3 m. Both have absolute residual 0.3 m at this one point; you need all trials to compare models.

Show substitutions, signs and SI units in your own notebook.

Independent science notebook

Compute four signed residuals from the supplied data for a chosen model. Explain what the residual sign means and whether a consistent pattern appears.

Your work stays in the local browser when possible. Export your notebook for backup.

Daily retrieval practice · four questions

Open-book practice with feedback and an 80% correction target. Randomized answers do not constitute a confidential official exam.

Continue

Select an artifact for your evidence portfolio. Explain what it supports and one factor it cannot establish.