LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

ARIMA Models in Python

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# 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(____)
Code bearbeiten und ausführen