Learn R Programming

forecast (version 8.23.0)

arimaorder: Return the order of an ARIMA or ARFIMA model

Description

Returns the order of a univariate ARIMA or ARFIMA model.

Usage

arimaorder(object)

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.

Arguments

object

An object of class “Arima”, dQuotear or “fracdiff”. Usually the result of a call to arima, Arima, auto.arima, ar, arfima or fracdiff.

Author

Rob J Hyndman

See Also

ar, auto.arima, Arima, arima, arfima.

Examples

Run this code
WWWusage %>% auto.arima %>% arimaorder

Run the code above in your browser using DataLab