statsmodels.regression.linear_model.WLS.whiten

WLS.whiten(x)[source]

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

Parameters
xarray_like

Data to be whitened.

Returns
array_like

The whitened values sqrt(weights)*X.