Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Forecasting Product Demand in R

Cursus bekijken

Oefeninstructies

  • Use the forecast function to forecast your MET_t_model. Save this as forecast_MET_t.
  • You will want to forecast for the first 22 weeks in 2017.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Forecast the first 22 weeks of 2017
forecast_MET_t <- forecast(___, h = ___)

# Plot this forecast #
plot(___)
Code bewerken en uitvoeren