Skip to main content

bgod

Calculate test statistics for autocorrelation

Source Code: [link]

openbb.econometrics.bgod(model: pd.DataFrame, lags: int = 3)

Parameters

NameTypeDescriptionDefaultOptional
modelOLS ModelOLS model that has been fit.NoneFalse
lagsintThe amount of lags.3True

Returns

TypeDescription
pd.DataFrameTest results from the Breusch-Godfrey Test