Plotting and naming IRF's
Posted: Sat Jun 14, 2014 12:14 pm
Hello everyone.
I'm new to Dynare and I've started programming only recently. For practice, I tried to run a version of a simple Keynesian model
with a NK Phillips curve. First of all, I would be grateful if someone could look at my code and spot any mistakes. My main concerns
however are:
1) I've seen in other codes that for the steady state values, people usually choose values of zeros for their variables. Is that for simplicity
and for the sake of the example? If for instance, I was to set steady state values for a ZLB situation, how would I change those?
2) The basic command for irf plotting is "stoch_simul" but this gives me the output with the names I've already set, which are the abreviations
of the normal variables in question. I know that I can change those through the figure window but is there a more "elegant" way to set the names
of my variables, the x and y axis names etc? The only thing I've found so far but it doesn't work is:
I am providing my code for anyone to have a look. Any help would be really appreciated. Thank you in advance.
I'm new to Dynare and I've started programming only recently. For practice, I tried to run a version of a simple Keynesian model
with a NK Phillips curve. First of all, I would be grateful if someone could look at my code and spot any mistakes. My main concerns
however are:
1) I've seen in other codes that for the steady state values, people usually choose values of zeros for their variables. Is that for simplicity
and for the sake of the example? If for instance, I was to set steady state values for a ZLB situation, how would I change those?
2) The basic command for irf plotting is "stoch_simul" but this gives me the output with the names I've already set, which are the abreviations
of the normal variables in question. I know that I can change those through the figure window but is there a more "elegant" way to set the names
of my variables, the x and y axis names etc? The only thing I've found so far but it doesn't work is:
- Code: Select all
figure(1);
subplot(2,2,1);
plot(jj,xgap_t_ eps_i,’-’);
title(’ouput gap’);
xlabel(’Quarters’);
ylabel(’%-deviation’);
I am providing my code for anyone to have a look. Any help would be really appreciated. Thank you in advance.