Skip to content

BUG: Statespace: Smoothing test failure due to predict changes. #2615

Closed

Description

@ChadFulton

There was one change that needs to be made to the smoothing unit tests to take account of the new predict() behavior since the postestimation PR was merged. Failure is:

======================================================================
ERROR: statsmodels.tsa.statespace.tests.test_smoothing.TestStatesAR3.test_predict_obs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/.../lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/.../statsmodels/statsmodels/tsa/statespace/tests/test_smoothing.py", line 68, in test_predict_obs
    self.results.filter_results.predict()[0],
TypeError: 'PredictionResults' object does not support indexing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions