233. A-Md-A

Damped mult. trend, add. seasonality

ETS(𝐴,Md,𝐴)𝑥𝑡=𝑙𝑡1𝑏𝑡1𝜑+𝑠𝑡𝑚+𝜀𝑡𝑙𝑡=𝑙𝑡1𝑏𝑡1𝜑+𝛼𝜀𝑡𝑏𝑡=𝑏𝑡1𝜑+𝛽𝜀𝑡/𝑙𝑡1𝑠𝑡=𝑠𝑡𝑚+𝛾𝜀𝑡𝑥̂𝑡+|𝑡=𝑙𝑡𝑏𝑡𝜑+𝜑2++𝜑+𝑠𝑡+𝑚+
Example: ETS(𝐴,Md,𝐴)

Given

  • Smoothing parameters: 𝛼=0.5, 𝛽=0.4, 𝜑=0.8, 𝛾=0.2
  • Initial states: 𝑙0=12, 𝑏0=1, (𝑠3,𝑠2,𝑠1,𝑠0)=(2,0,3,1), seasonal period 𝑚=4
  • 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𝜑+𝛽𝜀𝑡/𝑙𝑡1𝑠𝑡=𝑠𝑡𝑚+𝛾𝜀𝑡

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

𝑥̂𝑡+|𝑡=𝑙𝑡𝑏𝑡𝜑+𝜑2++𝜑+𝑠𝑡+𝑚+

where {1,2,3,} is the forecast horizon (how many steps ahead); 𝑚+=((1)mod𝑚)+1 picks the right seasonal slot for the period steps ahead (cycles through 1,2,,𝑚).

Step 2 — apply at 𝑡=1

𝜇1=1210.8+2=14𝜀1=𝑥1𝜇1=1214=2𝑙1=1210.8+0.5(2)=11𝑏1=10.8+0.4(2)/12=0.9333𝑠1=2+0.2(2)=1.6

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𝑠𝑡=𝑠𝑡𝑚+𝛾𝜀𝑡
112142110.93331.6
21010.40930.409310.20470.93140.0819
386.64081.359210.32040.9982.7282
41111.30410.304110.1520.98660.9392
51411.64332.356711.22171.08212.0713
61211.87140.128612.01761.06980.0561
799.95570.955712.2061.02362.9193
81313.37540.375412.24851.00660.8641
91614.38411.615913.12071.0582.3945
101413.67010.329913.89121.05620.0098
111111.59310.593114.21581.02763.0379
121515.39340.393414.33261.0110.7854
131816.85291.147115.03191.04082.6239
141615.53030.469715.75531.0450.1038
151313.28210.282116.1791.02873.0943
161717.33450.334516.38181.01460.7185