Page 1 of 1
Christiano Eichenbaum Evans 2005 JPE Code
Posted:
Fri May 08, 2009 3:42 pm
by roberto.croce
Hi Folks,
I wanted to tweak the CEE 2005 model and started by replicating it. I haven't found a decent code for this elsewhere. The code is attached; I hope some of you find it useful. Note that I include the 'dyngraph' command, which calls a program I found elsewhere on this forum that cleans up all the files Dynare creates in the working directory.
Regards,
Rob
Re: Christiano Eichenbaum Evans 2005 JPE Code
Posted:
Wed Jun 03, 2009 3:51 am
by Chan
Did u or anyone try to estimate Gamma (the third group of model parameters) using the method of distance minimization as CEE 2005 did? Any idea on coding? Thanks
Re: Christiano Eichenbaum Evans 2005 JPE Code
Posted:
Thu Jun 11, 2009 8:03 pm
by roberto.croce
I haven't, actually. But the way I would do it would be to search over a grid, repeatedly calling Dynare.
Re: Christiano Eichenbaum Evans 2005 JPE Code
Posted:
Tue Jun 16, 2009 4:00 am
by Chan
Hmm, it sounds complicated. I will eventually try it. But for now, my colleagues are still discussing about why we believe that the VAR's irfs are superior and we have to map our DSGE's irf to those of VAR. I think it is better than having nothing when you can't calibrate or use any stylized fact, am I right?
Cheers,
Chan
Re: Christiano Eichenbaum Evans 2005 JPE Code
Posted:
Thu Sep 03, 2009 3:46 pm
by TomDoan
Since you appear to have shifted the timing on capital, shouldn't:
- Code: Select all
rk = w + r + l - k;
read
- Code: Select all
rk = w + r + l - k(-1);
Re: Christiano Eichenbaum Evans 2005 JPE Code
Posted:
Mon Sep 07, 2009 6:31 pm
by roberto.croce
You appear to be right. I tried changing the code to use lagged capital and get an error. However I find that when I treat capital utilized as if it is not preset, but the capital stock as preset, all runs as it should. It makes sense to me that the capital stock would be fixed in period, whereas utilized capital could be chosen in the period. But I don't know that this legit.