statsmodels.regression.linear_model.OLSResults.wresid

method

OLSResults.wresid()

The residuals of the transformed/whitened regressand and regressor(s)