- y
a numeric vector or univariate time series of class ts
- order
a specification of the non-seasonal part of the ARIMA
model: the three integer components \((p, d, q)\) are the AR order, the
degree of differencing, and the MA order.
- seasonal
a specification of the seasonal part of the ARIMA
model, plus the period (which defaults to frequency(x)).
This may be a list with components order and
period, or just a numeric vector of length 3 which
specifies the seasonal order. In the latter case the
default period is used.
- xreg
Optionally, a numerical vector or matrix of external regressors,
which must have the same number of rows as y. It should not be a data frame.
- include.mean
Should the ARIMA model include a mean term? The default
is TRUE for undifferenced series, FALSE for differenced ones
(where a mean would not affect the fit nor predictions).
- include.drift
Should the ARIMA model include a linear drift term?
(i.e., a linear regression with ARIMA errors is fitted.) The default is
FALSE.
- include.constant
If TRUE, then include.mean is set to
be TRUE for undifferenced series and include.drift is set to
be TRUE for differenced series. Note that if there is more than one
difference taken, no constant is included regardless of the value of this
argument. This is deliberate as otherwise quadratic and higher order
polynomial trends would be induced.
- lambda
Box-Cox transformation parameter. If lambda = "auto",
then a transformation is automatically selected using BoxCox.lambda.
The transformation is ignored if NULL. Otherwise,
data transformed before model is estimated.
- biasadj
Use adjusted back-transformed mean for Box-Cox
transformations. If transformed data is used to produce forecasts and fitted
values, a regular back transformation will result in median forecasts. If
biasadj is TRUE, an adjustment will be made to produce mean forecasts
and fitted values.
- method
fitting method: maximum likelihood or minimize
conditional sum-of-squares. The default (unless there are missing
values) is to use conditional-sum-of-squares to find starting
values, then maximum likelihood. Can be abbreviated.
- model
Output from a previous call to Arima. If model is
passed, this same model is fitted to y without re-estimating any
parameters.
- x
Deprecated. Included for backwards compatibility.
- ...
Additional arguments to be passed to stats::arima().