Repository navigation
BUG: Get prediction index in VAR predict. - #4785
Merged
Merged
Conversation
Member
Author
|
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.
|
Member
Author
|
There is no coverage for |
Member
Author
|
Guess I will merge this. It's pretty straightforward. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4784
See also 6c1f892#diff-e2d6024b9d0ed6c0410bf2fffc1f1254R342