Hello, I am working with pvar model, where I would like to see the response of (gdp cpi credit) to impulse( policy rate) and exogenous variables (US gdp). My code works for endogenous variables but not when I include exogenous variables. I now I am supposed to use DM for exogenous variables. I tried all combinations but it doesn't seem to work. The reported error is either "invalid" or policy rate is not exogenous. please help.
* Estimate pVAR models
pvar rgdplog crelog cpilog policyrate, exog(ffr_us rgdp_us_pch) lags(1)
est store pvar1_1
pvarirf graph dm, imp(ffr_us rgdp_us_pch policyrate) res(rgdplog cpilog crelog)
this works fine though:
pvarirf, imp(policyrate ) res(rgdplog cpilog crelog)
Related Posts with need help using DM (dynamic multiplier) for exogenous variables in PVAR's impulse response
Combining results of different t tests in a tableDear all, I'm new here on the forum, but I have a question about the possibility to combine the out…
Count the number of yearsHi, I have a question of calculating the number of years in Stata. In the data, each ID has an Iss…
Combining 2 ifs and andHi All, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc inst…
How to adjust the scale on the axes of a graph before outputting in a batch file, if the yscale/xscale option is not availableIf I am not using the twoway plot or some other library that has the yscale() or xscale() option, ho…
Event Study and Two-Way Fixed-Effect Diff-in-Diff with varying treatment timingI have MSA level data from 1990-2018 where I am looking at professional sports teams and what happen…
Subscribe to:
Post Comments (Atom)
0 Response to need help using DM (dynamic multiplier) for exogenous variables in PVAR's impulse response
Post a Comment