238. A-A-N

Holt’s linear trend

ETS(𝐴,𝐴,𝑁)𝑥𝑡=𝑙𝑡−1+𝑏𝑡−1+𝜀𝑡𝑙𝑡=𝑙𝑡−1+𝑏𝑡−1+𝛼𝜀𝑡𝑏𝑡=𝑏𝑡−1+𝛽𝜀𝑡𝑥̂𝑡+ℎ|𝑡=𝑙𝑡+ℎ𝑏𝑡
Example: ETS(𝐴,𝐴,𝑁)

Given

  • Smoothing parameters: 𝛼=0.5, 𝛽=0.4
  • Initial states: 𝑙0=12, 𝑏0=0.5
  • Data:
𝑡12345678910111213141516
x𝑡121081114129131614111518161317

Step 1 — formula

Observation:

𝑥𝑡=𝑙𝑡−1+𝑏𝑡−1+𝜀𝑡

Conditional mean (one-step-ahead forecast 𝑥̂𝑡|𝑡−1=𝜇𝑡):

𝜇𝑡=𝑙𝑡−1+𝑏𝑡−1

Innovation:

𝜀𝑡=𝑥𝑡−𝜇𝑡

State updates:

𝑙𝑡=𝑙𝑡−1+𝑏𝑡−1+𝛼𝜀𝑡𝑏𝑡=𝑏𝑡−1+𝛽𝜀𝑡

Forecast ℎ steps ahead from time 𝑡 (using current-period states):

𝑥̂𝑡+ℎ|𝑡=𝑙𝑡+ℎ𝑏𝑡

where ℎ∈{1,2,3,…} is the forecast horizon (how many steps ahead).

Step 2 — apply at 𝑡=1

𝜇1=12+0.5=12.5𝜀1=𝑥1−𝜇1=12−12.5=−0.5𝑙1=12+0.5+0.5⋅(−0.5)=12.25𝑏1=0.5+0.4⋅(−0.5)=0.3

Step 3 — iterate

Each column header is the equation that produced its values. Values rounded to 4 decimal places; arithmetic performed at full precision.

𝑡𝑥𝑡𝜇𝑡=𝑙𝑡−1+𝑏𝑡−1𝜀𝑡𝑙𝑡=𝑙𝑡−1+𝑏𝑡−1+𝛼𝜀𝑡𝑏𝑡=𝑏𝑡−1+𝛽𝜀𝑡
11212.5−0.512.250.3
21012.55−2.5511.275−0.72
3810.555−2.5559.2775−1.742
4117.53553.46459.2677−0.3562
5148.91165.088411.45581.6792
61213.135−1.13512.56751.2252
7913.7927−4.792711.3963−0.6919
81310.70452.295511.85220.2263
91612.07863.921414.03931.7949
101415.8342−1.834214.91711.0612
111115.9783−4.978313.4892−0.9301
121512.55912.440913.77950.0463
131813.82584.174215.91291.716
141617.6289−1.628916.81441.0644
151317.8788−4.878815.4394−0.8871
161714.55232.447715.77610.092