Forecast function
Previously you built a model and saved it as MET_t_model
. Now we need to forecast out the values of this model for the first 5 months of 2017.
This exercise is part of the course
Forecasting Product Demand in R
Exercise instructions
- Use the
forecast
function to forecast yourMET_t_model
. Save this asforecast_MET_t
. - You will want to forecast for the first 22 weeks in 2017.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Forecast the first 22 weeks of 2017
forecast_MET_t <- forecast(___, h = ___)
# Plot this forecast #
plot(___)