Skip to content

Fit summary (AIC) information AutoARIMA #273

Answered by kdgutier
Gesh96 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Gesh96,

We are working on the summary method, meanwhile the AutoARIMA, AutoCES and ETS models already perform model selection based on the AIC/BIC criterion within their family of models. A momentary solution if you want to compare AIC across methods is to use the insample predictions to generate the metrics:

from statsforecast.core import StatsForecast
from statsforecast.models import AutoARIMA, ETS

fcst = StatsForecast(df=Y_train_df,
                     models=[AutoARIMA(seasonal_length='your_seasonality')],
                     freq='your_freq', n_jobs=-1)
                     
fcsts_df  =  fcst.forecast(h=h, fitted=True)
insample_fcsts_df = fcst.forecast_fitted_values() # y and …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gesh96
Comment options

Answer selected by Gesh96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants