How do we get the p,q,d from the autoArima model?
# general
j
How do we get the p,q,d from the autoArima model?
f
hi @Jose Bordon You can use the
arima_string
function. Here’s an example,
j
Thank you!
sf = StatsForecast( df=all_leads_weekly_exo_train, models=[AutoARIMA(season_length=52)], freq='W', n_jobs=-1) arima_string(sf.models[0].model_)
Copy code
AttributeError: 'AutoARIMA' object has no attribute 'model_'
Doesn't seem to work this way, are there two AutoARIMA objects?
f
To access the fitted models’ information, you must call the
fit
method first. This method will generate the
fitted_
attribute, which contains the fitted models. Then you could call
arima_string
on the specific model and time series. Here’s an example,