Repository navigation
Deprecate DynamicVAR and DynamicPanelVAR - #4539
Conversation
|
@bashtage just fixed some of it in https://github.com/statsmodels/statsmodels/pull/4527/files#diff-a9f641af7d66a13ab87d55a65302623a I didn't try it out, and don't know what the current status is. |
|
It works but is untested and not well written. I assume StateSpace is a better framework for these types of estimators |
|
Whoops, did not notice that, thanks @bashtage! The current version also still uses Panels, which have been deprecated in Pandas for a while, and given that the statespace framework is a lot more feature-complete and has better test coverage, I'm still in favor of deprecation. |
|
unit test for DynamicVAR were always missing. If the statespace models are appropriate as alternative, then getting rid of the untested models is fine with me. |
Codecov Report
@@ Coverage Diff @@
## master #4539 +/- ##
==========================================
- Coverage 80.15% 80.15% -0.01%
==========================================
Files 563 563
Lines 85238 85241 +3
Branches 9656 9656
==========================================
+ Hits 68326 68327 +1
- Misses 14685 14687 +2
Partials 2227 2227
Continue to review full report at Codecov.
|
|
@josef-pkt Tests failing since I used DeprecationWarning instead of FutureWarning, and the new tests ignore the latter and not the former. Any preference on which one I should switch? |
|
@jengelman Where do you see failing tests? appveyor and travis-ci are green. I think DeprecationWarning is better, especially also because we are catching up with recent pandas, i.e. functionality is not the same as it was in the past.. |
|
@josef-pkt Whoops, those are just code coverage reports, never mind. |
|
merged |
Following #3866, added deprecation warnings (and a bit of PEP8 cleanup) to DynamicVAR and DynamicPanelVAR, since they no longer work after RollingOLS was removed in Pandas 0.21.0.