Page 1 of 1
changing parameter values in IRFs
Posted:
Thu Jul 13, 2006 9:39 am
by alenot
Hi,
I'd like dynare to compute and show impulse response functions for given variables and shocks, when one of the structural parameters assumes different possible values. E.g.: the response of output to a tech shock when the depreciation rate is equal to 0.2, 0.25, 0.3, 0.35. Is it possible to plot the 4 IRFs in a single graph?
Posted:
Fri Jul 14, 2006 4:06 pm
by MichelJuillard
you need to mix Matlab commands and Dynare commands in the *.mod file
I will post an example in about 10 days. (I'm on the road right now)
Best
Michel
Posted:
Mon Jul 17, 2006 8:23 am
by alenot
Thanks a lot
Alessandro
Posted:
Thu Aug 10, 2006 2:35 pm
by MichelJuillard
Attached is finally an example for doing IRF in a loop with different parameter values.
Sorry for the delay
Michel
Posted:
Mon Aug 28, 2006 12:29 pm
by alenot
Dear Michel,
thank you for the reply. I tried to run the example file, but it looks like the command 'graph' cannot be used in the 3.064 version. Everything else works perfectly.
Thank you
Alessandro
Posted:
Mon Aug 28, 2006 6:57 pm
by MichelJuillard
Dear Alessandro,
I tested it with the snapshot for version 3.
Best
Michel
Posted:
Wed Feb 13, 2008 10:30 am
by aemkei1982
Dear Michel,
I was trying to use the loop-section of the example file you provided for plotting IRFs of different parameter values into one graph.
In my example I just replaced the parameter psi from your example and left everything else as it was.
Which parts do I have to alter if I have more endogenous variables than your example and want to have some of them plotted in 3by3 subplot graphs? Or would it be easier to construct the graphs by myself?
Best regards,
Min-Kyu