Choosing order with AIC and BIC
Now that you have performed a search over many model orders, you will evaluate your results to find the best model order.
The list of tuples of (p,q, AIC value, BIC value)
that you created in the last exercise, order_aic_bic
, is available in your environment. pandas
has also been imported as pd
.
Cet exercice fait partie du cours
ARIMA Models in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Construct DataFrame from order_aic_bic
order_df = pd.DataFrame(____,
columns=[____])
# Print order_df in order of increasing AIC
print(____)
# Print order_df in order of increasing BIC
print(____)