# Yule's autoregression (1927)

> The first autoregressive model, fitted to sunspot numbers, and the ancestor of every forecasting model since.

Page: https://mralbu.github.io/ai-datasets/p/yule-1927

## Key facts

- Title: On a Method of Investigating Periodicities in Disturbed Series, with special reference to Wolfer's Sunspot Numbers
- Authors: G. Udny Yule
- Venue: Philosophical Transactions of the Royal Society A
- Category: Time series
- Paper: https://royalsocietypublishing.org/doi/10.1098/rsta.1927.0007

## Why it matters

Predicting a series from its own past values is the basis of ARIMA, of the Box–Jenkins method, and in spirit of today's autoregressive neural forecasters and language models. The sunspot numbers Yule used are still a standard test series a century later.

## The idea

Picture a pendulum pelted by boys with peas: it swings with a natural rhythm, but each random hit disturbs it. Yule modeled each year's sunspot number as a linear function of the previous two years plus a random shock, an AR(2) model, instead of a sum of fixed sine waves.

## The result

The autoregressive fit described the irregular sunspot cycle better than the periodogram's fixed periods, and explained why the cycle's length and height drift.

## The data

- [Sunspot Number (1848)](https://mralbu.github.io/ai-datasets/d/sunspots.md): The daily count of spots on the Sun, recorded since 1818. Its 11-year cycle is the oldest benchmark in time-series analysis.

## Led to

- [Box–Jenkins (ARIMA) (1970)](https://mralbu.github.io/ai-datasets/p/box-jenkins.md)
- [DeepAR (2017)](https://mralbu.github.io/ai-datasets/p/deepar.md)

## Part of

- [Forecasting](https://mralbu.github.io/ai-datasets/t/forecasting.md) (step 1 of 7)
