statsmodels.regression.linear_model.GLSAR.whiten

GLSAR.whiten(X)[source]

Whiten a series of columns according to an AR(p) covariance structure. This drops initial p observations.

Parameters:

X : array-like

The data to be whitened,

Returns:

whitened array