GLSAR.
whiten
Whiten a series of columns according to an AR(p) covariance structure. This drops initial p observations.
X : array-like
The data to be whitened,
whitened array
statsmodels.regression.linear_model.GLSAR.score
statsmodels.regression.linear_model.yule_walker