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 total sunspot numbers from 1749 come from WDC-SILSO at the Royal Observatory of Belgium, thinned evenly to $600$ points. Fitted with Per(p, lp, a) * RBF(l) + WN(n), a constant mean, and $p \in [8, 14]$ years, the profile log likelihood over period $p$,
pins $p$ at candidate values while optimizing all remaining hyperparameters, exposing both the valid solar-cycle peak and competing local maxima.
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:
- Open the fit with the period free in µGauss ↗. Fixing
p = 13in the parameters table reproduces one row of the profile below.
Profile across fixed periods
| Fixed $p$ in years | Log likelihood | $\ell_p$ | $\ell$ in years |
|---|---|---|---|
| $8$ | $-2972$ | $6.84$ | $1.97$ |
| $9$ | $-2972$ | $6.47$ | $1.96$ |
| $10$ | $-2952$ | $1.17$ | $9.36$ |
| $10.45$ | $-2949$ | $1.18$ | $9.57$ |
| $11$ | $-2952$ | $1.14$ | $9.18$ |
| $12$ | $-2962$ | $1.07$ | $8.02$ |
| $13$ | $-2969$ | $0.99$ | $6.87$ |
| $14$ | $-2972$ | $6.71$ | $1.93$ |
Unconstrained optimization places the peak at $p = 10.45 \pm 0.19$ years. Stepping away from the peak drops log likelihood by $3$ at $10$ or $11$ years, $13$ at $12$ years, and $20$ at $13$ years.
Non-periodic plateau at mismatched periods
At $p = 8$, $9$, and $14$ years, the profile flattens onto an identical floor of $-2972$. In each case, $\ell_p$ inflates to $6.5$–$6.8$ compared with roughly $1.1$ near the optimum. Inspecting the periodic kernel,
$$ k_{\mathrm{per}}(s,t) = a^2 \exp\!\left(-\frac{2\sin^2\left(\frac{\pi\lvert s-t\rvert}{p}\right)}{\ell_p^2}\right) , $$shows that large $\ell_p$ drives the exponent toward zero uniformly for all lags, flattening $k_{\mathrm{per}}$ into a constant $a^2$. Its product with RBF(l) collapses into a pure squared exponential with short length scale $\ell \approx 1.9$–$2.0$ years, disconnecting $p$ from the covariance altogether. Rather than forcing a badly phased oscillation, the optimizer switches periodicity off, establishing $-2972$ as the non-periodic baseline, $23$ log-likelihood units below the periodic optimum.
Avoiding local optima with multi-start search
Because that flat plateau forms an independent basin of attraction, a single local run starting near a mismatched period can get trapped there. µGauss therefore runs multiple optimizer restarts from distinct starting guesses and retains the highest log likelihood, with $2$ of $8$ restarts locating the $-2949$ optimum on sunspots. Any fitted model reporting an off-cycle period like $9$ years paired with inflated $\ell_p$ signals convergence to the non-periodic plateau rather than a true cycle.
Related notes: Periodic kernel with a squared exponential envelope on sunspot numbers, Quasi-periodic kernels with Gaussian and exponential envelopes. Multi-start search settings are described in the µGauss reference.