Page 1 of 1
MCProcessIRF
Posted: Thu Sep 26, 2013 4:47 pm
by AhmedSahlool
Dear tom,
I hope this finds you well,
I try to apply the procedure @MCProcessIRF, to get the print out of the IRFs after a Gibbs sampling BVAR.
@MCProcessIRF(model=SBVAR_EG,center=median,percentile=||.16,.84||,IRF=ImpEgy, Lower= LowEgy, Upper=UpEgy)
print / ImpEgy
The results that I get are different than the plotted IRFs with @MCGraphIRF; when I plot ImpEgy I get different graphs!!
Would you give me some help on this.
Thank you very much
Re: MCProcessIRF
Posted: Thu Sep 26, 2013 5:28 pm
by TomDoan
Works fine for me. Did you also use CENTER=MEDIAN on the @MCGRAPHIRF?
Re: MCProcessIRF
Posted: Thu Sep 26, 2013 5:50 pm
by AhmedSahlool
Yes, is this the reason?
@MCGraphIRF(model=SBVAR_EG,center=median,percentile=||.16,.84||,page=one),
Another question: if I use the option page = one, how could I have the titles of the graphs as the impact of a "shock" to a "Model variable"
Thank you
Re: MCProcessIRF
Posted: Thu Sep 26, 2013 9:09 pm
by TomDoan
The graphs should be the same, just possibly with different scales.
You may be the first person ever to use PAGE=ONE. I don't recommend it since it doesn't standardize the scales. However, I added the headers to it and posted a new version at
http://www.estima.com/forum/viewtopic.php?f=7&t=995.
Re: MCProcessIRF
Posted: Thu Jan 09, 2014 4:02 pm
by TVolscho-286
Hi Tom,
A quick question. After estimating a VAR, I apply MCProcessIRF to get the IRF and Upper and Lower bands for each variable in the VAR.
@mcprocessirf(model=varmodel, percentiles=||.16, .84||, center=mean, lower=lower, upper=upper, irf=irf)
The IRFs produced by mcprocessirf...are they one-unit or standard deviation shocks?
Thanks,
Tom V.
Re: MCProcessIRF
Posted: Thu Jan 09, 2014 6:19 pm
by TomDoan
TVolscho-286 wrote:Hi Tom,
A quick question. After estimating a VAR, I apply MCProcessIRF to get the IRF and Upper and Lower bands for each variable in the VAR.
@mcprocessirf(model=varmodel, percentiles=||.16, .84||, center=mean, lower=lower, upper=upper, irf=irf)
The IRFs produced by mcprocessirf...are they one-unit or standard deviation shocks?
Thanks,
Tom V.
That depends upon how you generated the %%responses. Unless you did something to do unit shocks, they will be standard deviation shocks.
Re: MCProcessIRF
Posted: Thu Jan 09, 2014 7:49 pm
by TVolscho-286
Thanks Tom.
So from Montevar.rpf, if I wanted one-unit shocks, I would alter the factor option as below, correct?
impulse(noprint,model=model,factor=fsigmad,$
results=impulses,steps=steps)
into:
impulse(noprint,model=model,factor=%identity(nvar),$
results=impulses,steps=steps)
Re: MCProcessIRF
Posted: Thu Jan 09, 2014 9:28 pm
by TomDoan
Yes.