Aan de slagGa gratis aan de slag

Visualizing transfer function forecast

It would be great to compare this forecast to the validation data set that we held out from the beginning. First, let's visualize these two forecasts against each other. Your forecast is saved in your workspace as for_MET_hi_final and your validation data as MET_hi_v.

Deze oefening maakt deel uit van de cursus

Forecasting Product Demand in R

Cursus bekijken

Oefeninstructies

  • Plot the final forecast. Don't touch the options in the plot function.
  • Overlay the validation data set using the lines() function.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Plot the final forecast - don't touch the options!
___(___, ylim = c(1000, 4300))

# Overlay the validation data set
lines(___, col = "blue")
Code bewerken en uitvoeren