Week 1: What is forecasting?

What you will learn this week

  • How to think about forecasting from a statistical perspective
  • What makes something easy or hard to forecast?
  • Using the tsibble package in R

Pre-class activities

Before we start classes, make sure you are familiar with R, RStudio and the tidyverse packages. If you’ve already done one of ETX2250/ETC1010 or something equivalent you should be fairly familiar with these concepts and probably will not need much help. If you’re new to R and the tidyverse, then you will need to get yourself up-to-speed.

Slides for seminar

Download pdf

Workshop activities

Seminar Code

Tutorial exercises

NoteTutorial Learning Objectives
  1. Work confidently with Quarto documents.
    • Open, run, and knit the IA_template.qmd file to PDF without errors.
  2. Import and manage time series data in R.
    • Read CSV/Excel files, correctly set your working directory, and avoid file path errors.
  3. Create and understand tsibbles.
    • Convert data frames to tsibbles using as_tsibble() and understand the time index and key variables.
  4. Begin planning IA1.
    • Start thinking about your forecasting approach and discuss ideas with peers.
  1. Walk through IA_template.qmd. Make sure you understand the quarto (qmd) file structure and make sure you can knit the file successfully to pdf format.
  2. Discuss IA1 in class. How do you go about forecasting at the moment that you are untrained?
  3. Complete Exercises 1, 3 and 5 from Section 2.10 of the textbook.

Your tutors will be in your tutorial class to assist you.

Assignments

  • IA1 is due on Friday 13 March.