Fits an AR(n) model to a given time series
Fits an AR(n) model to a given time series
Data to fit
The autoregressive factor, terms t - 1 through t - maxLag are included
A boolean to indicate if the regression should be run without an intercept, the default is set to false, so that the OLS includes an intercept term
AR(n) model
Fits an AR(1) model to the given time series