I´m reading: Regression modeling with actuarial and financial applications by Frees, and in page 274 he talks about a double smoothing procedure for a times series with linear trend:
Suppose that we have a time series data with linear trends of the form: $$y_t = \beta_0 + \beta_1 t +\epsilon_t$$
We can use a double smoothing moving average procedure to forecast this time series:
Create a smoothed time series with the original observations, that is: $$s^1_t = (y_t + · · · + y_{t−k+1})/k$$
Create a doubly smoothed series by treating the smoothed series created in step (1) as input. That is:
$$s^2_t = (s^1_t + · · · + s^1_{t−k+1})/k$$
This procedure smooths out the effect of a linear trend in time.The estimate of the trend is
$$b_{1,T} = \frac{2(s^1_T-s^2_T)}{k-1}$$
and the resulting forecasts are:
$$y_{T+l} = s^1_T + b_{1,T} l$$ for forecasts l lead time units into the future.
My questions are: How do we arrive to this formula of double smoothing procedure? The books does not contain any proof about this fact, it just puts the algorithm and that's it. Where do this algorithm comes from? How do we know that this procedure smooths out the effect of a linear trend in time?
I would really appreciate any hints or suggestions with this problem.
I'm reading Frees for Exam SRM and I found this part similarly confusing. You can show this with some arithmetic sequence formulas.
Start with $s_t = \dfrac{y_t + y_{t-1} + \cdots + y_{t-k-1}}{k}$.
Because we're assuming $y_t$ comes from a linear trend in time model, $y_t = \beta_0 +\beta_1 t, y_{t-1} = \beta_0 +\beta_1 (t-1)$, etc. (I'm ignoring the $\epsilon_t$ terms because I figure they get wiped out by the smoothing procedure). Use arithmetic sequence formulas to add up all the $y_t$. Don't forget to divide by $k$ in the denominator of the smoothing formula. I get $s_t = \beta_0 + \beta_1 (t - \frac k2 + \frac 12)$.
Next, let's work on $s_t^2 = \dfrac{s_t + s_{t-1} + \dots + s_{t-k-1}}{k}$. We just found that $s_t = \beta_0 + \beta_1 (t - \frac k2 + \frac 12)$, so $S_{t-1} = \beta_0 + \beta_1 ((t-1) - \frac k2 + \frac 12)$, etc. Use arithmetic sequence formulas to add up all the $s_t^2$. Don't forget to divide by $k$ in the denominator of the smoothing formula. I get $s_t^2 = \beta_0 + \beta_1 t + \beta_1 - k \beta_1$.
Now we can check Frees' formula. $s_t - s_t^2$ is $\frac k2 \beta_1 - \frac 12 \beta_1$ or $\dfrac{(k-1)\beta_1}{2}$. So it really is true that $\dfrac{2(s_t - s_t^2)}{k-1}$ is an estimate of $\beta_1$.