You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you still need this, I have a unit test against the Stata dynamic prediction for the Freidman example. In the test_sarimax.py file, the tests TestFriedmanPredict and TestFriedmanForecast cover both the dynamic and non-dynamic cases for prediction and forecasting.
Thanks, I just finished a set of unit tests (and will push after dinner). I'm pretty confident it works now correctly for ARIMAX, but I haven't checked any forecast standard errors (neither Stata nor statsmodels).
However, we should take advantage of cross-testing and reusing ARIMA/SARIMAX unit tests.
Activity
josef-pkt commentedon Jun 28, 2015
@ChadFulton Do you have an example from SARIMAX, that would provide a test and comparison case for ARMAX versus SARIMAX?
josef-pkt commentedon Jun 28, 2015
bug: if dynamic, then we need to use exog from the starting point.
exog_fis exog from predict argument, name is reused for concatenatednow I get exactly the same dynamic prediction as Stata.
problem:
startis not available with date handling. In my example I use integer index directlyjosef-pkt commentedon Jun 28, 2015
all current tests still pass with the above change
ChadFulton commentedon Jun 28, 2015
If you still need this, I have a unit test against the Stata dynamic prediction for the Freidman example. In the test_sarimax.py file, the tests
TestFriedmanPredictandTestFriedmanForecastcover both the dynamic and non-dynamic cases for prediction and forecasting.josef-pkt commentedon Jun 28, 2015
Thanks, I just finished a set of unit tests (and will push after dinner). I'm pretty confident it works now correctly for ARIMAX, but I haven't checked any forecast standard errors (neither Stata nor statsmodels).
However, we should take advantage of cross-testing and reusing ARIMA/SARIMAX unit tests.
BUG: ARIMA dynamic predict, fix exog slice closes statsmodels#2475
BUG: ARIMA dynamic predict, fix exog slice closes statsmodels#2475