StatTimeSerAnalysis::ARMAMLE Function

int ARMAMLE(TVec *Data, TVec *P, TVec *T, TVec *Residuals, double &MLE, double &mu);

Estimate ARMA process AR and MA coefficients.

#NameTypeDescription
1DataTVec *Time series data set.
2PTVec *ARIMA Before call stores initial estimates for ARIMA Phi coefficients. After call returns MLE estimates for Phi coefficients without leading 1.0.
3TTVec *ARIMA Before call stores initial estimates for ARIMA Theta coefficients. After call returns MLE estimates for Theta coefficients.
4ResidualsTVec *Returns residuals between predicted (MLE) and actual time series values.
5MLEdouble &Returns -2 log likelihood of ARMA model.
6mudouble &Returns the estimated modified series average value (constant).

Returns: Number of evaluations needed to converge to MLE solution.

Remarks:

Estimate ARMA(p,t) process coefficients by using MLE.

See Also: StatTimeSerAnalysis::ARMAHannahFit, StatTimeSerAnalysis::ARMAInnovationsFit
Declared in Dew::Stats::Units::StatTimeSerAnalysis · Dew.Stats/Units.StatTimeSerAnalysis.h · Cross-compiler