statsmodels.tsa.vector_ar.vecm.VECMResults.plot_forecast

VECMResults.plot_forecast(steps, alpha=0.05, plot_conf_int=True, n_last_obs=None)[source]

Plot the forecast.

Parameters:
stepsint

Prediction horizon.

alphafloat, 0 < alpha < 1

The confidence level.

plot_conf_intbool, default: True

If True, plot bounds of confidence intervals.

n_last_obsint or None, default: None

If int, restrict plotted history to n_last_obs observations. If None, include the whole history in the plot.