-
Notifications
You must be signed in to change notification settings - Fork 310
Open
Description
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).
maxzaikin
Metadata
Metadata
Assignees
Labels
No labels