statsmodels.tsa.forecasting.theta.ThetaModel.fit

ThetaModel.fit(use_mle=False, disp=False)[source]

Estimate model parameters.

Parameters:
use_mlebool, default False

Estimate the parameters using MLE by fitting an ARIMA(0,1,1) with a drift. If False (the default), estimates parameters using OLS of a constant and a time-trend and by fitting a SES to the model data.

dispbool, default True

Display iterative output from fitting the model.

Returns:
ThetaModelResult

Model results and forecasting

Notes

When using MLE, the parameters are estimated from the ARIMA(0,1,1)

Xt=Xt1+b0+(α1)ϵt1+ϵt

When estimating the model using 2-step estimation, the model parameters are estimated using the OLS regression

Xt=a0+b0(t1)+ηt

and the SES

X~t+1=αXt+(1α)X~t

Last update: Oct 03, 2024