Mistake Master
Competing Function Model Validation
Fitting Is Cheap; Validation Is Earned
You'll learnto test which family a data set really supports, using two tests that can actually fail.
Any model can be forced through a point or two, and that is fitting rather than validating. Two tests that can fail decide which family deserves the data: the rate signature hiding in the table, and the shape the residuals make when you keep them in order. Watch three candidates compete over one data set, and watch a near-perfect fit turn out to say nothing at all about the far end of the graph. Twelve short steps; press Next for each one.
Read all 12 steps as text
Three models want the same data
Seven measurements, taken at equally spaced inputs, and three different families of curve that all run through the middle of them.
Two points cannot separate two families
Give a straight line and an exponential the same two points and both will oblige, because two points is exactly the number each of them needs to be pinned down.
Follow them and they part company
Keep going past the two points they were fitted to and the agreement falls apart immediately, which is the whole reason passing through a point is not evidence.
Subtract, and look for a repeat
The first real test reads the table rather than the picture: take each output away from the next and see whether the same number keeps coming back.
Subtract twice when once is not enough
Growing gaps rule out a line but leave two families standing, and subtracting the differences themselves is what separates them — an exact repeat there is a fingerprint no exponential leaves.
When subtracting fails, divide
The second test is the one the exponential family answers to: divide each output by the one before it, and a repeat there is the signature nothing else produces.
Actual minus predicted, in order
The second real test looks at what the model missed by: one number per data point, kept strictly in the order the data came in.
The leftovers make a shape
Replot those misses as bars above and below zero and they do not scatter: they bow through a smooth valley, which is the line being wrong in an organised way.
Both sets add to zero
Add either set of residuals up and the answer is zero, so the total says nothing whatever about which model is right — the only thing that separates them is the shape.
A fit stops where the data stopped
Return to the two families that agreed on two points and shade the region the measurements actually covered: inside it both are perfect, and the fit never asked about anything outside.
What the fit never tested
Past the edge of the shaded window the two predictions are not close and never become close again, and no amount of agreement inside it was ever evidence about out here.
Fitting is cheap; validation is earned
A full answer names the family, names the evidence that chose it, and says out loud where the data stopped — because every sentence that only reports a good fit is a fit talking, not a validation.