fbpx
Wikipedia

Vector autoregression

Vector autoregression (VAR) is a statistical model used to capture the relationship between multiple quantities as they change over time. VAR is a type of stochastic process model. VAR models generalize the single-variable (univariate) autoregressive model by allowing for multivariate time series. VAR models are often used in economics and the natural sciences.

Like the autoregressive model, each variable has an equation modelling its evolution over time. This equation includes the variable's lagged (past) values, the lagged values of the other variables in the model, and an error term. VAR models do not require as much knowledge about the forces influencing a variable as do structural models with simultaneous equations. The only prior knowledge required is a list of variables which can be hypothesized to affect each other over time.

Specification Edit

Definition Edit

A VAR model describes the evolution of a set of k variables, called endogenous variables, over time. Each period of time is numbered, t = 1, ..., T. The variables are collected in a vector, yt, which is of length k. (Equivalently, this vector might be described as a (k × 1)-matrix.) The vector is modelled as a linear function of its previous value. The vector's components are referred to as yi,t, meaning the observation at time t of the i th variable. For example, if the first variable in the model measures the price of wheat over time, then y1,1998 would indicate the price of wheat in the year 1998.

VAR models are characterized by their order, which refers to the number of earlier time periods the model will use. Continuing the above example, a 5th-order VAR would model each year's wheat price as a linear combination of the last five years of wheat prices. A lag is the value of a variable in a previous time period. So in general a pth-order VAR refers to a VAR model which includes lags for the last p time periods. A pth-order VAR is denoted "VAR(p)" and sometimes called "a VAR with p lags". A pth-order VAR model is written as

 

The variables of the form yt−i indicate that variable's value i time periods earlier and are called the "ith lag" of yt. The variable c is a k-vector of constants serving as the intercept of the model. Ai is a time-invariant (k × k)-matrix and et is a k-vector of error terms. The error terms must satisfy three conditions:

  1.  . Every error term has a mean of zero.
  2.  . The contemporaneous covariance matrix of error terms is a k × k positive-semidefinite matrix denoted Ω.
  3.   for any non-zero k. There is no correlation across time. In particular, there is no serial correlation in individual error terms.[1]

The process of choosing the maximum lag p in the VAR model requires special attention because inference is dependent on correctness of the selected lag order.[2][3]

Order of integration of the variables Edit

Note that all variables have to be of the same order of integration. The following cases are distinct:

  • All the variables are I(0) (stationary): this is in the standard case, i.e. a VAR in level
  • All the variables are I(d) (non-stationary) with d > 0:[citation needed]
    • The variables are cointegrated: the error correction term has to be included in the VAR. The model becomes a Vector error correction model (VECM) which can be seen as a restricted VAR.
    • The variables are not cointegrated: first, the variables have to be differenced d times and one has a VAR in difference.

Concise matrix notation Edit

One can stack the vectors in order to write a VAR(p) as a stochastic matrix difference equation, with a concise matrix notation:

 

Details of the matrices are in a separate page.

Example Edit

For a general example of a VAR(p) with k variables, see General matrix notation of a VAR(p).

A VAR(1) in two variables can be written in matrix form (more compact notation) as

 

(in which only a single A matrix appears because this example has a maximum lag p equal to 1), or, equivalently, as the following system of two equations

 
 

Each variable in the model has one equation. The current (time t) observation of each variable depends on its own lagged values as well as on the lagged values of each other variable in the VAR.

Writing VAR(p) as VAR(1) Edit

A VAR with p lags can always be equivalently rewritten as a VAR with only one lag by appropriately redefining the dependent variable. The transformation amounts to stacking the lags of the VAR(p) variable in the new VAR(1) dependent variable and appending identities to complete the number of equations.

For example, the VAR(2) model

 

can be recast as the VAR(1) model

 

where I is the identity matrix.

The equivalent VAR(1) form is more convenient for analytical derivations and allows more compact statements.

Structural vs. reduced form Edit

Structural VAR Edit

A structural VAR with p lags (sometimes abbreviated SVAR) is

 

where c0 is a k × 1 vector of constants, Bi is a k × k matrix (for every i = 0, ..., p) and εt is a k × 1 vector of error terms. The main diagonal terms of the B0 matrix (the coefficients on the ith variable in the ith equation) are scaled to 1.

The error terms εt (structural shocks) satisfy the conditions (1) - (3) in the definition above, with the particularity that all the elements in the off diagonal of the covariance matrix   are zero. That is, the structural shocks are uncorrelated.

For example, a two variable structural VAR(1) is:

 

where

 

that is, the variances of the structural shocks are denoted   (i = 1, 2) and the covariance is  .

Writing the first equation explicitly and passing y2,t to the right hand side one obtains

 

Note that y2,t can have a contemporaneous effect on y1,t if B0;1,2 is not zero. This is different from the case when B0 is the identity matrix (all off-diagonal elements are zero — the case in the initial definition), when y2,t can impact directly y1,t+1 and subsequent future values, but not y1,t.

Because of the parameter identification problem, ordinary least squares estimation of the structural VAR would yield inconsistent parameter estimates. This problem can be overcome by rewriting the VAR in reduced form.

From an economic point of view, if the joint dynamics of a set of variables can be represented by a VAR model, then the structural form is a depiction of the underlying, "structural", economic relationships. Two features of the structural form make it the preferred candidate to represent the underlying relations:

1. Error terms are not correlated. The structural, economic shocks which drive the dynamics of the economic variables are assumed to be independent, which implies zero correlation between error terms as a desired property. This is helpful for separating out the effects of economically unrelated influences in the VAR. For instance, there is no reason why an oil price shock (as an example of a supply shock) should be related to a shift in consumers' preferences towards a style of clothing (as an example of a demand shock); therefore one would expect these factors to be statistically independent.
2. Variables can have a contemporaneous impact on other variables. This is a desirable feature especially when using low frequency data. For example, an indirect tax rate increase would not affect tax revenues the day the decision is announced, but one could find an effect in that quarter's data.

Reduced-form VAR Edit

By premultiplying the structural VAR with the inverse of B0

 

and denoting

 

one obtains the pth order reduced VAR

 

Note that in the reduced form all right hand side variables are predetermined at time t. As there are no time t endogenous variables on the right hand side, no variable has a direct contemporaneous effect on other variables in the model.

However, the error terms in the reduced VAR are composites of the structural shocks et = B0−1εt. Thus, the occurrence of one structural shock εi,t can potentially lead to the occurrence of shocks in all error terms ej,t, thus creating contemporaneous movement in all endogenous variables. Consequently, the covariance matrix of the reduced VAR

 

can have non-zero off-diagonal elements, thus allowing non-zero correlation between error terms.

Estimation Edit

Estimation of the regression parameters Edit

Starting from the concise matrix notation (for details see this annex):

 
 

This can be written alternatively as:

 

where   denotes the Kronecker product and Vec the vectorization of the indicated matrix.

This estimator is consistent and asymptotically efficient. It is furthermore equal to the conditional maximum likelihood estimator.[4]

  • As the explanatory variables are the same in each equation, the multivariate least squares estimator is equivalent to the ordinary least squares estimator applied to each equation separately.[5]

Estimation of the covariance matrix of the errors Edit

As in the standard case, the maximum likelihood estimator (MLE) of the covariance matrix differs from the ordinary least squares (OLS) estimator.

MLE estimator:[citation needed]  

OLS estimator:[citation needed]   for a model with a constant, k variables and p lags.

In a matrix notation, this gives:

 

Estimation of the estimator's covariance matrix Edit

The covariance matrix of the parameters can be estimated as[citation needed]

 

Degrees of freedom Edit

Vector autoregression models often involve the estimation of many parameters. For example, with seven variables and four lags, each matrix of coefficients for a given lag length is 7 by 7, and the vector of constants has 7 elements, so a total of 49×4 + 7 = 203 parameters are estimated, substantially lowering the degrees of freedom of the regression (the number of data points minus the number of parameters to be estimated). This can hurt the accuracy of the parameter estimates and hence of the forecasts given by the model.

Interpretation of estimated model Edit

Properties of the VAR model are usually summarized using structural analysis using Granger causality, impulse responses, and forecast error variance decompositions.

Impulse response Edit

Consider the first-order case (i.e., with only one lag), with equation of evolution

 

for evolving (state) vector   and vector   of shocks. To find, say, the effect of the j-th element of the vector of shocks upon the i-th element of the state vector 2 periods later, which is a particular impulse response, first write the above equation of evolution one period lagged:

 

Use this in the original equation of evolution to obtain

 

then repeat using the twice lagged equation of evolution, to obtain

 

From this, the effect of the j-th component of   upon the i-th component of   is the i, j element of the matrix  

It can be seen from this induction process that any shock will have an effect on the elements of y infinitely far forward in time, although the effect will become smaller and smaller over time assuming that the AR process is stable — that is, that all the eigenvalues of the matrix A are less than 1 in absolute value.

Forecasting using an estimated VAR model Edit

An estimated VAR model can be used for forecasting, and the quality of the forecasts can be judged, in ways that are completely analogous to the methods used in univariate autoregressive modelling.

Applications Edit

Christopher Sims has advocated VAR models, criticizing the claims and performance of earlier modeling in macroeconomic econometrics.[6] He recommended VAR models, which had previously appeared in time series statistics and in system identification, a statistical specialty in control theory. Sims advocated VAR models as providing a theory-free method to estimate economic relationships, thus being an alternative to the "incredible identification restrictions" in structural models.[6] VAR models are also increasingly used in health research for automatic analyses of diary data[7] or sensor data.

Software Edit

See also Edit

Notes Edit

  1. ^ For multivariate tests for autocorrelation in the VAR models, see Hatemi-J, A. (2004). "Multivariate tests for autocorrelation in the stable and unstable VAR models". Economic Modelling. 21 (4): 661–683. doi:10.1016/j.econmod.2003.09.005.
  2. ^ Hacker, R. S.; Hatemi-J, A. (2008). "Optimal lag-length choice in stable and unstable VAR models under situations of homoscedasticity and ARCH". Journal of Applied Statistics. 35 (6): 601–615. doi:10.1080/02664760801920473.
  3. ^ Hatemi-J, A.; Hacker, R. S. (2009). "Can the LR test be helpful in choosing the optimal lag order in the VAR model when information criteria suggest different lag orders?". Applied Economics. 41 (9): 1489–1500.
  4. ^ Hamilton, James D. (1994). Time Series Analysis. Princeton University Press. p. 293.
  5. ^ Zellner, Arnold (1962). "An Efficient Method of Estimating Seemingly Unrelated Regressions and Tests for Aggregation Bias". Journal of the American Statistical Association. 57 (298): 348–368. doi:10.1080/01621459.1962.10480664.
  6. ^ a b Sims, Christopher (1980). "Macroeconomics and Reality". Econometrica. 48 (1): 1–48. CiteSeerX 10.1.1.163.5425. doi:10.2307/1912017. JSTOR 1912017.
  7. ^ van der Krieke; et al. (2016). "Temporal Dynamics of Health and Well-Being: A Crowdsourcing Approach to Momentary Assessments and Automated Generation of Personalized Feedback (2016)". Psychosomatic Medicine: 1. doi:10.1097/PSY.0000000000000378. PMID 27551988.
  8. ^ Bernhard Pfaff VAR, SVAR and SVEC Models: Implementation Within R Package vars
  9. ^ Hyndman, Rob J; Athanasopoulos, George (2018). "11.2: Vector Autoregressions". Forecasting: Principles and Practice. OTexts. pp. 333–335. ISBN 978-0-9875071-1-2.
  10. ^ Holtz-Eakin, D., Newey, W., and Rosen, H. S. (1988). Estimating Vector Autoregressions with Panel Data. Econometrica, 56(6):1371–1395.

Further reading Edit

  • Asteriou, Dimitrios; Hall, Stephen G. (2011). "Vector Autoregressive (VAR) Models and Causality Tests". Applied Econometrics (Second ed.). London: Palgrave MacMillan. pp. 319–333.
  • Enders, Walter (2010). Applied Econometric Time Series (Third ed.). New York: John Wiley & Sons. pp. 272–355. ISBN 978-0-470-50539-7.
  • Favero, Carlo A. (2001). Applied Macroeconometrics. New York: Oxford University Press. pp. 162–213. ISBN 0-19-829685-1.
  • Lütkepohl, Helmut (2005). New Introduction to Multiple Time Series Analysis. Berlin: Springer. ISBN 3-540-40172-5.
  • Qin, Duo (2011). "Rise of VAR Modelling Approach". Journal of Economic Surveys. 25 (1): 156–174. doi:10.1111/j.1467-6419.2010.00637.x.

vector, autoregression, other, uses, disambiguation, this, article, includes, list, general, references, lacks, sufficient, corresponding, inline, citations, please, help, improve, this, article, introducing, more, precise, citations, february, 2012, learn, wh. For other uses of Var see Var disambiguation This article includes a list of general references but it lacks sufficient corresponding inline citations Please help to improve this article by introducing more precise citations February 2012 Learn how and when to remove this template message Vector autoregression VAR is a statistical model used to capture the relationship between multiple quantities as they change over time VAR is a type of stochastic process model VAR models generalize the single variable univariate autoregressive model by allowing for multivariate time series VAR models are often used in economics and the natural sciences Like the autoregressive model each variable has an equation modelling its evolution over time This equation includes the variable s lagged past values the lagged values of the other variables in the model and an error term VAR models do not require as much knowledge about the forces influencing a variable as do structural models with simultaneous equations The only prior knowledge required is a list of variables which can be hypothesized to affect each other over time Contents 1 Specification 1 1 Definition 1 2 Order of integration of the variables 1 3 Concise matrix notation 1 4 Example 1 5 Writing VAR p as VAR 1 2 Structural vs reduced form 2 1 Structural VAR 2 2 Reduced form VAR 3 Estimation 3 1 Estimation of the regression parameters 3 2 Estimation of the covariance matrix of the errors 3 3 Estimation of the estimator s covariance matrix 3 4 Degrees of freedom 4 Interpretation of estimated model 4 1 Impulse response 5 Forecasting using an estimated VAR model 6 Applications 7 Software 8 See also 9 Notes 10 Further readingSpecification EditThis section includes a list of references related reading or external links but its sources remain unclear because it lacks inline citations Please help to improve this section by introducing more precise citations February 2012 Learn how and when to remove this template message Definition Edit A VAR model describes the evolution of a set of k variables called endogenous variables over time Each period of time is numbered t 1 T The variables are collected in a vector yt which is of length k Equivalently this vector might be described as a k 1 matrix The vector is modelled as a linear function of its previous value The vector s components are referred to as yi t meaning the observation at time t of the i th variable For example if the first variable in the model measures the price of wheat over time then y1 1998 would indicate the price of wheat in the year 1998 VAR models are characterized by their order which refers to the number of earlier time periods the model will use Continuing the above example a 5th order VAR would model each year s wheat price as a linear combination of the last five years of wheat prices A lag is the value of a variable in a previous time period So in general a pth order VAR refers to a VAR model which includes lags for the last p time periods A pth order VAR is denoted VAR p and sometimes called a VAR with p lags A pth order VAR model is written as y t c A 1 y t 1 A 2 y t 2 A p y t p e t displaystyle y t c A 1 y t 1 A 2 y t 2 cdots A p y t p e t nbsp The variables of the form yt i indicate that variable s value i time periods earlier and are called the ith lag of yt The variable c is a k vector of constants serving as the intercept of the model Ai is a time invariant k k matrix and et is a k vector of error terms The error terms must satisfy three conditions E e t 0 displaystyle mathrm E e t 0 nbsp Every error term has a mean of zero E e t e t W displaystyle mathrm E e t e t Omega nbsp The contemporaneous covariance matrix of error terms is a k k positive semidefinite matrix denoted W E e t e t k 0 displaystyle mathrm E e t e t k 0 nbsp for any non zero k There is no correlation across time In particular there is no serial correlation in individual error terms 1 The process of choosing the maximum lag p in the VAR model requires special attention because inference is dependent on correctness of the selected lag order 2 3 Order of integration of the variables Edit Note that all variables have to be of the same order of integration The following cases are distinct All the variables are I 0 stationary this is in the standard case i e a VAR in level All the variables are I d non stationary with d gt 0 citation needed The variables are cointegrated the error correction term has to be included in the VAR The model becomes a Vector error correction model VECM which can be seen as a restricted VAR The variables are not cointegrated first the variables have to be differenced d times and one has a VAR in difference Concise matrix notation Edit One can stack the vectors in order to write a VAR p as a stochastic matrix difference equation with a concise matrix notation Y B Z U displaystyle Y BZ U nbsp Details of the matrices are in a separate page Example Edit For a general example of a VAR p with k variables see General matrix notation of a VAR p A VAR 1 in two variables can be written in matrix form more compact notation as y 1 t y 2 t c 1 c 2 a 1 1 a 1 2 a 2 1 a 2 2 y 1 t 1 y 2 t 1 e 1 t e 2 t displaystyle begin bmatrix y 1 t y 2 t end bmatrix begin bmatrix c 1 c 2 end bmatrix begin bmatrix a 1 1 amp a 1 2 a 2 1 amp a 2 2 end bmatrix begin bmatrix y 1 t 1 y 2 t 1 end bmatrix begin bmatrix e 1 t e 2 t end bmatrix nbsp in which only a single A matrix appears because this example has a maximum lag p equal to 1 or equivalently as the following system of two equations y 1 t c 1 a 1 1 y 1 t 1 a 1 2 y 2 t 1 e 1 t displaystyle y 1 t c 1 a 1 1 y 1 t 1 a 1 2 y 2 t 1 e 1 t nbsp y 2 t c 2 a 2 1 y 1 t 1 a 2 2 y 2 t 1 e 2 t displaystyle y 2 t c 2 a 2 1 y 1 t 1 a 2 2 y 2 t 1 e 2 t nbsp Each variable in the model has one equation The current time t observation of each variable depends on its own lagged values as well as on the lagged values of each other variable in the VAR Writing VAR p as VAR 1 Edit A VAR with p lags can always be equivalently rewritten as a VAR with only one lag by appropriately redefining the dependent variable The transformation amounts to stacking the lags of the VAR p variable in the new VAR 1 dependent variable and appending identities to complete the number of equations For example the VAR 2 model y t c A 1 y t 1 A 2 y t 2 e t displaystyle y t c A 1 y t 1 A 2 y t 2 e t nbsp can be recast as the VAR 1 model y t y t 1 c 0 A 1 A 2 I 0 y t 1 y t 2 e t 0 displaystyle begin bmatrix y t y t 1 end bmatrix begin bmatrix c 0 end bmatrix begin bmatrix A 1 amp A 2 I amp 0 end bmatrix begin bmatrix y t 1 y t 2 end bmatrix begin bmatrix e t 0 end bmatrix nbsp dd where I is the identity matrix The equivalent VAR 1 form is more convenient for analytical derivations and allows more compact statements Structural vs reduced form EditStructural VAR Edit A structural VAR with p lags sometimes abbreviated SVAR is B 0 y t c 0 B 1 y t 1 B 2 y t 2 B p y t p ϵ t displaystyle B 0 y t c 0 B 1 y t 1 B 2 y t 2 cdots B p y t p epsilon t nbsp where c0 is a k 1 vector of constants Bi is a k k matrix for every i 0 p and et is a k 1 vector of error terms The main diagonal terms of the B0 matrix the coefficients on the ith variable in the ith equation are scaled to 1 The error terms et structural shocks satisfy the conditions 1 3 in the definition above with the particularity that all the elements in the off diagonal of the covariance matrix E ϵ t ϵ t S displaystyle mathrm E epsilon t epsilon t Sigma nbsp are zero That is the structural shocks are uncorrelated For example a two variable structural VAR 1 is 1 B 0 1 2 B 0 2 1 1 y 1 t y 2 t c 0 1 c 0 2 B 1 1 1 B 1 1 2 B 1 2 1 B 1 2 2 y 1 t 1 y 2 t 1 ϵ 1 t ϵ 2 t displaystyle begin bmatrix 1 amp B 0 1 2 B 0 2 1 amp 1 end bmatrix begin bmatrix y 1 t y 2 t end bmatrix begin bmatrix c 0 1 c 0 2 end bmatrix begin bmatrix B 1 1 1 amp B 1 1 2 B 1 2 1 amp B 1 2 2 end bmatrix begin bmatrix y 1 t 1 y 2 t 1 end bmatrix begin bmatrix epsilon 1 t epsilon 2 t end bmatrix nbsp where S E ϵ t ϵ t s 1 2 0 0 s 2 2 displaystyle Sigma mathrm E epsilon t epsilon t begin bmatrix sigma 1 2 amp 0 0 amp sigma 2 2 end bmatrix nbsp that is the variances of the structural shocks are denoted v a r ϵ i s i 2 displaystyle mathrm var epsilon i sigma i 2 nbsp i 1 2 and the covariance is c o v ϵ 1 ϵ 2 0 displaystyle mathrm cov epsilon 1 epsilon 2 0 nbsp Writing the first equation explicitly and passing y2 t to the right hand side one obtains y 1 t c 0 1 B 0 1 2 y 2 t B 1 1 1 y 1 t 1 B 1 1 2 y 2 t 1 ϵ 1 t displaystyle y 1 t c 0 1 B 0 1 2 y 2 t B 1 1 1 y 1 t 1 B 1 1 2 y 2 t 1 epsilon 1 t nbsp Note that y2 t can have a contemporaneous effect on y1 t if B0 1 2 is not zero This is different from the case when B0 is the identity matrix all off diagonal elements are zero the case in the initial definition when y2 t can impact directly y1 t 1 and subsequent future values but not y1 t Because of the parameter identification problem ordinary least squares estimation of the structural VAR would yield inconsistent parameter estimates This problem can be overcome by rewriting the VAR in reduced form From an economic point of view if the joint dynamics of a set of variables can be represented by a VAR model then the structural form is a depiction of the underlying structural economic relationships Two features of the structural form make it the preferred candidate to represent the underlying relations 1 Error terms are not correlated The structural economic shocks which drive the dynamics of the economic variables are assumed to be independent which implies zero correlation between error terms as a desired property This is helpful for separating out the effects of economically unrelated influences in the VAR For instance there is no reason why an oil price shock as an example of a supply shock should be related to a shift in consumers preferences towards a style of clothing as an example of a demand shock therefore one would expect these factors to be statistically independent 2 Variables can have a contemporaneous impact on other variables This is a desirable feature especially when using low frequency data For example an indirect tax rate increase would not affect tax revenues the day the decision is announced but one could find an effect in that quarter s data Reduced form VAR Edit By premultiplying the structural VAR with the inverse of B0 y t B 0 1 c 0 B 0 1 B 1 y t 1 B 0 1 B 2 y t 2 B 0 1 B p y t p B 0 1 ϵ t displaystyle y t B 0 1 c 0 B 0 1 B 1 y t 1 B 0 1 B 2 y t 2 cdots B 0 1 B p y t p B 0 1 epsilon t nbsp and denoting B 0 1 c 0 c B 0 1 B i A i for i 1 p and B 0 1 ϵ t e t displaystyle B 0 1 c 0 c quad B 0 1 B i A i text for i 1 dots p text and B 0 1 epsilon t e t nbsp one obtains the pth order reduced VAR y t c A 1 y t 1 A 2 y t 2 A p y t p e t displaystyle y t c A 1 y t 1 A 2 y t 2 cdots A p y t p e t nbsp Note that in the reduced form all right hand side variables are predetermined at time t As there are no time t endogenous variables on the right hand side no variable has a direct contemporaneous effect on other variables in the model However the error terms in the reduced VAR are composites of the structural shocks et B0 1et Thus the occurrence of one structural shock ei t can potentially lead to the occurrence of shocks in all error terms ej t thus creating contemporaneous movement in all endogenous variables Consequently the covariance matrix of the reduced VAR W E e t e t E B 0 1 ϵ t ϵ t B 0 1 B 0 1 S B 0 1 displaystyle Omega mathrm E e t e t mathrm E B 0 1 epsilon t epsilon t B 0 1 B 0 1 Sigma B 0 1 nbsp can have non zero off diagonal elements thus allowing non zero correlation between error terms Estimation EditEstimation of the regression parameters Edit Starting from the concise matrix notation for details see this annex Y B Z U displaystyle Y BZ U nbsp The multivariate least squares MLS approach for estimating B yields B Y Z Z Z 1 displaystyle hat B YZ ZZ 1 nbsp This can be written alternatively as Vec B Z Z 1 Z I k Vec Y displaystyle operatorname Vec hat B ZZ 1 Z otimes I k operatorname Vec Y nbsp where displaystyle otimes nbsp denotes the Kronecker product and Vec the vectorization of the indicated matrix This estimator is consistent and asymptotically efficient It is furthermore equal to the conditional maximum likelihood estimator 4 As the explanatory variables are the same in each equation the multivariate least squares estimator is equivalent to the ordinary least squares estimator applied to each equation separately 5 Estimation of the covariance matrix of the errors Edit As in the standard case the maximum likelihood estimator MLE of the covariance matrix differs from the ordinary least squares OLS estimator MLE estimator citation needed S 1 T t 1 T ϵ t ϵ t displaystyle hat Sigma frac 1 T sum t 1 T hat epsilon t hat epsilon t nbsp OLS estimator citation needed S 1 T k p 1 t 1 T ϵ t ϵ t displaystyle hat Sigma frac 1 T kp 1 sum t 1 T hat epsilon t hat epsilon t nbsp for a model with a constant k variables and p lags In a matrix notation this gives S 1 T k p 1 Y B Z Y B Z displaystyle hat Sigma frac 1 T kp 1 Y hat B Z Y hat B Z nbsp Estimation of the estimator s covariance matrix Edit The covariance matrix of the parameters can be estimated as citation needed Cov Vec B Z Z 1 S displaystyle widehat mbox Cov mbox Vec hat B ZZ 1 otimes hat Sigma nbsp Degrees of freedom Edit Vector autoregression models often involve the estimation of many parameters For example with seven variables and four lags each matrix of coefficients for a given lag length is 7 by 7 and the vector of constants has 7 elements so a total of 49 4 7 203 parameters are estimated substantially lowering the degrees of freedom of the regression the number of data points minus the number of parameters to be estimated This can hurt the accuracy of the parameter estimates and hence of the forecasts given by the model Interpretation of estimated model EditProperties of the VAR model are usually summarized using structural analysis using Granger causality impulse responses and forecast error variance decompositions Impulse response Edit Consider the first order case i e with only one lag with equation of evolution y t A y t 1 e t displaystyle y t Ay t 1 e t nbsp for evolving state vector y displaystyle y nbsp and vector e displaystyle e nbsp of shocks To find say the effect of the j th element of the vector of shocks upon the i th element of the state vector 2 periods later which is a particular impulse response first write the above equation of evolution one period lagged y t 1 A y t 2 e t 1 displaystyle y t 1 Ay t 2 e t 1 nbsp Use this in the original equation of evolution to obtain y t A 2 y t 2 A e t 1 e t displaystyle y t A 2 y t 2 Ae t 1 e t nbsp then repeat using the twice lagged equation of evolution to obtain y t A 3 y t 3 A 2 e t 2 A e t 1 e t displaystyle y t A 3 y t 3 A 2 e t 2 Ae t 1 e t nbsp From this the effect of the j th component of e t 2 displaystyle e t 2 nbsp upon the i th component of y t displaystyle y t nbsp is the i j element of the matrix A 2 displaystyle A 2 nbsp It can be seen from this induction process that any shock will have an effect on the elements of y infinitely far forward in time although the effect will become smaller and smaller over time assuming that the AR process is stable that is that all the eigenvalues of the matrix A are less than 1 in absolute value Forecasting using an estimated VAR model EditMain articles Autoregressive model n step ahead forecasting and Autoregressive model Evaluating the quality of forecasts An estimated VAR model can be used for forecasting and the quality of the forecasts can be judged in ways that are completely analogous to the methods used in univariate autoregressive modelling Applications EditChristopher Sims has advocated VAR models criticizing the claims and performance of earlier modeling in macroeconomic econometrics 6 He recommended VAR models which had previously appeared in time series statistics and in system identification a statistical specialty in control theory Sims advocated VAR models as providing a theory free method to estimate economic relationships thus being an alternative to the incredible identification restrictions in structural models 6 VAR models are also increasingly used in health research for automatic analyses of diary data 7 or sensor data Software EditR The package vars includes functions for VAR models 8 9 Other R packages are listed in the CRAN Task View Time Series Analysis Python The statsmodels package s tsa time series analysis module supports VARs PyFlux has support for VARs and Bayesian VARs SAS VARMAX Stata var EViews VAR Gretl var Matlab varm Regression analysis of time series SYSTEM LDTSee also EditBayesian vector autoregression Convergent cross mapping Granger causality Panel vector autoregression an extension of VAR models to panel data 10 Variance decompositionNotes Edit For multivariate tests for autocorrelation in the VAR models see Hatemi J A 2004 Multivariate tests for autocorrelation in the stable and unstable VAR models Economic Modelling 21 4 661 683 doi 10 1016 j econmod 2003 09 005 Hacker R S Hatemi J A 2008 Optimal lag length choice in stable and unstable VAR models under situations of homoscedasticity and ARCH Journal of Applied Statistics 35 6 601 615 doi 10 1080 02664760801920473 Hatemi J A Hacker R S 2009 Can the LR test be helpful in choosing the optimal lag order in the VAR model when information criteria suggest different lag orders Applied Economics 41 9 1489 1500 Hamilton James D 1994 Time Series Analysis Princeton University Press p 293 Zellner Arnold 1962 An Efficient Method of Estimating Seemingly Unrelated Regressions and Tests for Aggregation Bias Journal of the American Statistical Association 57 298 348 368 doi 10 1080 01621459 1962 10480664 a b Sims Christopher 1980 Macroeconomics and Reality Econometrica 48 1 1 48 CiteSeerX 10 1 1 163 5425 doi 10 2307 1912017 JSTOR 1912017 van der Krieke et al 2016 Temporal Dynamics of Health and Well Being A Crowdsourcing Approach to Momentary Assessments and Automated Generation of Personalized Feedback 2016 Psychosomatic Medicine 1 doi 10 1097 PSY 0000000000000378 PMID 27551988 Bernhard Pfaff VAR SVAR and SVEC Models Implementation Within R Package vars Hyndman Rob J Athanasopoulos George 2018 11 2 Vector Autoregressions Forecasting Principles and Practice OTexts pp 333 335 ISBN 978 0 9875071 1 2 Holtz Eakin D Newey W and Rosen H S 1988 Estimating Vector Autoregressions with Panel Data Econometrica 56 6 1371 1395 Further reading EditAsteriou Dimitrios Hall Stephen G 2011 Vector Autoregressive VAR Models and Causality Tests Applied Econometrics Second ed London Palgrave MacMillan pp 319 333 Enders Walter 2010 Applied Econometric Time Series Third ed New York John Wiley amp Sons pp 272 355 ISBN 978 0 470 50539 7 Favero Carlo A 2001 Applied Macroeconometrics New York Oxford University Press pp 162 213 ISBN 0 19 829685 1 Lutkepohl Helmut 2005 New Introduction to Multiple Time Series Analysis Berlin Springer ISBN 3 540 40172 5 Qin Duo 2011 Rise of VAR Modelling Approach Journal of Economic Surveys 25 1 156 174 doi 10 1111 j 1467 6419 2010 00637 x Retrieved from https en wikipedia org w index php title Vector autoregression amp oldid 1163194504, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.