BIC, order, model_fit = step_ARIMA(CBE.loc[:'1989-12-31', 'resids'], 4, 3, 4) print('Best order = ' + str(order) + ' best BIC = ' + str(BIC))