Fit a regression model with a piecewise linear trend and Fourier terms for the US leisure employment data.
leisure <- us_employment |> filter(Title == "Leisure and Hospitality", year(Month) > 2001) |> mutate(Employed = Employed / 1000) |> select(Month, Employed)Add a dynamic regression model with the same predictors.
How do the models compare on AICc?
Does the additional ARIMA component fix the residual autocorrelation problem in the regression model?
How different are the forecasts from each model?