Forecasting residuals with time series
Now that you have a model for these residuals, we need to forecast them. Your model is saved as MET_hi_arima
.
This exercise is part of the course
Forecasting Product Demand in R
Exercise instructions
- Forecast your residual model.
- The forecast should be for 22 weeks.
- Print the first 10 observations from this forecast using the
head
function.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Forecast 22 weeks with your model: for_MET_hi_arima
for_MET_hi_arima <- ___(___, h = ___)
# Print first 10 observations
head(___, n = ___)