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
.
Cet exercice fait partie du cours
Forecasting Product Demand in R
Instructions
- Forecast your residual model.
- The forecast should be for 22 weeks.
- Print the first 10 observations from this forecast using the
head
function.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Forecast 22 weeks with your model: for_MET_hi_arima
for_MET_hi_arima <- ___(___, h = ___)
# Print first 10 observations
head(___, n = ___)