# How does TimeSeriesModelFit estimate ARMA parameters?

**URL:** <https://community.wolfram.com/t/how-does-timeseriesmodelfit-estimate-arma-parameters/12215>\
**Category:** Questions\
**Tags:** signal-processing, modeling, numerical-computation\
**Created:** [March 27, 2018, 9:21pm UTC](https://community.wolfram.com/t/how-does-timeseriesmodelfit-estimate-arma-parameters/12215 "2018-03-27T21:21:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgecastle](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@georgecastle](https://community.wolfram.com/u/georgecastle)\
**Post date:** [March 27, 2018, 9:21pm UTC](https://community.wolfram.com/t/how-does-timeseriesmodelfit-estimate-arma-parameters/12215/1 "2018-03-27T21:21:16Z")

</div>

Hi -

I’ve noticed from comparing several versions (Mathematica, matlab, python) that there can be significant variations in the answers obtained when estimating ARMA parameters. For instance, I can run some data through Mathematica like

```
model = TimeSeriesModelFit[data,{"ARMA",{1,2}}]

```

and I will get one answer (usually the best answer). Trying this using a Matlab implementation of an ARMA parameter estimator based on a Kalman filter approach yields not-quite-as-good results in terms of closeness of parameters to their true values. Can anyone enlighten me as to the broad brush strokes of the estimation procedure used in Mathematica ? I couldn’t find any documentation that discussed it.

Thanks in advance,

George
