Skip to content

CH06 acorr_ljungbox #13

Description

@err404n0tfound

When using the same code as the book for this test:

from statsmodels.stats.diagnostic import acorr_ljungbox
lbvalue, pvalue = acorr_ljungbox(residuals, np.arange(1, 11, 1))
print(pvalue)

This is what is returned (a string with no values):
lb_pvalue

Instead of a tuple, statsmodels acorr_ljungbox returns a dataframe now instead. The lbvalue is in one column while the pvalues on the other (on statsmodels 0.14.0).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions