statsmodels.regression.linear_model.GLSAR.whitenΒΆ

GLSAR.whiten(x)[source]ΒΆ

Whiten a series of columns according to an AR(p) covariance structure.

Whitening using this method drops the initial p observations.

Parameters
xarray_like

The data to be whitened.

Returns
ndarray

The whitened data.