Basic New Keynesian Model with monetary & technology shocks

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Basic New Keynesian Model with monetary & technology shocks

Postby johannes.fritz » Thu Jun 23, 2011 6:55 am

Dear forum,

the attached mod file contains a basic New Keynesian Model with monetary and technology shocks. It's based on the 2008 textbook of Jordi Galí.
Money demand is ad-hoc.
The central bank follows the Taylor rule.
The shocks follow AR(1) processes.

I compared my simulations against those of Galí and am confident that the model should be all right.
If you find any trouble, please let me know.

Regards,
Johannes
Attachments
BNKM.mod
A basic New Keynesian Model.
(3.54 KiB) Downloaded 3445 times
johannes.fritz
 
Posts: 4
Joined: Tue Jun 21, 2011 7:14 pm

Re: Basic New Keynesian Model with monetary & technology sho

Postby Bubba_Smith » Fri Jul 15, 2011 4:33 pm

I run your mod file , and I've obtained these S.S. results:
STEADY-STATE RESULTS:

y 0
pi 0
i 0.080126
a 0
rn 0.080126
n 0
m -0.320504
v 0

question: what's the meaning of a negative demand for money in this case?
Bubba_Smith
 
Posts: 13
Joined: Wed Jun 01, 2011 2:34 pm

Re: Basic New Keynesian Model with monetary & technology sho

Postby Bubba_Smith » Sat Jul 30, 2011 12:29 pm

I wish someone'd say something about this, since I think that there must be a mistake in the model, but one never knows, perhaps someone could give a reasonable interpretation to those s.s. values.....
Bubba_Smith
 
Posts: 13
Joined: Wed Jun 01, 2011 2:34 pm

Re: Basic New Keynesian Model with monetary & technology sho

Postby jpfeifer » Tue Aug 02, 2011 7:04 am

Hi, as the model description says, the model is in logs. As the actual steady state money demand is apparently between 0 and 1, its log is a negative number.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Basic New Keynesian Model with monetary & technology sho

Postby Carmine » Fri Sep 30, 2011 1:58 pm

Hi, I have a question regarding the code.
When it is defined the model, first, second and fourth equations use "y" as the notation for the output gap (referring to the Gali textbook), while in fifth equation is just output (at least on the book).
The fifth equation is the production function, and if we want to write it in terms of output gap, i think it should be different.
Am I wrong?
Bests
Carmine
Carmine
 
Posts: 6
Joined: Fri Sep 23, 2011 10:09 am

Re: Basic New Keynesian Model with monetary & technology sho

Postby yangv007 » Tue Oct 18, 2011 1:47 am

Carmine wrote:Hi, I have a question regarding the code.
When it is defined the model, first, second and fourth equations use "y" as the notation for the output gap (referring to the Gali textbook), while in fifth equation is just output (at least on the book).
The fifth equation is the production function, and if we want to write it in terms of output gap, i think it should be different.
Am I wrong?
Bests
Carmine


I think they are the same in Logarithm linear.
yangv007
 
Posts: 6
Joined: Thu Oct 13, 2011 10:52 am

Re: Basic New Keynesian Model with monetary & technology sho

Postby lourencohen » Thu Jan 30, 2014 6:35 am

I have also run the module and ended up with the same results Bubba_Smith shared here. Does this means you have to patch up your module to the right one? I am little confused. Hope you will share what to do next about this.





__________________________________
LOuren
powered
lourencohen
 
Posts: 1
Joined: Thu Jan 30, 2014 6:32 am


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 5 guests