statsmodels.tsa.ar_model.ARResults.resid

ARResults.resid

The residuals of the model.

If the model is fit by ‘mle’ then the pre-sample residuals are calculated using fittedvalues from the Kalman Filter.