1. Learn
  2. /
  3. Courses
  4. /
  5. ARIMA Models in Python

Exercise

Plotting dynamic forecasts

Time to plot your predictions. Remember that making dynamic predictions, means that your model makes predictions with no corrections, unlike the one-step-ahead predictions. This is kind of like making a forecast now for the next 30 days, and then waiting to see what happens before comparing how good your predictions were.

The lower_limits, upper_limits and amazon DataFrames as well as your mean predictions mean_forecast that you created in the last exercise are available in your environment.

Instructions

100 XP
  • Plot the amazon data using the dates in the index of this DataFrame as the x coordinates and the values as the y coordinates.
  • Plot the mean_forecast predictions similarly.
  • Plot a shaded area between lower_limits and upper_limits of your confidence interval. Use the index of one of these DataFrames as the x coordinates.