Interactive model — experiment with these parameters in µGauss

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.

The monthly totals of international airline passengers from 1949 to 1960, in thousands, come from the Box, Jenkins, and Reinsel series in Rdatasets. A yearly cycle rides on a rising baseline while the seasonal swing widens with the level. An additive periodic kernel assumes constant variance, whereas multiplying the signal terms by $(s - c)(t - c)$ scales the standard deviation linearly from an origin $c$:

$$ \begin{aligned} k(s,t) ={}& (s - c)(t - c)\,a^2\,k_{\mathrm{Per}}(s,t) \\ &+ (s - c)(t - c)\,b^2\,k_{\mathrm{SE}}(s,t) \\ &+ \sigma_\varepsilon^2\,\delta(s,t) , \end{aligned} $$

written (Per(p, lp, a) + RBF(l, b)) * Lin(c) + WN(n). The mean formula is m0 + m1 * (t - 1955), with the period $p$ fixed at one year and the linear origin $c$ fixed at $1945$. Fitting by marginal likelihood yields a log likelihood of $-568.6$ and a BIC of $1172$.

NameMeaningValueStandard error
aamplitude of the periodic term$3.51$$0.99$
lpshape of the yearly pattern$0.59$$0.09$
bamplitude of the smooth term$1.76$$0.23$
llength scale of the smooth term$0.21$ years$0.02$
nnoise standard deviation$6.66$$0.57$
m0mean in 1955$280$$18$
m1slope of the mean$29.5$ per year$2.0$

Of the 4 optimizer restarts, 2 reached $-568.6$, while the other two stopped at $-590.2$.

Run this in µGauss

Open µGauss with this model pre-loaded to inspect the fit, forecast, and parameter sensitivities, or adjust the kernel and refit:

Monthly airline passengers from 1949 showing a yearly cycle whose swing widens over time, with the fitted mean tracking the data and forecasts continuing the growing cycle beyond 1960 Monthly airline passengers from 1949 showing a yearly cycle whose swing widens over time, with the fitted mean tracking the data and forecasts continuing the growing cycle beyond 1960
The airline passengers with the product kernel. The seasonal swing widens both inside the sample and across the forecast.

Scaling of the seasonal amplitude

For any deterministic multiplier $h(t)$ and base kernel $k(s,t)$, $h(s)\,h(t)\,k(s,t)$ is the covariance of $h(t)\,f(t)$ when $f$ has covariance $k$. Taking $h(t) = t - c$ rescales the latent process by $t - c$, giving a standard deviation proportional to elapsed time since $c$. Because both unit-variance terms start at unit scale at zero lag,

$$ \operatorname{sd}\,x(t) = \sqrt{a^2 + b^2}\,(t - c) = 3.92\,(t - 1945) . $$

The mean rises linearly over the same span, keeping amplitude and level roughly proportional:

YearMeanStandard deviation of the processRatio
$1950$$133$$19.6$$0.148$
$1955$$280$$39.2$$0.140$
$1960$$427$$58.9$$0.138$

The standard deviation remains near 14% of the mean across both ends of the series, capturing multiplicative seasonality with one linear factor.

Product versus additive seasonality

Removing the Lin(c) multiplier keeps the same periodic and smooth components at constant variance over time.

KernelLog likelihoodBICNoise standard deviation
Product with Lin(c)$-568.6$$1172$$6.7$
Additive$-678.0$$1391$$23.0$

Because $c$ is fixed at $1945$, both specifications carry the same parameter count. Multiplying by Lin(c) reduces the BIC by $219$ and cuts the residual noise standard deviation from $23.0$ to $6.7$.

Related notes: Periodic times linear kernel on Arctic sea ice extent, Changepoint kernel with a tanh switch. Valid kernel operations appear in the µGauss reference, and covariance algebra is covered in Gaussian process regression with symbolic kernels.