Hello,
I want use python sarima model rolling forecast. I have new data everyday. how can I put new data to a single sarimax model instead of fitting model every time.
Sush as R api:
fit <- auto.arima(train)
refit <- Arima(newdata, model=fit)
I could not find a 'model' parameter in SARIMAX api :
class statsmodels.tsa.statespace.sarimax.SARIMAX(endog, exog=None, order=(1, 0, 0), seasonal_order=(0, 0, 0, 0), trend=None, measurement_error=False, time_varying_regression=False, mle_regression=True, simple_differencing=False, enforce_stationarity=True, enforce_invertibility=True, hamilton_representation=False, **kwargs)[source]
Is there any other way?
Thinks,
Lee