Tidy time series analysis and forecasting
Course Overview
Organisations of all types collect vast amounts of time series data, and there is a growing need for time series analytics to understand how things change in our fast-moving world. This tutorial provides a practical introduction to time series analytics and forecasting using R, utilising the tidyverse and tidy time series tools to enable analysis across many time series. Attendees will learn about commonly seen time series patterns, and how to find them with specialised time series graphics created with ggplot2. Then we will use fable to capture these patterns with statistical time series models, and produce probabilistic forecasts. Finally, participants will gain insights into evaluating model performance, ensuring the accuracy and reliability of their forecasts. Through a combination of foundational concepts and practical demonstrations, this tutorial equips participants with the skills to extract meaningful insights from time series data for informed decision-making in various domains.
This workshop will run in-person at useR! 2024 in Salzburg, Australia on July 8th 2024.
Registration
If you’re attending UseR! 2024 in person, there is still time to register - it’s free!
To add this tutorial to your registration, log in to your existing registration, click the Modify Registration
button, and navigate to the Reg Options
page (page 4). Finally, select the tutorial you want to attend (this one!).
Learning objectives
Participants will learn how to:
- How to wrangle time series data with familiar tidy tools.
- How to visualize common time series patterns.
- How to select a good forecasting algorithm for your time series.
- How to evaluate the accuracy of forecasts.
Educators
Instructor
Mitchell O’Hara-Wild (he/him) is a PhD candidate at Monash University, creating new techniques and tools for forecasting large collections of time series with Rob Hyndman and George Athanasopoulos. He is the lead developer of the tidy time-series forecasting tools fable and feasts, and has co-developed the widely used forecast package since 2015. He is an award-winning educator, and has taught applied forecasting at Monash University and various forecasting workshops around the world.
Preparation
The workshop will provide a quick-start overview of exploring time series data and producing forecasts. There is no need for prior experience in time series to get the most out of this workshop.
It is expected that you are comfortable with writing R code and using tidyverse packages including dplyr and ggplot2. If you are unfamiliar with writing R code or using the tidyverse, consider working through the learnr materials here: https://learnr.numbat.space/.
Some familiarity with statistical concepts such as the mean, variance, quantiles, normal distribution, and regression would be helpful to better understand the forecasts, although this is not strictly necessary.
Required equipment
Please bring your own laptop capable of running R.
Required software
To be able to complete the exercises of this workshop, please install a suitable IDE (such as RStudio), a recent version of R (4.1+) and the following packages.
- Time series packages and extensions
- fpp3
The following code will install the main packages needed for the workshop.
install.packages(c("fpp3"))
Please have the required software installed and pre-work completed before attending the workshop.