It is relatively easy to estimate the parameters of an autoregressive $AR(p)$ process. How do I do with a moving average $MA(q)$ process?
Tell me more
×
Quantitative Finance Stack Exchange is a question and answer site for
finance professionals and academics. It's 100% free, no registration required.
|
|
Estimating $MA(q)$ models is significantly harder than $AR(p)$ models. Eviews, MATLAB and R can use multiple algorithms which are all based on some form of maximum likelihood estimation. You can look at the source of MATLAB and R or the excellent Eviews documentation. However, I strongly advise against rolling your own since efficient and well tested algorithms are widely available. For the interested, this paper describes the method (with code) used by the R arima package. You can see from the abstract the method it is quite complicated. |
||||
|