which yields a Lorentzian profile for the spectral density:
Phi(omega)=
frac{1}{sqrt{2pi}},frac{sigma^2}{1-varphi^2},frac{gamma}{pi(gamma^2+omega^2)}where gamma=1/tau is the angular frequency associated with the decay time tau .
An alternative expression for X_t can be derived by first substituting c+varphi X_{t-2}+varepsilon_{t-1} for X_{t-1} in the defining equation. Continuing this process N times yields
X_t=csum_{k=0}^{N-1}varphi^k+varphi^NX_{t-N}+sum_{k=0}^{N-1}varphi^kvarepsilon_{t-k}. For N approaching infinity, varphi^N will approach zero and:
X_t=frac{c}{1-varphi}+sum_{k=0}^inftyvarphi^kvarepsilon_{t-k}. It is seen that X_t is white noise convolved with the varphi^k kernel plus the constant mean. If the white noise varepsilon_t is a Gaussian process then X_t is also a Gaussian process. In other cases, the central limit theorem indicates that X_t will be approximately normally distributed when varphi is close to one.
Calculation of the AR parameters The AR(p ) model is given by the equation
X_t = sum_{i=1}^p varphi_i X_{t-i}+ varepsilon_t., It is based on parameters varphi_i where i = 1, ..., p . There is a direct correspondence between these parameters and the covariance function of the process, and this correspondence can be inverted to determine the parameters from the autocorrelation function (which is itself obtained from the covariances). This is done using the Yule-Walker equations :
gamma_m = sum_{k=1}^p varphi_k gamma_{m-k} + sigma_varepsilon^2delta_m
where m = 0, ... , p , yielding p + 1 equations. gamma_m is the autocorrelation function of X, sigma_varepsilon is the standard deviation of the input noise process, and delta_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
begin{bmatrix}
gamma_1
gamma_2
gamma_3
vdots
end{bmatrix} =
begin{bmatrix}
gamma_0 & gamma_{-1} & gamma_{-2} & dots
gamma_1 & gamma_0 & gamma_{-1} & dots
gamma_2 & gamma_{1} & gamma_{0} & dots
vdots & vdots & vdots & ddots
end{bmatrix}
begin{bmatrix}
varphi_{1}
varphi_{2}
varphi_{3}
vdots
end{bmatrix}
solving all varphi . For m = 0 have
gamma_0 = sum_{k=1}^p varphi_k gamma_{-k} + sigma_varepsilon^2
which allows us to solve sigma_varepsilon^2 .
The above equations (the Yule-Walker equations) provide one route to estimating the parameters of an AR(p) model, by replacing the theoretical covariances with estimated values. One way of specificying the estimated covariances is equivalent to a calculation using least squares regression of values X t on the 'p previous values of the same series.
Derivation The equation defining the AR process is
X_t = sum_{i=1}^p varphi_i,X_{t-i}+ varepsilon_t., Multiplying both sides by X t − m and taking expected value yields
E[X_t X_{t-m}] = Eleft[sum_{i=1}^p varphi_i,X_{t-i} X_{t-m}right]+ E[varepsilon_t X_{t-m}]. Now, E[X t X t − m ] = γm by definition of the autocorrelation function. The values of the noise function are independent of each other, and X t − m is independent of εt where m is greater than zero. For m > 0, E[εt X t − m ] = 0. For m = 0,
E[varepsilon_t X_{t}]
Eleft[varepsilon_t left(sum_{i 1}^p varphi_i,X_{t-i}+ varepsilon_tright)right]
sum_{i 1}^p varphi_i, E[varepsilon_t,X_{t-i}] + E[varepsilon_t^2]
= 0 + sigma_varepsilon^2,
Now we have, for m ≥ 0,
gamma_m = Eleft[sum_{i=1}^p varphi_i,X_{t-i} X_{t-m}right] + sigma_varepsilon^2 delta_m. Furthermore,
Eleft[sum_{i=1}^p varphi_i,X_{t-i} X_{t-m}right]
sum_{i 1}^p varphi_i,E[X_{t} X_{t-m+i}]
sum_{i 1}^p varphi_i,gamma_{m-i},
which yields the Yule-Walker equations:
gamma_m = sum_{i=1}^p varphi_i gamma_{m-i} + sigma_varepsilon^2 delta_m. for m ≥ 0. For m < 0,
gamma_m = gamma_{-m} = sum_{i=1}^p varphi_i gamma_{|m|-i} + sigma_varepsilon^2 delta_m.
Moving average model The notation MA(q ) refers to the moving average model of order q :
X_t = varepsilon_t + sum_{i=1}^q theta_i varepsilon_{t-i}, 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.
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,
X_t = varepsilon_t + sum_{i=1}^p varphi_i X_{t-i} + sum_{i=1}^q theta_i varepsilon_{t-i}.,
Note about the error terms The error terms εt are generally assumed to be independent identically-distributed random variables (i.i.d.) 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.
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
varepsilon_t = left(1 - sum_{i=1}^p varphi_i L^iright) X_t = varphi X_t, where φ represents the polynomial
varphi = 1 - sum_{i=1}^p varphi_i L^i., The MA(q ) model is given by
X_t = left(1 + sum_{i=1}^q theta_i L^iright) varepsilon_t = theta varepsilon_t , , where θ represents the polynomial
theta= 1 + sum_{i=1}^q theta_i L^i ., Finally, the combined ARMA(p , q ) model is given by
left(1 - sum_{i=1}^p varphi_i L^iright) X_t = left(1 + sum_{i=1}^q theta_i L^iright) varepsilon_t , , or more concisely,
varphi X_t = theta varepsilon_t ,
Alternative notation
Some authors, including Box, Jenkins & Reinsel (1994) use a different convention for the autoregression coefficients. This allows all the polynomials involving the lag operator to appear in a similar form throughout. Thus the ARMA model would be written as
left(1 + sum_{i=1}^p phi_i L^iright) X_t = left(1 + sum_{i=1}^q theta_i L^iright) varepsilon_t , .
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 the Yule-Walker equations may be used to provide a fit.
Implementations in statistics packages
Applications
ARMA is appropriate when a system is a function of a series of unobserved shocks (the MA part) as well as its own behavior. For example, stock prices may be shocked by fundamental information as well as exhibiting technical trending and mean-reversion effects due to market participants.
Generalizations The dependence of X t 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 vector ARIMA (or VARIMA) model may be fitted. If the time-series in question exhibits long memory then fractional ARIMA (FARIMA, sometimes called ARFIMA) modelling may be appropriate: see Autoregressive fractionally integrated moving average . If the data is thought to contain seasonal effects, it may be modeled by a SARIMA (seasonal ARIMA) or a periodic ARMA 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.
Note that the ARMA model is an univariate model. Extensions for the multivariate case are the Vector Autoregression (VAR) and Vector Autoregression Moving-Average (VARMA).
Autoregressive moving average model with exogenous inputs model (ARMAX model) The notation ARMAX(p , q , b ) refers to the model with p autoregressive terms, q moving average terms and b eXogenous inputs terms. This model contains the AR(p ) and MA(q ) models and a linear combination of the last b terms of a known and external time series d_t . It is given by:
X_t = varepsilon_t + sum_{i=1}^p varphi_i X_{t-i} + sum_{i=1}^q theta_i varepsilon_{t-i} + sum_{i=1}^b eta_i d_{t-i}.,
where eta_1, ldots, eta_b are the parameters of the exogenous input d_t .Some nonlinear variants of models with exogenous variables have been defined: see for example Nonlinear autoregressive exogenous model .
See also
References
George Box , Gwilym M. Jenkins , and Gregory C. Reinsel. Time Series Analysis: Forecasting and Control , third edition. Prentice-Hall, 1994.
Mills, Terence C. Time Series Techniques for Economists. Cambridge University Press, 1990.
Percival, Donald B. and Andrew T. Walden. Spectral Analysis for Physical Applications. Cambridge University Press, 1993.
Pandit, Sudhakar M. and Wu, Shien-Ming. Time Series and System Analysis with Applications. John Wiley & Sons, Inc., 1983.
External links
Related Articles
HighBeam Research, Inc. © Copyright 2009.
Dictionary.com, LLC. Copyright © 2012 . All rights reserved.