statsmodels.regression.linear_model.WLS.whiten

method

WLS.whiten(X)[source]

Whitener for WLS model, multiplies each column by sqrt(self.weights)

Parameters
Xarray-like

Data to be whitened

Returns
whitenedarray-like

sqrt(weights)*X