Forecasts and potential futures

1. Forecasts and potential futures

Here is a time series showing the total annual visitors to Australia. We want to forecast this series for the next 10 years.

2. Sample futures

Imagine we fit a statistical model to the available data. We will discuss possible models later in this course. Then we can take that model and run it forward in time to simulate future possible values for this series.

3. Sample futures

Here, the red values show a simulated future. The black values are the observed past. Each time we simulate from the model, we get a different alternative future.

4. Sample futures

As we keep simulating,

5. Sample futures

we build up a distribution

6. Sample futures

of possible future

7. Sample futures

sample paths.

8. Sample futures

These form a distribution of

9. Sample futures

the potential futures. The past has happened and is now fixed, but the future is still full of many possibilities. These coloured lines are not forecasts. They are simulated futures. A forecast is the mean or median of these potential futures.

10. Forecast intervals

This graph shows the means of the future distributions as a blue line. This is what we call the "point forecasts", or sometimes just the "forecasts". We don't expect the future values to follow this line, it is simply the average of what our model says is possible.

11. Forecast intervals

The shaded regions are prediction intervals. These are based on the percentiles of the potential futures. The darker region is an 80% interval, and the lighter region is a 95% interval. The default plot for forecasts in R looks like this with both the 80% and 95% region shown. As the future observations come in, after we have made the forecast, we expect half of them to be above the blue line and have below. We expect 80% of the future values to lie within the dark shaded region and 20% outside it. We expect 95% of the future values to lie within the light shaded region and only 5% outside it.

12. Let's practice!

Now we are finally ready to do some forecasting. Let's do the next coding exercise.