statsmodels.tsa.ar_model.AR.fit
AR.fit(maxlag=None, method='cmle', ic=None, trend='c', transparams=True, start_params=None, solver='lbfgs', maxiter=35, full_output=1, disp=1, callback=None, **kwargs) [source]
Fit the unconditional maximum likelihood of an AR(p) process. Parameters:
maxlag : int If ic is None, then maxlag is the lag length used in fit. If ic is specified then maxlag is the highest lag order used to select the correct lag order. If maxlag is None, the default is round(12*(no