14:15-15:00
17 September 2023
Produce the following decomposition
canadian_gas |> STL(Volume ~ season(window=7) + trend(window=11)) |> autoplot()
What happens as you change the values of the two window arguments?
window
How does the seasonal shape change over time? [Hint: Try plotting the seasonal component using gg_season.]
gg_season
Can you produce a plausible seasonally adjusted series? [Hint: season_adjust is one of the variables returned by STL.]
season_adjust
STL