Hi gyus!
I would like to perform a Granger causality test after a VECM. Does anyone have an idea? Stata contains only granger causality tests after VAR models. I would like to perform causality tests after a VECM of rank 3 and lags(4). Does anyone know how I can do this? I found 2 codes in STATA forums, but I'm not aware of which one is more appropriate.
The first command is the following:
1.vec lconsumption lincome, lags(3) test ([D_lconsumption]: LD.lincome L2D.lincome) test ([D_lincome]: LD.lconsumption L2D.lconsumption) 2. and the second option is:
vec ln_ne ln_se test [D_ln_ne]LD.ln_ne + [D_ln_ne]LD.ln_se = 0 Thank you in advance for your answer!
Related Posts with Help Granger Causality test
Find significant percentage mediated with khbDear Statalisters, I have a question on the user-written command khb (https://journals.sagepub.com/…
Using forloop to cycle through multiple variables and create a count variableHello Statalisters, I am working with data on election data over six years per individual. And I wa…
Dividing observations in a loopHello. I want to create new variables based on a set of different variables. Example: ID var1 va…
Help with portfolio indicatorHi everyone, I am kinda lost at the moment and thus would like to ask for your advice. I am evalua…
What does "matrix median = J(1,3,.)" mean?I am trying to draw a graph based on imported coefficients and confident intervals, thanks to the he…
Subscribe to:
Post Comments (Atom)
0 Response to Help Granger Causality test
Post a Comment