Lesson 3 of 3 · Matched model comparisons
Test the same observable
16 minute lesson · 3 checks along the way
Your goal for this lessonApply a stated measurement rule to model output, compare complementary residual metrics and separate calibration from testing.
In this lesson 6 sections · 3 checks
Read & understand
A model must predict something an instrument can test
GGS incorporated theory and global models into its scientific design. A model can connect widely separated observations and ask how a physical process might produce their pattern. But a simulated value at a grid point is not automatically the same observable as an instrument’s output. Comparisons need a declared position, time support, units, coordinate frame and measurement rule.
The examples below use invented magnetic-field magnitudes and a deliberately simple detector. They are neither GGS event results nor a specification of its processing software. Modern NASA CCMC validation work provides a useful general principle: compare corresponding modeled and observed quantities, retain dataset caveats and avoid treating a tiny example as broad validation.
A successful comparison supports a model under the tested conditions. It does not make observations error-free, identify a unique physical cause or establish performance across every region of geospace.
Read & understand
Pass the model through the measurement rule
Our fictional detector reports the arithmetic mean of each successive pair of samples. Suppose the model’s eight samples are 0, 4, 4, 8, 8, 12, 4 and 8 nT. Applying that stated rule gives four predicted reports: 2, 6, 10 and 6 nT. If the detector reports those same four values, the matched residuals are all zero.
Now compare each observed report with only the second sample of its pair. The selected model values are 4, 8, 12 and 8 nT, two nanotesla above every observed report. That apparent offset was created by comparing endpoint samples with two-sample averages. The model did not change; the definition of the comparison did.
This simple response is exact only because we specified it. An actual instrument can average over an integration interval, weight directions or energies differently, blur a feature or respond nonlinearly. Obtain its documented response before constructing the modeled observable. The partial-bin lesson also applies: a convenient interpolation is an assumption if the model output does not resolve what the observation integrates.
Keep any position matching and time shifting explicit. A value sampled elsewhere, or a time tag already shifted to a reference location, needs its own treatment. Do not tune a shift until curves look similar and then silently count that agreement as an independent prediction.
Read & understand
Signed errors and squared errors answer different questions
For the next comparison, assume that all four bins are already matched correctly. The observations are 2, 6, 10 and 6 nT. Model P predicts 4, 8, 12 and 8 nT. Define residual as model minus observation: P’s residuals are 2, 2, 2 and 2 nT. Its bias, the arithmetic mean residual, is +2 nT.
Root mean squared error, RMSE, squares each residual, averages those squares and takes the square root. P’s RMSE is √((4 + 4 + 4 + 4) / 4) = 2 nT. We divide by the number of evaluated pairs, four; this score is not a sample-variance estimate with denominator three.
Model Q predicts 2, 10, 6 and 6 nT, giving residuals 0, 4, −4 and 0. Its bias is zero because positive and negative errors cancel. Its RMSE is √((0 + 16 + 16 + 0) / 4) = √8, about 2.83 nT. P has the lower RMSE on this table even though Q has the smaller absolute bias.
Both models have mean absolute error 2 nT. Squaring gives large residuals more weight than taking absolute values, so the scores can distinguish different aspects of performance. Select metrics for the question and report the residual pattern. Do not choose whichever score makes a preferred model appear best.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Perfect correlation is not perfect agreement
P’s four predictions are exactly the observations plus 2 nT. Their Pearson correlation is one: the variation around each series’ own mean is identical. Yet every predicted value is too high by 2 nT. Correlation describes co-variation after centering and scaling; it does not require equality of the original values.
For comparison, Q’s correlation with these observations is 0.5. Neither correlation tells the whole story already visible in the residual table. Bias reveals the consistent offset; RMSE combines the offset and residual spread; the time ordering reveals where the deviations occur. Different metrics are complementary descriptions, not interchangeable stamps of correctness.
These tiny examples also have no uncertainty model. Real observations can have calibration uncertainty, finite response and correlated errors. A discrepancy needs to be interpreted alongside those limits. Conversely, a close match cannot identify a unique causal mechanism if different physical models make similar predictions for the same small set of observations.
Agreement needs more than correlation
Original diagram using fictional matched model–observation pairs. Residual means model minus observation, and RMSE uses all four squared residuals with denominator four. P’s perfect correlation does not remove its offset; Q’s positive and negative residuals cancel in bias, but remain in RMSE. These scores describe this small table only.
Open full-size diagram in a new tab: Agreement needs more than correlationCheck 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep fitting and testing separate
Suppose a model has a correctable additive offset. In a training interval, observations are 2 and 6 nT while predictions are 4 and 8 nT. The mean training residual is +2 nT. We decide to subtract 2 nT from future predictions and freeze that correction before looking at a separate test interval.
The held-out observations are 10 and 6 nT; the uncorrected predictions are 13 and 7 nT. Applying the frozen correction gives 11 and 5 nT. The test residuals are +1 and −1 nT, with zero bias and RMSE 1 nT. Zero bias still does not mean an exact fit. Here the two nonzero residuals cancel only in the signed average.
If we tune the correction, the time shift, the selection rule or the model itself after examining those test values, that interval has helped fit the result. We should describe that use honestly and reserve other data for a fresh test. A boundary between training and testing is a claim about which information influenced the choices, not merely a label attached to a plot.
Two held-out values are enough to demonstrate the calculation, not to establish reliable performance. Test multiple appropriate intervals and conditions, keep exclusions consistent, and compare against a sensible reference. An improved average score may still conceal failures in the cases that matter most.
Read & understand
Make the comparison reconstructable
A useful result carries a trail from the original observation to the reported score. Identify product versions, calibration and quality rules; record locations, time definitions and coordinate conversions; state the measurement rule applied to model output. Preserve the uncorrected predictions, any correction fitted elsewhere, the evaluation pairs and their residuals.
Return to the three examples as a connected workflow. Valid exposure prevents a gap from becoming an invented quiet interval. Common axes prevent coordinate labels from becoming an invented field change. A matched measurement rule prevents temporal averaging from becoming an invented model error. Only then do residual metrics address the model–observation relationship you intended to test.
The GGS program’s combination of measurements, theory and data handling makes these connections worth learning. Its mission records explain where the observations came from; its data documentation explains what the numbers mean; explicit tests show which interpretations survive comparison. Keep the conditions visible so that a promising explanation can be checked, challenged and improved.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: The Global Geospace Science Program and its InvestigationsRead the program’s original scientific and data-handling design. Its discussion of preliminary Key Parameters describes that historical system, not every modern product with the same abbreviation.
- Read: NASA CCMC: SEP model validation frameworkExplore a modern NASA model-validation framework and its cautions about matching quantities and interpreting limited datasets. This SEP framework is separate from GGS’s historical processing system.