Scope note: This note fits a statistical model to a published series to show how a kernel represents structure. The forecast extrapolates that model. It is not a projection from the physics, ecology or economics of the series, and the series is used as published, without the corrections a domain analysis would apply.
Monthly mean carbon dioxide concentration at Mauna Loa from 1958, from the NOAA Global Monitoring Laboratory, is fitted with the modulated seasonal and rational quadratic kernel described in the CO2 model note under polynomial trend degrees $1$ and $2$. A linear trend cannot track the accelerating rise of the record. Yet leave-one-out residuals—shown on the diagnostics tab in µGauss—exhibit no visible drift with time when comparing the wrong degree against the right one.
Closed-form leave-one-out residuals
Given the full noisy covariance matrix $K$ and mean residual $r = y - \mu$, exact leave-one-out prediction error and predictive variance at index $i$ require only one matrix inversion:
$$ \begin{aligned} r_i^{\mathrm{loo}} &= \frac{\left(K^{-1} r\right)_i}{\left(K^{-1}\right)_{ii}} , \\ v_i^{\mathrm{loo}} &= \frac{1}{\left(K^{-1}\right)_{ii}} . \end{aligned} $$The standardized residual $z_i = \frac{r_i^{\mathrm{loo}}}{\sqrt{v_i^{\mathrm{loo}}}}$ should follow a standard normal distribution under a well-specified model, with roughly 5% exceeding $\pm 2$ and zero correlation with time.
Run this in µGauss
Open µGauss with these models pre-loaded and inspect the leave-one-out plots under the Diagnostics tab:
- Open the model with a trend of degree 1 in µGauss ↗
- Open the model with a trend of degree 2 in µGauss ↗
Identical residuals across polynomial degrees


Visually, the two diagnostic plots are indistinguishable. Summary metrics across both CO2 and the NASA GISS GISTEMP global temperature anomalies confirm the pattern:
| Series and degree | Outside $\pm 2$ | Largest $\lvert z \rvert$ | Correlation with time | BIC |
|---|---|---|---|---|
| CO2, degree $1$ | $3.9\%$ | $3.75$ | $0.0008$ | $483.8$ |
| CO2, degree $2$ | $4.3\%$ | $3.51$ | $0.0008$ | $430.0$ |
| CO2, degree $3$ | $4.3\%$ | $3.51$ | $0.0008$ | $435.6$ |
| Temperature anomalies, degree $0$ | $4.8\%$ | $3.83$ | $0.012$ | |
| Temperature anomalies, degree $1$ | $4.3\%$ | $3.86$ | $0.0009$ | |
| Temperature anomalies, degree $2$ | $4.7\%$ | $3.85$ | $0.0008$ |
Every model lands near 4%–5% beyond $\pm 2$ with time correlation below $0.02$. Only the BIC clearly separates degree $2$ at $430.0$ from degree $1$ at $483.8$ on CO2, a margin of $53.8$ points.
Why interpolation misses extrapolation faults
Each leave-one-out residual predicts an interior observation flanked closely on both sides by neighboring data. Inside the training span, flexible covariance components—the rational quadratic term and long-scale modulated seasonality—absorb whatever curvature the polynomial trend omits, letting local interpolation look nearly exact. Trend degree governs extrapolation past the end of the sample, where neighboring points disappear and leave-one-out residuals give no signal. Evaluating forecasts directly reverses that blind spot: on held-out CO2 data, a nominal 90% band achieves only 29% coverage under degree $1$ against 75% in rigid mode under degree $2$.
Related notes: Matérn 3/2 kernel and the degree of the trend on global temperature anomalies, Held-out coverage of forecast bands by trend degree and mode. Diagnostic formulas appear in Gaussian process regression with symbolic kernels.