- Create a tsibble with total Holiday travellers for Victoria and Queensland from the
tourismdata set using the code below. Plot the series. What do you see?
holidays <- tourism |>
filter(State %in% c("Victoria", "Queensland")) |>
filter(Purpose == "Holiday") |>
as_tibble() |>
summarise(Trips = sum(Trips), .by = c("State", "Quarter")) |>
as_tsibble(index = Quarter, key = State)Generate 4 year ahead forecasts from all four benchmarks. Plot them using
autoplot(). Comment in the resulting forecasts.Plot the residuals from the most appropriate benchmark using
gg_tsresiduals(). What do you see?Test if the residuals are white noise. What do you conclude?
Plot point and interval forecasts from the most appropriate benchmark.
Now try a decomposition forecasting model.
Use
accuracy()to evaluate which benchmark fits the data best.Use a test set of last 3 years to check forecast accuracy.
Now use time series cross-validation to check forecast accuracy.
Exam 2024
- Section A: Q3, Q6
- Section B: Q3a, Q3b