statsmodels.regression.linear_model.OLS.initialize#

OLS.initialize()[source]#

Initialize model components.

Whitens the data and resets the attributes set by fit, and additionally resets the cross products cached by score and hessian.