The AR companion object provides factory methods for the AR class. Use SARIMAX for hyper-parameters.
AR
SARIMAX
Create an AR object.
the hyper-parameters
the time vector, if relevant (time index may suffice)
the response vector (time series data)