best_arima | R Documentation |
Select Optimal Model based on BIC
best_arima(data, max_p = 5, max_d = 2, max_q = 5)
data |
A univariate ts object |
max_p |
Maximum AR order |
max_d |
Maximum differencing order |
max_q |
Maximum MA order |
A list containing the optimal model results and the BIC value
data(keconomy)
attach(keconomy)
best_arima(UR, max_p = 5, max_d = 2, max_q = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.