smooth.ES.orders

property ES.orders: Dict[str, List[int]]

Return ARIMA orders as dict with ‘ar’, ‘i’, ‘ma’ keys.

Returns:

Dictionary with keys ‘ar’, ‘i’, ‘ma’ containing lists of orders for each lag. For pure ETS models, returns [0] for each.

Return type:

Dict[str, List[int]]

Raises:

ValueError – If the model has not been fitted yet.

Examples

>>> model = ADAM(model="NNN", ar_order=1, i_order=1, ma_order=1)
>>> model.fit(y)
>>> arima_orders = model.orders
>>> print(arima_orders)  # {'ar': [1], 'i': [1], 'ma': [1]}