Fitting a trend and forecasting
A time trend uses consecutive integer indices for the observations. With seasonal data, divide by the relevant index before fitting and multiply by the target index after forecasting
- Index time consistently Set the first observed period to t=1 and increase the index by one for every subsequent period \(\displaystyle t=1,2,3,\ldots,N\)
- Remove seasonality before fitting Divide each actual observation by the seasonal index for its period \(\displaystyle D=\frac{A}{I}=\frac{660}{1.1}=600\)
- Fit and interpret the line Use the model y-hat equals a plus bt, where b is the average response change per time period \(\displaystyle \hat{y}=380+12t,\quad b=12\text{ units per period}\)
- Forecast and restore the target season Substitute the target index, multiply by its seasonal index when needed and consider whether the target is an extrapolation \(\displaystyle \hat{A}_6=(360+20\times6)\times1.1=528\)
- State the estimation convention For the complete-cycle method used here, divide each observation by its own year’s mean, then average the ratios for the same season. Keep exact or full stored values. Do not pool years at different levels before normalising
- Separate smoothing from forecasting A centred moving average describes the observed sequence and needs data on both sides. It is not a way to fill missing future observations. A trend forecast uses additional modelling assumptions
Worked example
A community pool uses the model y-hat equals 360 + 20t for deseasonalised attendance. The observed quarters use t=1 to t=6. Quarter 7 has seasonal index 1.1. Forecast the actual attendance for Quarter 7 and state whether this is interpolation or extrapolation
- \(\displaystyle t_{\text{Q7}}=7\)The consecutive time index for Quarter 7 is 7 because the observed interval ends at t=6.
- \(\displaystyle \hat{y}_7=360+20\times7=500\)Substitute t=7 into the deseasonalised trend model
- \(\displaystyle \hat{A}_{\text{Q7}}=500\times1.1=550\)Multiply the adjusted forecast by the seasonal index for Quarter 7.
- \(\displaystyle 7>6\Rightarrow\text{short extrapolation}\)Quarter 7 is one period beyond the observed interval, so the forecast is a short extrapolation
Common mistakes
Difficulty levels
Questions about this topic
Why is the first observation assigned t=1?+
The model uses a consecutive time index. Starting at t=1 gives every later observation and target period a consistent position in the fitted equation
Why are seasonal observations deseasonalised before fitting a trend?+
Seasonal effects create repeated changes between periods. Dividing by the relevant index removes those effects so the fitted line describes the underlying movement over time
What is the difference between interpolation and extrapolation?+
Interpolation estimates within the observed time interval. Extrapolation estimates outside that interval and is less supported by the recorded data, especially over a long extension
Does a seasonal adjustment remove every remaining pattern?+
No. Estimated indices and a linear trend may leave structure, especially with few cycles or a changing seasonal pattern. Inspect the adjusted series, qualify the forecast and compare later observations without silently refitting first
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 5: Time series