statsmodels.stats.diagnostic.acorr_breusch_godfrey¶
-
statsmodels.stats.diagnostic.acorr_breusch_godfrey(results, nlags=None, store=False)[source]¶ Breusch Godfrey Lagrange Multiplier tests for residual autocorrelation
- Parameters
- Returns
- lm
float Lagrange multiplier test statistic
- lmpval
float p-value for Lagrange multiplier test
- fval
float fstatistic for F test, alternative version of the same test based on F test for the parameter restriction
- fpval
float pvalue for F test
- resstore
instance(optional) a class instance that holds intermediate results. Only returned if store=True
- lm
Notes
BG adds lags of residual to exog in the design matrix for the auxiliary regression with residuals as endog, see Greene 12.7.1.
References
Greene Econometrics, 5th edition