- Notifications
You must be signed in to change notification settings - Fork4.8k
Open
Description
Hi,
I tried to runTime Series Forecastings.ipynb both inJupiter andpython script. FromJupiter it seems fine. If I tried to run as a python file (paste sections one by one and run as whole), in
results.plot_diagnostics(figsize=(16, 8))plt.show()I got
Traceback (most recent call last): File "time-series.py", line 71, in <module> results.plot_diagnostics(figsize=(16, 8)) File "/home/user/anaconda3/lib/python3.8/site-packages/statsmodels/tsa/statespace/mlemodel.py", line 4284, in plot_diagnostics raise ValueError(ValueError: Length of endogenous variable must be larger the the number of lags used in the model and the number of observations burned in the log-likelihood calculation.may I know what is the reason for it? Thanks
Metadata
Metadata
Assignees
Labels
No labels