NK Model

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.

NK Model

Postby vetox » Thu May 22, 2014 6:02 pm

Hi everybody!

I’m new here and have a probably pretty easy question. In this context I try to compare different policy rules like Taylor Rule, Christiano etc. My problem is now, that I have no idea how to integrate the “Smets and Wouters”.
Last edited by vetox on Thu Jun 05, 2014 1:33 pm, edited 2 times in total.
vetox
 
Posts: 2
Joined: Thu May 22, 2014 5:15 pm

Re: NK Model different policy rules

Postby jpfeifer » Mon May 26, 2014 9:35 am

You have to change the
interest = r*400; //*
inflation = (100/4)*(4*pi+4*pi(-1)+4*pi(-2)+4*pi(-3)); //*
inflationq = pi*400; //*
outputgap = x*100; //*
output = y*100; //*
//**************************************************************************


//**************************************************************************
// Policy Rule //*
//*
// Monetary Policy //*
//*
interest = cofintintb1*interest(-1) //*
+ cofintintb2*interest(-2) //*
+ cofintintb3*interest(-3) //*
+ cofintintb4*interest(-4) //*
+ cofintinf0*inflationq //*
+ cofintinfb1*inflationq(-1) //*
+ cofintinfb2*inflationq(-2) //*
+ cofintinfb3*inflationq(-3) //*
+ cofintinfb4*inflationq(-4) //*
+ cofintinff1*inflationq(+1) //*
+ cofintinff2*inflationq(+2) //*
+ cofintinff3*inflationq(+3) //*
+ cofintinff4*inflationq(+4) //*
+ cofintout*outputgap //*
+ cofintoutb1*outputgap(-1) //*
+ cofintoutb2*outputgap(-2) //*
+ cofintoutb3*outputgap(-3) //*
+ cofintoutb4*outputgap(-4) //*
+ cofintoutf1*outputgap(+1) //*
+ cofintoutf2*outputgap(+2) //*
+ cofintoutf3*outputgap(+3) //*
+ cofintoutf4*outputgap(+4) //*
+ cofintoutp*output //*
+ cofintoutpb1*output(-1) //*
+ cofintoutpb2*output(-2) //*
+ cofintoutpb3*output(-3) //*
+ cofintoutpb4*output(-4) //*
+ cofintoutpf1*output(+1) //*
+ cofintoutpf2*output(+2) //*
+ cofintoutpf3*output(+3) //*
+ cofintoutpf4*output(+4) //*
+ std_r_ *interest_;

part. For the Gerdesmeier and Roffia rule that is straightforward, because the variables you need are already defined. For the Smets/Wouters rule this is more complicated, because you would need to define the flex-price output.
------------
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: NK Model different policy rules

Postby vetox » Mon May 26, 2014 7:19 pm

Hey jpfeifer. Thanks for your answer.
vetox
 
Posts: 2
Joined: Thu May 22, 2014 5:15 pm


Return to Dynare help

Who is online

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