Hi
I have a system as following:
A(t)= A(t-1) + B(t-1) + C(t-1) + error(t)
B(t)= A(t-1) + B(t-1) + C(t-1) + error (t)
C(t)= A(t-1) + B(t-1) + C(t-1) + error (t)
D(t)= A(t) + B(t) + C(t)+ error (t)
In other words, all equations in the system show a lag relation except for the last equation where the relation is contemporeneous.In addition D variable does not appear in any of the first three equations. The theory underlying this is that the D variable is only affected by A, B, and C in time (t). It is stock return variable and theory assumes that the market is efficient. My aim is to estimate the impulse response fuctions (IRFs) and graph the responses of D to shocks in A, B, and C.
I understand that the system can be estimated using sur command, however, to report the IRFs, I have to estimate the system as a VAR using var command and then graph the IRFs.
My problem is in how to estimate the var while maintaining the lag and contemporeneous relationships so I can report the impulse responses after estimation??
Related Posts with Impulse response functions when the system has equations with lag and contemporeneous relations
Coding LoopsHi all, I've recently moved to STATA from more point-and-click interfaces (i.e. SPSS), and am havin…
conformability error r(503) when looping matrixHello statalists, I'm trying to loop some basic descriptive stats of age according to sex. Right no…
Merge panel and time series datasetIn my panel data set i have mdate, decile (identity), and return variable. In my time series dataset…
mixlpred command after mixlogitDear Stata Users, I run a mixed logit model (-mixlogit-) to identify preferences in a choice experi…
HDFE-PPML. Interacting dyadic fixed effects with the time trendHello, I am currently estimating a standard gravity model to estimate the effect of trade agreements…
Subscribe to:
Post Comments (Atom)
0 Response to Impulse response functions when the system has equations with lag and contemporeneous relations
Post a Comment