Learn R Programming

EcoMetrics (version 0.1.1)

best_arima: Select Optimal Model based on BIC

Description

Select Optimal Model based on BIC

Usage

best_arima(data, max_p = 5, max_d = 2, max_q = 5)

Value

A list containing the optimal model results and the BIC value

Arguments

data

A univariate ts object

max_p

Maximum AR order

max_d

Maximum differencing order

max_q

Maximum MA order

Examples

Run this code
data(keconomy)
attach(keconomy)
best_arima(UR, max_p = 5, max_d = 2, max_q = 5)

Run the code above in your browser using DataLab