statsmodels.regression.linear_model.OLS.initialize

OLS.initialize()

Initialize (possibly re-initialize) a Model instance. For instance, the design matrix of a linear model may change and some things must be recomputed.