259. M-M-N

Mult. trend, mult. errors

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

Given

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

Step 1 — formula

Observation:

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

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

𝜇𝑡=𝑙𝑡−1𝑏𝑡−1

Innovation:

𝜀𝑡=(𝑥𝑡−𝜇𝑡)/𝜇𝑡

State updates:

𝑙𝑡=𝑙𝑡−1𝑏𝑡−1(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⋅1=12𝜀1=(𝑥1−𝜇1)/𝜇1=(12−12)/12=0𝑙1=12⋅1(1+0.5⋅0)=12𝑏1=1(1+0.4⋅0)=1

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+𝛼𝜀𝑡)𝑏𝑡=𝑏𝑡−1(1+𝛽𝜀𝑡)
112120121
21012−0.1667110.9333
3810.2667−0.22089.13330.8509
4117.77160.41549.38580.9923
5149.31350.503211.65681.192
61213.8951−0.136412.94761.127
7914.5918−0.383211.79590.9542
81311.25610.154912.12811.0134
91612.29030.301814.14511.1357
101416.065−0.128515.03251.0773
111116.195−0.320813.59750.9391
121512.76940.174713.88471.0047
131813.95020.290315.97511.1214
141617.9143−0.106916.95711.0735
151318.2027−0.285815.60140.9507
161714.83270.146115.91631.0063