Skip to content

BUG: VAR test_whiteness is a plot function but uses sample_acorr #4537

Closed

Description

@josef-pkt

The results. plot produces by old VAR.test_whiteness doesn't make sense.
In 7 years nobody complained. !?

i.e. I'm estimating a VAR with three lags, but lag 1 and lag 2 are significant in the autocorrelation plot.

acorrs = self.sample_acorr(nlags)

Activity

  1. added
    type-bug-wrong
    on Apr 23, 2018
  2. added this to the 0.9 milestone on Apr 23, 2018
  3. added and removed
    type-bug-wrong
    on Apr 23, 2018
  4. josef-pkt commented on Apr 23, 2018

    @josef-pkt
    MemberAuthor

    Actually, the doc string says sample (y) autocorrelation.
    So, it's just that the method name is misleading and indicates something different (whiteness of endog while I would have expected residual whiteness as diagnostic check on the model).
    Also, there is a separate plot_sample_acorr method

  5. added 2 commits that reference this issue on Apr 23, 2018
    f404ad2
    708bb1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions