History Report a problem
Article Edit this page Discussion

Autoregressive moving average

From Psychology Wiki

Jump to: navigation, search

Community portal · Tasks to do · News · Help

Clinical · Educational · Ind&Org · Other fields · Professional · Transpersonal · World

Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language | Personality | Philosophy | Research Methods | Social | Statistics

Statistics: Scientific method · Research methods · Experimental design · Undergraduate statistics courses · Statistical tests · Game theory · Decision theory


In statistics, autoregressive moving average (ARMA) models, sometimes called Box-Jenkins models after George Box and G. M. Jenkins, are typically applied to time series data.

Given a time series of data Xt, the ARMA model is a tool for understanding and, perhaps, predicting future values in this series. The model consists of two parts, an autoregressive (AR) part and a moving average (MA) part. The model is usually then referred to as the ARMA(p,q) model where p is the order of the autoregressive part and q is the order of the moving average part (as defined below).

Contents

[edit] Autoregressive model

The notation AR(p) refers to the autoregressive model of order p. The AR(p) model is written

math

where math are the parameters of the model, math is a constant and math is an error term (see below). The constant term is omitted by many authors for simplicity.

An autoregressive model is essentially an infinite impulse response filter with some additional interpretation placed on it.

Some constraints are necessary on the values of the parameters of this model in order that the model remains stationary. For example, processes in the AR(1) model with |φ1| > 1 are not stationary.

[edit] Example: An AR(1)-process

An AR(1)-process is given by

math

where math is a white noise process with zero mean and variance math. (Note: The subscript on math has been dropped.) The process is covariance-stationary if math. If math then math exhibits a unit root and can also be considered as a random walk, which is not covariance-stationary. Otherwise, the calculation of the expectation of math is straightforward. Assuming covariance-stationarity we get

math

thus:

math

where math is the mean. For c = 0, then the mean = 0 and the variance is found to be:

math

The autocovariance is given by

math

It can be seen that the autocovariance function decays with a decay time of math. The spectral density function is the inverse Fourier transform of the autocovariance function. In discrete terms this will be the discrete-time inverse Fourier transform:

math

This expression contains aliasing due to the discrete nature of the math. If we assume that the sampling time (math) is much smaller than the decay time (math), then we can use a continuum approximation to math:

math

which yields a Lorentzian profile for the spectral density:

math

where math is the angular frequency associated with the decay time math.

An alternative expression for math can be derived by first substituting math for math in the defining equation. Continuing this process N times yields

math

For N approaching infinity, math will approach zero and:

math

It is seen that math is white noise convolved with the math kernel plus the constant mean. By the central limit theorem, the math will be normally distributed as will any sample of math which is much longer than the decay time of the autocorrelation function.

[edit] Calculation of the AR parameters

The AR(p) model is given by the equation

math

It is based on parameters math where i = 1, ..., p. Those parameters may be calculated using Yule-Walker equations:

math

where m = 0, ... , p, yielding p + 1 equations. math is the autocorrelation function of X, math is the standard deviation of the input noise process, and δm is the Kronecker delta function.

Because the last part of the equation is non-zero only if m = 0, the equation is usually solved by representing it as a matrix for m > 0, thus getting equation

WikiTeX: latex reported a failure, namely:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)

entering extended mode (./20e1ac4167df22125453aa0c1e69b LaTeX2e <2003/12/01> Babel and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texmf/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texmf/tex/latex/amsmath/amstext.sty (/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf/tex/latex/amsmath/amsopn.sty)) (/usr/share/texmf/tex/latex/amsmath/amscd.sty) (/usr/share/texmf/tex/latex/concmath/concmath.sty) (./20e1ac4167df22125453aa0c1e69b.aux) (/usr/share/texmf/tex/latex/concmath/ot1ccr.fd) (/usr/share/texmf/tex/latex/concmath/omlccm.fd) (/usr/share/texmf/tex/latex/concmath/omsccsy.fd) (/usr/share/texmf/tex/latex/concmath/omxccex.fd) (/usr/share/texmf/tex/latex/amsfonts/umsa.fd) (/usr/share/texmf/tex/latex/amsfonts/umsb.fd) ! Missing $ inserted.

               $

l.11

! Display math should end with $$.

                  \par 

l.11

! Missing $ inserted.

               $

l.14 \begin{bmatrix}

! Missing $ inserted.

               $

l.19 \end{bmatrix}

! Missing $ inserted.

               $

l.21 \begin{bmatrix}

! Missing $ inserted.

               $

l.26 \end{bmatrix}


! LaTeX Error: Bad math environment delimiter.

See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help.

...                                              
                                                 

l.28 \end{equation*}

! Missing $ inserted.

               $

l.28 \end{equation*}

! Display math should end with $$.

                  \endgroup 

l.28 \end{equation*}

[1] (./20e1ac4167df22125453aa0c1e69b.aux) ) (see the transcript file for additional information) Output written on 20e1ac4167df22125453aa0c1e69b.dvi (1 page, 1248 bytes).

Transcript written on 20e1ac4167df22125453aa0c1e69b.log.

solving all math. For m = 0 have

math

which allows us to solve math.

[edit] Derivation

The equation defining the AR process is

math

Multiplying both sides by Xt-m and taking expected value yields

math

Now, math by definition of the autocorrelation function. The values of the noise function are independent of each other, and Xt − m is independent of εt where m is greater than zero. For m ≠ 0, math. For m = 0,

math

Now we have

math

Furthermore,

math

which yields the Yule-Walker equations:

math

[edit] Moving average model

The notation MA(q) refers to the moving average model of order q:

math

where the θ1, ..., θq are the parameters of the model and the εt, εt-1,... are again, the error terms. The moving average model is essentially a finite impulse response filter with some additional interpretation placed on it.

[edit] Autoregressive moving average model

The notation ARMA(p, q) refers to the model with p autoregressive terms and q moving average terms. This model contains the AR(p) and MA(q) models,

math

[edit] Note about the error terms

The error terms εt are generally assumed to be independent identically-distributed random variables sampled from a normal distribution with zero mean: εt ~ N(0,σ2) where σ2 is the variance. These assumptions may be weakened but doing so will change the properties of the model. In particular, a change to the i.i.d. assumption would make a rather fundamental difference.

[edit] Specification in terms of lag operator

In some texts the models will be specified in terms of the lag operator L. In these terms then the AR(p) model is given by

math

where φ represents polynomial

math

The MA(q) model is given by

math

where θ represents the polynomial

math

Finally, the combined ARMA(p, q) model is given by

math

or more concisely,

math

[edit] Fitting models

ARMA models in general can, after choosing p and q, be fitted by least squares regression to find the values of the parameters which minimize the error term. It is generally considered good practice to find the smallest values of p and q which provide an acceptable fit to the data. For a pure AR model then the Yule-Walker equations may be used to provide a fit.

[edit] Generalizations

The dependence of Xt on past values and the error terms εt is assumed to be linear unless specified otherwise. If the dependence is nonlinear, the model is specifically called a nonlinear moving average (NMA), nonlinear autoregressive (NAR), or nonlinear autoregressive moving average (NARMA) model.

Autoregressive moving average models can be generalized in other ways. See also autoregressive conditional heteroskedasticity (ARCH) models and autoregressive integrated moving average (ARIMA) models. If multiple time series are to be fitted then a vectored ARIMA (or VARIMA) model may be fitted. If the time-series in question exhibits long memory then fractional ARIMA (FARIMA, sometimes called ARFIMA) modelling is appropriate. If the data is thought to contain seasonal effects, it may be modeled by a SARIMA (seasonal ARIMA) model.

Another generalization is the multiscale autoregressive (MAR) model. A MAR model is indexed by the nodes of a tree, whereas a standard (discrete time) autoregressive model is indexed by integers. See multiscale autoregressive model for a list of references.

[edit] See also

[edit] References

  • George Box and F.M. Jenkins. Time Series Analysis: Forecasting and Control, second edition. Oakland, CA: Holden-Day, 1976.de:ARMA-Modell

gl:Modelo autorregresivo de media móbilsu:Autoregressive moving average modelzh:ARMA模型

Smallwikipedialogo.png This page uses content from the English-language version of Wikipedia. The original article was at Autoregressive moving average. The list of authors can be seen in the page history. As with Psychology Wiki, the text of Wikipedia is available under the GNU Free Documentation License.

Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Pixar
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
One Piece
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"Autoregressive moving average"
 
 
Hi!

I thought you'd like this page from Wikia!

http://psychology.wikia.com

Come check it out!
Send confirmation