1
$\begingroup$

I have followed the technique for determining the initial level, trend and seasonal components for the Holt-Winters model as detailed by Rob Hyndman on https://robjhyndman.com/hyndsight/hw-initialization/. The notation at the top of page 24 in Forecasting With Exponential Smoothing (R. Hyndman, et al - https://link.springer.com/content/pdf/10.1007/978-3-540-71918-2.pdf) suggests that for a time series of values starting at time t=1 (y1...yn) these initial values correspond to time t=0. This is surprising to me (I would have expected that they correspond to time t=1, the beginning of the training data), since for a something like a straight line the level would appear to be the y-intercept of the training data, which then would best correspond to the first training data sample at t=1.

With this confusion on my part, I'm unclear about how, after determining these initial values and the best parameters (alpha,beta,gamma,phi), to then update the model to the end of the training data. Something like update(y1...yn) seems required, but if the initial values correspond to the first piece of data, then something like update(y2...yn) could make more sense.

Any guidance is much appreciated.

$\endgroup$

1 Answer 1

0
$\begingroup$

The initial level $\ell_0$ is indeed the level for $t=0$.

First off, in your reference, the statement

...compute a linear trend on the first ten observations against a time variable $t = 1, \ldots, 10$. Then set $\ell_0$ to be the intercept of the trend

is quite explicit as you have pointed out, too.

Also, all the models, e.g. the state space model on page 6 or the Holt-Winters model on p.16, have for $y_t$ a formula involving $x_{t-1}$ or $\ell_{t-1}$, thus, if $t$ starts at $1$, $x_s$ and $\ell_s$ start at $s=0$.

$\endgroup$
4
  • $\begingroup$ But isn't the intercept for the line through $y_1$ through $y_n$ at $t_1$ and not $t_0$ and thus $\ell_1$ ? $\endgroup$
    – David Wood
    Jul 17, 2022 at 20:38
  • $\begingroup$ @DavidWood No, the intercept $b$ of an affine function (i.e. $y=ax+b$) is the value y at $x=0$. $\endgroup$
    – frank
    Jul 18, 2022 at 4:01
  • $\begingroup$ So per the recommended initialization using the line $y=ax+b$ gives $\ell_0 = b$. Per robjhyndman.com/hyndsight/hw-initialization, we can now begin forecasts from period 1. Per for the forecasting formulae doesn't this mean $\\yhat_1 = b + 1*b_0$, (where $b_0 = 1$) but won't this be closer to the value at $y_2$ than $y_1$? $\endgroup$
    – David Wood
    Jul 18, 2022 at 11:34
  • $\begingroup$ @DavidWood I don't know what formula you refer to, since those on the page you referenced involve seasonality. But if we use an initialization that presumes the values $y_1, \ldots, y_{10}$ to be already known, the formula should not be tested by forecasting value $y_1$. $\endgroup$
    – frank
    Jul 18, 2022 at 12:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.