Basic NK DSGE Model Help, Please

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 NK DSGE Model Help, Please

Postby afelfel » Sat Mar 25, 2017 7:30 pm

Hello all,

I am an undergraduate economics student attempting to replicate a basic NK DSGE model with an added link between the government spending shock and technology shock. My model includes a simple monetary policy rule consisting of a constant growth rate for the money supply instead of an interest rate rule. I am trying to demonstrate the effects of seignorage financing of government investment.

I am unable to get the model attached to work. I would really appreciate it if anyone is able to help me with correcting the attached code.

Thanks very much for viewing my query.

Best regards,

A. Fathalla
Attachments
AFdraft1.mod
Code
(1.16 KiB) Downloaded 78 times
Model_Equations_for_Dynare (1).pdf
Model
(78.79 KiB) Downloaded 59 times
afelfel
 
Posts: 2
Joined: Thu Feb 16, 2017 6:41 pm

Re: Basic NK DSGE Model Help, Please

Postby jpfeifer » Sun Mar 26, 2017 7:34 am

You are simply missing one equation. You as the model builder need to find out what you are missing.
------------
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 NK DSGE Model Help, Please

Postby afelfel » Sun Mar 26, 2017 12:06 pm

Thank you.

So I have tried adding the money demand equation in terms of consumption and how real balances in relation to inflation and money growth. Nevertheless, I am getting the error message:

Impossible to find the steady state. Either the model doesn't have a steady state, there are an
infinity of steady states, or the guess values are too far from the solution

Thanks.
Attachments
AFdraft2.mod
(1.16 KiB) Downloaded 56 times
afelfel
 
Posts: 2
Joined: Thu Feb 16, 2017 6:41 pm

Re: Basic NK DSGE Model Help, Please

Postby jpfeifer » Sun Mar 26, 2017 8:32 pm

You need to sort out the constant terms. If you have
Code: Select all
r_ss=(rho-sigma*(1-rho_a)*(1+phi)*a+sigma*(1-rho_g)*phi*g)/(sigma+phi);

then
Code: Select all
r_ss=rho/(sigma+phi);

which seems inconsistent with the other equations.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests