Week 5: Exponential smoothing

Tutorial exercises

What you will learn this week

  • Simple exponential smoothing and corresponding ETS models.
  • Methods with trend and corresponding ETS models.

Pre-class activities

Read Sections 8.1-8.4 of the textbook and watch all embedded videos

Slides for seminar

Download pdf

Seminar activities

  1. Use the tsibble created from tourism for holiday travel in Victoria and Queensland.

    1. Plot the series to remind yourself what these look like.
    2. Use the ETS() function to fit models to both series. Explore the resulting mable using report(), glance() and tidy()
    3. Plot the estimated components of each model.
    4. Generate forecasts using forecast().
  2. Use the exports data exports data for Algeria from the global_economy tsibble.

    1. Plot the data. Is this time series white noise? What ETS model would be appropriate?
    2. Use the ETS() function to fit appropriate models with both additive and multiplicative errors. What model is chosen automatically? Explore the estimated models.
    3. Plot the components of the two models. What do you see?
    4. Explore the residuals of the two models. What do you see?
    5. Generate and plot forecasts.
  3. Use the population data for Australia (country == "AUS") from the global_economy tsibble.

    1. Scale the data to be in millions and plot it.
    2. Fit both a model with a linear and a damped trend and study the estimated parameters.
    3. Generate forecasts for 30 years ahead from both models and plot them. What do you see?
    4. Fit both models using data up to 2010. Generate forecasts for the remainder of the sample and evaluate their accuracy.
  4. Do Exercise 6 from Section 8.8.

Seminar code

Assignments

  • IA2 is due on Monday 07 April.
  • GA2 is due on Monday 14 April.