https://github.com/nixtla logo
j

Jose Bordon

01/12/2023, 6:11 PM
How do we get the p,q,d from the autoArima model?
f

fede (nixtla) (they/them)

01/12/2023, 8:02 PM
hi @Jose Bordon You can use the
arima_string
function. Here’s an example,
j

Jose Bordon

01/12/2023, 8:04 PM
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

fede (nixtla) (they/them)

01/12/2023, 9:24 PM
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,
2 Views