Skip to content

TST: innovation algo fails on one travis #5457

Closed

Description

@josef-pkt

test_innovations_algo_filter_kalman_filter[ar_params5-ma_params5-1.123]
fails with what looks like a precision issue on master, e.g. https://travis-ci.org/statsmodels/statsmodels/jobs/477508395

also from the code snippet in the failure message it looks like there is no random seed set for this unit test

problem with parameterized tests: the tests draws random numbers separately for all parameter configurations.

Activity

  1. thequackdaddy commented on Apr 25, 2019

    @thequackdaddy
    Member

    def test_innovations_algo_filter_kalman_filter(ar_params, ma_params, sigma2):
    # Test the innovations algorithm and filter against the Kalman filter
    # for exact likelihood evaluation of an ARMA process
    endog = np.random.normal(size=100)
    # Innovations algorithm approach
    llf = arma_innovations.arma_loglike(endog, ar_params, ma_params, sigma2)
    llf_obs = arma_innovations.arma_loglikeobs(endog, ar_params, ma_params,
    sigma2)

    Would it make sense to add a np.random.seed here?

  2. ChadFulton commented on Apr 25, 2019

    @ChadFulton
    Member
  3. bashtage commented on Jul 15, 2019

    @bashtage
    Member

    This has been fixed AFAICT.

  4. added this to the 0.11 milestone on Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions