Page 1 of 1

Replication of a paper

PostPosted: Sun Jul 10, 2016 4:57 pm
by rallekalle
Hello,

I am an undergraduate studying economics and trying to understand a more complex new keynesian model as it is given by Ravenna & Walsh, "Welfare Based Optimal Monetary Policy with Unemployment and Sticky Prices: A Linear-Quadratic Framework" (2010).

Since I do not have any experience in either replication of a model or the use of dynare I am not capable of rewritting their given complex dynare mod-files into simplier ones, which I can work with.

I attached a text file containing my code so far.
I have a slight idea of what I might have done wrong: I think the way I arranged the model is wrong, since not all variables are defined properly.

The mod.files as well as the paper can be found here: https://www.aeaweb.org/articles?id=10.1257/mac.3.2.130

It would be a big help if you could give me some crucial hint or name literature which might help.

Thank you in advance.

Re: Replication of a paper

PostPosted: Mon Jul 11, 2016 6:38 am
by jpfeifer
What do you mean? Their mod-file is rather small and straightforward. Generally, I cannot recommend undergraduates working with complex New Keynesian models. Usually, they do not have the necessary training to succeed and only recognize this when it is too late and the thesis deadline is approaching.

A general source you might want to look at is Fernandez-Villaverde/Rubio-Ramirez 2006: "A Baseline DSGE Model".
The problem in your current file is that the parameter definitions are not recursive. Sequentially execute the calibration in Matlab with F9. You will see that you use v_ss in the definition of theta before it is defined.