New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Get prediction index in VAR predict. #4785
Conversation
Another issue that came up: import pandas as pd
import statsmodels.api as sm
dta = sm.datasets.macrodata.load_pandas().data
dta.index = pd.PeriodIndex(start='1959Q1', end='2009Q3', freq='Q')
endog = dta[['realgdp', 'realcons', 'realinv']]
mod = sm.tsa.VAR(endog)
res = mod.fit(maxlags=1)
mod.predict(res.params, start=0, end=500) yields:
This issue is fixed in 322e743 |
Codecov Report
@@ Coverage Diff @@
## master #4785 +/- ##
==========================================
+ Coverage 81.1% 81.11% +<.01%
==========================================
Files 581 581
Lines 89787 89785 -2
Branches 10027 10027
==========================================
- Hits 72826 72825 -1
+ Misses 14682 14681 -1
Partials 2279 2279
Continue to review full report at Codecov.
|
There is no coverage for |
Guess I will merge this. It's pretty straightforward. |
Closes #4784
See also 6c1f892#diff-e2d6024b9d0ed6c0410bf2fffc1f1254R342