vector autoregressions and impulse response functions the var

146
Vector Autoregressions and Impulse Response Functions The VAR

Upload: elizabeth-bowman

Post on 28-Mar-2015

245 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Vector Autoregressions and Impulse Response Functions The VAR

Vector Autoregressions and Impulse Response Functions

The VAR

Page 2: Vector Autoregressions and Impulse Response Functions The VAR

Introduction

• Assess the selection of the optimal lag length in a VAR

• Evaluate the use of impulse response functions with a VAR

• Assess the importance of variations on the standard VAR

• Critically appraise the use of VAR s with financial models.

• Assess the uses of VECMs

Page 3: Vector Autoregressions and Impulse Response Functions The VAR

Lag Length in VAR

• When estimating VARs or conducting ‘Granger causality’ tests, the test can be sensitive to the lag length of the VAR

• Sometimes the lag length corresponds to the data, such that quarterly data has 4 lags, monthly data has 12 lags etc.

• A more rigorous way to determine the optimal lag length is to use the Akaike or Schwarz-Bayesian information criteria.

• However the estimations tend to be sensitive to the presence of autocorrelation, in this case following the use of information criteria, if there is any evidence of autocorrelation, further lags are added, above the number indicated by the information criteria, until the autocorrelation is removed.

Page 4: Vector Autoregressions and Impulse Response Functions The VAR

Information Criteria

• The main information criteria are the Schwarz-Bayesian criteria and the Akaike criteria.

• They operate on the basis that there are two competing factors from adding more lags to a model. More lags will reduce the RSS, but also means a loss of degrees of freedom (penalty from adding more lags).

• The aim is the minimise the information criteria, by adding an extra lag, it will only benefit the model if the reduction in the RSS outweighs the loss of degrees of freedom.

• In general the Schwarz-Bayesian (SBIC) has a harsher penalty term than the Akaike (AIC), which leads it to indicate a parsimonious model is best.

Page 5: Vector Autoregressions and Impulse Response Functions The VAR

The AIC and SBIC

• The two can be expressed as:

parameters of No.-k size, sample -

varianceresidual ˆ

:

ln)ˆln(

2)ˆln(

2

2

2

T

Where

TT

kSBIC

T

kAIC

Page 6: Vector Autoregressions and Impulse Response Functions The VAR

Multivariate Information Criteria

• The multivariate version of the Akaike information criteria is similar to the univariate:

equations allin regressors ofnumber total

nsobservatio ofnumber

matrix) theof diagonalmain theoff residuals the

between scovariance and diagonalmain on the variances the

gives (This residuals. theofmatrix varˆ

)(/2ˆlog

k

T

ianceCoVariance

AkaikeTkMAIC

Page 7: Vector Autoregressions and Impulse Response Functions The VAR

Multivariate SBIC

• The multivariate version of the SBIC is:

equations allin regressors ofnumber total

nsobservatio ofnumber

residuals theofmatrix varˆ

)log(ˆlog

k

T

ianceCoVariance

TT

kMSBIC

Page 8: Vector Autoregressions and Impulse Response Functions The VAR

The best criterion

• In general there is no agreement on which criteria is best (Diebold for instance recommends the SBIC).

• The Schwarz-Bayesian is strongly consistent but not efficient.

• The Akaike is not consistent, generally producing too large a model, but is more efficient than the Schwarz-Bayesian criteria.

Page 9: Vector Autoregressions and Impulse Response Functions The VAR

VAR Models

• If we assume a 2 variable model, with a single lag, we can write this VAR model as:

) variables of system afor (1* 1** 1* 1*

:asrewritten becan which

110

2

1

12

11

2121

1111

20

10

2

1

211211221202

112111111101

ggggggg

uyy

u

u

y

y

y

y

uyyy

uyyy

ttt

t

t

t

t

t

t

tttt

tttt

Page 10: Vector Autoregressions and Impulse Response Functions The VAR

Criticisms of Causality Tests

Granger causality test, much used in VAR modelling, however do not explain some aspects of the VAR:

• It does not give the sign of the effect, we do not know if it is positive or negative

• It does not show how long the effect lasts for.

• It does not provide evidence of whether this effect is direct or indirect.

Page 11: Vector Autoregressions and Impulse Response Functions The VAR

Impulse Response Functions

• These trace out the effect on the dependent variables in the VAR to shocks to all the variables in the VAR

• Therefore in a system of 2 variables, there are 4 impulse response functions and with 3 there are 9.

• The shock occurs through the error term and affects the dependent variable over time.

• In effect the VAR is expressed as a vector moving average model (VMA), as in the univariate case previously, the shocks to the error terms can then be traced with regard to their impact on the dependent variable.

• If the time path of the impulse response function becomes 0 over time, the system of equations is stable, however they can explode if unstable.

Page 12: Vector Autoregressions and Impulse Response Functions The VAR

Impulse Response Functions

• Given:

0

1

0 at time shock tounit aGiven

:

20

100

1

21

211

11

u

uy

ty

AWhere

uyAy

t

ttt

Page 13: Vector Autoregressions and Impulse Response Functions The VAR

An Impulse Response FunctionShock

0

0.2

0.4

0.6

0.8

1

1.2

0 1 2 3 4 5 6 7 8 9 10

Time

y Shock

Page 14: Vector Autoregressions and Impulse Response Functions The VAR

VARs and SUR

• In general the VAR has all the lag lengths of the individual equations the same size.

• It is possible however to have different lag lengths for different equations, however this involves another estimation method.

• When lag lengths differ, the seemingly unrelated regression (SUR) approach can be used to estimate the equations, this is often termed a ‘near-VAR’.

Page 15: Vector Autoregressions and Impulse Response Functions The VAR

Alternative VARs

• It is possible to include contemporaneous terms in a VAR, however in this case the VAR is not identified.

• It is also possible to include exogenous variables in the VAR, although they do not have separate equations where they act as a dependent variable. They simply act as extra explanatory variables for all the equations in the VAR.

• It is worth noting that the impulse response functions can also produce confidence intervals to determine whether they are significant, this is routinely done by most computer programmes.

Page 16: Vector Autoregressions and Impulse Response Functions The VAR

VECMs

• Vector Error Correction Models (VECM) are the basic VAR, with an error correction term incorporated into the model.

• The reason for the error correction term is the same as with the standard error correction model, it measures any movement away from the long-run equilibrium.

• These are often used as part of a multivariate test for cointegration, such as the Johansen ML test.

Page 17: Vector Autoregressions and Impulse Response Functions The VAR

VECMs

• However there are a number of differing approaches to modelling VECMs, for instance how many lags should there be on the error correction term, usually just one regardless of the order of the VAR

• The error correction term becomes more difficult to interpret, as it is not obvious which variable it affects following a shock

Page 18: Vector Autoregressions and Impulse Response Functions The VAR

VECM

• The most basic VECM is the following first-order VECM:

terms.

correctionerror theare and Where 2211

2

11211

21

11

2

1

t

ttt

t

t

u

uyy

y

y

Page 19: Vector Autoregressions and Impulse Response Functions The VAR

Criticisms of the VAR

• Many argue that the VAR approach is lacking in theory.• There is much debate on how the lag lengths should be

determined• It is possible to end up with a model including numerous

explanatory variables, with different signs, which has implications for degrees of freedom.

• Many of the parameters will be insignificant, this affects the efficiency of a regression.

• There is always a potential for multicollinearity with many lags of the same variable

Page 20: Vector Autoregressions and Impulse Response Functions The VAR

Stationarity and VARs

• Should a VAR include only stationary variables, to be valid?

• Sims argues that even if the variables are not stationary, they should not be first-differenced.

• However others argue that a better approach is a multivariate test for cointegration and then use first-differenced variables and the error correction term

Page 21: Vector Autoregressions and Impulse Response Functions The VAR

VAR Example

• The basic theory behind this following model is simply that we believe there is a relationship between short-term (TBILL) and long-term (R10) interest rates. We believe the VAR approach is the best model in this case.

• Following the Akaike and Schwarz-Bayesian criteria, we find a VAR of order 1 is most appropriate, this produces the following results (edited) :

Page 22: Vector Autoregressions and Impulse Response Functions The VAR

VAR Result• OLS estimation of a single equation in the Unrestricted VAR • ******************************************************************************• Dependent variable is TBILL • 127 observations used for estimation from 1960Q2 to 1991Q4 Regressor Coefficient Standard Error T-Ratio[Prob]• TBILL(-1) .96200 .067845 14.1795[.000]• R10(-1) -.015333 .068439 -.22404[.823]• K .36563 .23386 1.5635[.120]• R-Squared .90159 R-Bar-Squared .90000• Akaike Info. Criterion -165.9593 Schwarz Bayesian Criterion -170.22 • Serial Correlation*CHSQ( 4)= 22.3179[.000]

• Dependent variable is R10 • ******************************************************************************• Regressor Coefficient Standard Error T-Ratio[Prob]• TBILL(-1) .11106 .039920 2.7821[.006]• R10(-1) .87432 .040269 21.7117[.000]• K .26981 .13760 1.9608[.052]• R-Squared .96507 R-Bar-Squared .96451• Akaike Info. Criterion -98.6049 Schwarz Bayesian Criterion -102.8712• Serial Correlation*CHSQ( 4)= 8.6481[.071]

Page 23: Vector Autoregressions and Impulse Response Functions The VAR

Granger Causality Test• ******************************************************************************• Dependent variable is R10 • List of the variables deleted from the regression: TBILL (-1) • 127 observations used for estimation from 1960Q2 to 1991Q4 • ******************************************************************************• Regressor Coefficient Standard Error T-Ratio[Prob]• R10(-1) .97627 .017142 56.9508[.000]• K .20365 .13914 1.4637[.146]• ******************************************************************************• Joint test of zero restrictions on the coefficients of deleted variables: • F Statistic F( 1, 124)= 7.7400[.006] • • Dependent variable is TBILL • List of the variables deleted from the regression: R10(-1) • Regressor Coefficient Standard Error T-Ratio[Prob]• TBILL(-1) .94817 .028025 33.8328[.000]• K .33727 .19589 1.7217[.088]• ******************************************************************************• Joint test of zero restrictions on the coefficients of deleted variables: • F Statistic F( 1, 124)= .050192[.823] • *****************************************************************************

Page 24: Vector Autoregressions and Impulse Response Functions The VAR

Impulse Response Function for TBILL

0

0.2

0.4

0.6

0.8

1

1.2

0 1 2 3 4 5 6 7 8 9 10 11 12

Lags

TBILL TBILL

R10

Page 25: Vector Autoregressions and Impulse Response Functions The VAR

Summary of Results

• When TBILL is the dependent variable, only TBILL(-1) is significant, but the model has serious autocorrelation

• When R10 is the dependent variable, both variables are significant.

• TBILL ‘Granger causes’ R10, but not vice versa• Impulse Response Functions show most of the

effect from a unit shock comes through the lagged dependent variable, but the shock falls away to zero fairly quickly.

Page 26: Vector Autoregressions and Impulse Response Functions The VAR

Granger Causality Tests Continued

• According to Granger, causality can be further sub-divided into long-run and short-run causality.

• This requires the use of error correction models or VECMs, depending on the approach for determining causality.

• Long-run causality is determined by the error correction term, whereby if it is significant, then it indicates evidence of long run causality from the explanatory variable to the dependent variable.

• Short-run causality is determined as before, with a test on the joint significance of the lagged explanatory variables, using an F-test or Wald test.

Page 27: Vector Autoregressions and Impulse Response Functions The VAR

Long-run Causality

• Before the ECM can be formed, there first has to be evidence of cointegration, given that cointegration implies a significant error correction term, cointegration can be viewed as an indirect test of long-run causality.

• It is possible to have evidence of long-run causality, but not short-run causality and vice versa.

• In multivariate causality tests, the testing of long-run causality between two variables is more problematic, as it is impossible to tell which explanatory variable is causing the causality through the error correction term.

Page 28: Vector Autoregressions and Impulse Response Functions The VAR

Causality Example

• The following basic ECM was produced, following evidence of cointegration between s and y:

15.0R1.87,DW

(0.1) (0.9) (0.3) (0.1)

)(7.09.01.03.0

2

111

tttt sysyy

Page 29: Vector Autoregressions and Impulse Response Functions The VAR

Causality Example

• In the previous example, there is long-run causality between ss to y, as the error correction term is significant (t-ratio of 7).

• There is no evidence of short-run causality as the lagged differenced explanatory variable is insignificant (t-ratio of 1, an F-test would also include insignificance).

Page 30: Vector Autoregressions and Impulse Response Functions The VAR

Conclusion

• VARs have a number of important uses, particularly causality tests and forecasting

• To assess the affects of any shock to the system, we need to use impulse response functions and variance decomposition

• VECMs are an alternative, as they allow first-differenced variables and an error correction term.

• The VAR has a number of weaknesses, most importantly its lack of theoretical foundations

Page 31: Vector Autoregressions and Impulse Response Functions The VAR
Page 32: Vector Autoregressions and Impulse Response Functions The VAR
Page 33: Vector Autoregressions and Impulse Response Functions The VAR
Page 34: Vector Autoregressions and Impulse Response Functions The VAR
Page 35: Vector Autoregressions and Impulse Response Functions The VAR
Page 36: Vector Autoregressions and Impulse Response Functions The VAR
Page 37: Vector Autoregressions and Impulse Response Functions The VAR
Page 38: Vector Autoregressions and Impulse Response Functions The VAR
Page 39: Vector Autoregressions and Impulse Response Functions The VAR
Page 40: Vector Autoregressions and Impulse Response Functions The VAR
Page 41: Vector Autoregressions and Impulse Response Functions The VAR
Page 42: Vector Autoregressions and Impulse Response Functions The VAR
Page 43: Vector Autoregressions and Impulse Response Functions The VAR
Page 44: Vector Autoregressions and Impulse Response Functions The VAR
Page 45: Vector Autoregressions and Impulse Response Functions The VAR
Page 46: Vector Autoregressions and Impulse Response Functions The VAR
Page 47: Vector Autoregressions and Impulse Response Functions The VAR
Page 48: Vector Autoregressions and Impulse Response Functions The VAR
Page 49: Vector Autoregressions and Impulse Response Functions The VAR
Page 50: Vector Autoregressions and Impulse Response Functions The VAR
Page 51: Vector Autoregressions and Impulse Response Functions The VAR
Page 52: Vector Autoregressions and Impulse Response Functions The VAR
Page 53: Vector Autoregressions and Impulse Response Functions The VAR
Page 54: Vector Autoregressions and Impulse Response Functions The VAR
Page 55: Vector Autoregressions and Impulse Response Functions The VAR
Page 56: Vector Autoregressions and Impulse Response Functions The VAR
Page 57: Vector Autoregressions and Impulse Response Functions The VAR
Page 58: Vector Autoregressions and Impulse Response Functions The VAR
Page 59: Vector Autoregressions and Impulse Response Functions The VAR
Page 60: Vector Autoregressions and Impulse Response Functions The VAR
Page 61: Vector Autoregressions and Impulse Response Functions The VAR
Page 62: Vector Autoregressions and Impulse Response Functions The VAR
Page 63: Vector Autoregressions and Impulse Response Functions The VAR
Page 64: Vector Autoregressions and Impulse Response Functions The VAR
Page 65: Vector Autoregressions and Impulse Response Functions The VAR
Page 66: Vector Autoregressions and Impulse Response Functions The VAR
Page 67: Vector Autoregressions and Impulse Response Functions The VAR
Page 68: Vector Autoregressions and Impulse Response Functions The VAR
Page 69: Vector Autoregressions and Impulse Response Functions The VAR
Page 70: Vector Autoregressions and Impulse Response Functions The VAR
Page 71: Vector Autoregressions and Impulse Response Functions The VAR
Page 72: Vector Autoregressions and Impulse Response Functions The VAR
Page 73: Vector Autoregressions and Impulse Response Functions The VAR
Page 74: Vector Autoregressions and Impulse Response Functions The VAR
Page 75: Vector Autoregressions and Impulse Response Functions The VAR
Page 76: Vector Autoregressions and Impulse Response Functions The VAR
Page 77: Vector Autoregressions and Impulse Response Functions The VAR
Page 78: Vector Autoregressions and Impulse Response Functions The VAR
Page 79: Vector Autoregressions and Impulse Response Functions The VAR
Page 80: Vector Autoregressions and Impulse Response Functions The VAR
Page 81: Vector Autoregressions and Impulse Response Functions The VAR
Page 82: Vector Autoregressions and Impulse Response Functions The VAR
Page 83: Vector Autoregressions and Impulse Response Functions The VAR
Page 84: Vector Autoregressions and Impulse Response Functions The VAR
Page 85: Vector Autoregressions and Impulse Response Functions The VAR
Page 86: Vector Autoregressions and Impulse Response Functions The VAR
Page 87: Vector Autoregressions and Impulse Response Functions The VAR
Page 88: Vector Autoregressions and Impulse Response Functions The VAR
Page 89: Vector Autoregressions and Impulse Response Functions The VAR
Page 90: Vector Autoregressions and Impulse Response Functions The VAR
Page 91: Vector Autoregressions and Impulse Response Functions The VAR
Page 92: Vector Autoregressions and Impulse Response Functions The VAR
Page 93: Vector Autoregressions and Impulse Response Functions The VAR
Page 94: Vector Autoregressions and Impulse Response Functions The VAR
Page 95: Vector Autoregressions and Impulse Response Functions The VAR
Page 96: Vector Autoregressions and Impulse Response Functions The VAR
Page 97: Vector Autoregressions and Impulse Response Functions The VAR
Page 98: Vector Autoregressions and Impulse Response Functions The VAR
Page 99: Vector Autoregressions and Impulse Response Functions The VAR
Page 100: Vector Autoregressions and Impulse Response Functions The VAR
Page 101: Vector Autoregressions and Impulse Response Functions The VAR
Page 102: Vector Autoregressions and Impulse Response Functions The VAR
Page 103: Vector Autoregressions and Impulse Response Functions The VAR
Page 104: Vector Autoregressions and Impulse Response Functions The VAR
Page 105: Vector Autoregressions and Impulse Response Functions The VAR
Page 106: Vector Autoregressions and Impulse Response Functions The VAR
Page 107: Vector Autoregressions and Impulse Response Functions The VAR
Page 108: Vector Autoregressions and Impulse Response Functions The VAR
Page 109: Vector Autoregressions and Impulse Response Functions The VAR
Page 110: Vector Autoregressions and Impulse Response Functions The VAR
Page 111: Vector Autoregressions and Impulse Response Functions The VAR
Page 112: Vector Autoregressions and Impulse Response Functions The VAR
Page 113: Vector Autoregressions and Impulse Response Functions The VAR
Page 114: Vector Autoregressions and Impulse Response Functions The VAR
Page 115: Vector Autoregressions and Impulse Response Functions The VAR
Page 116: Vector Autoregressions and Impulse Response Functions The VAR
Page 117: Vector Autoregressions and Impulse Response Functions The VAR
Page 118: Vector Autoregressions and Impulse Response Functions The VAR
Page 119: Vector Autoregressions and Impulse Response Functions The VAR
Page 120: Vector Autoregressions and Impulse Response Functions The VAR
Page 121: Vector Autoregressions and Impulse Response Functions The VAR
Page 122: Vector Autoregressions and Impulse Response Functions The VAR
Page 123: Vector Autoregressions and Impulse Response Functions The VAR
Page 124: Vector Autoregressions and Impulse Response Functions The VAR
Page 125: Vector Autoregressions and Impulse Response Functions The VAR
Page 126: Vector Autoregressions and Impulse Response Functions The VAR
Page 127: Vector Autoregressions and Impulse Response Functions The VAR
Page 128: Vector Autoregressions and Impulse Response Functions The VAR
Page 129: Vector Autoregressions and Impulse Response Functions The VAR
Page 130: Vector Autoregressions and Impulse Response Functions The VAR
Page 131: Vector Autoregressions and Impulse Response Functions The VAR
Page 132: Vector Autoregressions and Impulse Response Functions The VAR
Page 133: Vector Autoregressions and Impulse Response Functions The VAR
Page 134: Vector Autoregressions and Impulse Response Functions The VAR
Page 135: Vector Autoregressions and Impulse Response Functions The VAR
Page 136: Vector Autoregressions and Impulse Response Functions The VAR
Page 137: Vector Autoregressions and Impulse Response Functions The VAR
Page 138: Vector Autoregressions and Impulse Response Functions The VAR
Page 139: Vector Autoregressions and Impulse Response Functions The VAR
Page 140: Vector Autoregressions and Impulse Response Functions The VAR
Page 141: Vector Autoregressions and Impulse Response Functions The VAR
Page 142: Vector Autoregressions and Impulse Response Functions The VAR
Page 143: Vector Autoregressions and Impulse Response Functions The VAR
Page 144: Vector Autoregressions and Impulse Response Functions The VAR
Page 145: Vector Autoregressions and Impulse Response Functions The VAR
Page 146: Vector Autoregressions and Impulse Response Functions The VAR