248. M-Md-A

Damped mult. trend + add. season., mult. errors

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

where

𝜇𝑡=𝑙𝑡1𝑏𝑡1𝜑+𝑠𝑡𝑚
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𝜑+𝑠𝑡𝑚)(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)/𝜇1=(1214)/14=0.1429𝑙1=1210.8+0.514(0.1429)=11𝑏1=10.8+0.414(0.1429)/12=0.9333𝑠1=2+0.214(0.1429)=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𝑠𝑡=𝑠𝑡𝑚+𝛾𝜇𝑡𝜀𝑡
112140.1429110.93331.6
21010.40930.039310.20470.93140.0819
386.64080.204710.32040.9982.7282
41111.30410.026910.1520.98660.9392
51411.64330.202411.22171.08212.0713
61211.87140.010812.01761.06980.0561
799.95570.09612.2061.02362.9193
81313.37540.028112.24851.00660.8641
91614.38410.112313.12071.0582.3945
101413.67010.024113.89121.05620.0098
111111.59310.051214.21581.02763.0379
121515.39340.025614.33261.0110.7854
131816.85290.068115.03191.04082.6239
141615.53030.030215.75531.0450.1038
151313.28210.021216.1791.02873.0943
161717.33450.019316.38181.01460.7185