Ao tentar rodar o código
from statsmodels.tsa.arima_model import ARIMA
modelo = ARIMA(y, order = (1,1,1))
modelo_fit = modelo.fit(disp=0)
print(modelo_fit.summary())
aparece o seguinte erro:
NotImplementedError:
statsmodels.tsa.arima_model.ARMA and statsmodels.tsa.arima_model.ARIMA have
been removed in favor of statsmodels.tsa.arima.model.ARIMA (note the .
between arima and model) and statsmodels.tsa.SARIMAX.
statsmodels.tsa.arima.model.ARIMA makes use of the statespace framework and
is both well tested and maintained. It also offers alternative specialized
parameter estimators.
Tentei substituir para
from statsmodels.tsa.arima.model import ARIMA
mas aparece outro erro:
fit() got an unexpected keyword argument 'disp'