Fits an autoregressive integrated moving average model ARIMA(p, d, q).
the fitted model.
the time series.
the order of AR.
the degree of differencing.
the order of MA.