pyeeg.models.fit_ar
- pyeeg.models.fit_ar(x, nlags=1, time_axis=0)
Fit an autoregressive model to a time series. This is a helper function for autoregressive models estimation.
If fed with a multidimensional time series, it will fit a model for each dimension.