Returns the order of a univariate ARIMA or ARFIMA model.
Arguments
- object
An object of class
Arima,arorfracdiff. Usually the result of a call tostats::arima(),Arima(),auto.arima(),stats::ar(),arfima()orfracdiff::fracdiff().
Value
A numerical vector giving the values \(p\), \(d\) and \(q\) of the ARIMA or ARFIMA model. For a seasonal ARIMA model, the returned vector contains the values \(p\), \(d\), \(q\), \(P\), \(D\), \(Q\) and \(m\), where \(m\) is the period of seasonality.
Examples
WWWusage |> auto.arima() |> arimaorder()
#> p d q
#> 1 1 1
