NKPC coding in Dynare

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.

NKPC coding in Dynare

Postby Vermandel » Wed Jul 11, 2012 2:44 pm

Hello,

I'm currently working on a model with the NKPC device, but I get a bit confused with they way of coding it. I use this functional form,
Code: Select all
pi=beta*pi(+1)+(((1-theta*beta)*(1-theta))/theta)*cm;


but regarding inflation equation, should i used this one,
Code: Select all
pi_h=py_h-py_h(-1);

or this one,
Code: Select all
pi_h(+1)=py_h(+1)-py_h;

Results are strongly different, I don't get why.
Vermandel
 
Posts: 7
Joined: Wed Jul 06, 2011 11:06 am
Location: Paris

Re: NKPC coding in Dynare

Postby jpfeifer » Wed Jul 11, 2012 4:47 pm

Results are different, because Dynare treats everything with a (+1) as being conditional expectations. Hence, the first equation holds at every point in time, while the second one holds in expectations.
Code: Select all
pi_h(+1)=py_h(+1)-py_h;

actually is
Code: Select all
E_t(pi_h(+1))=E_t(py_h(+1))-py_h;
------------
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: NKPC coding in Dynare

Postby Vermandel » Fri Jul 13, 2012 11:55 am

Thanks for you answer jpfeifer.

In your opinion, should I use the first or second one equation ? I get better results with the second one.
Vermandel
 
Posts: 7
Joined: Wed Jul 06, 2011 11:06 am
Location: Paris

Re: NKPC coding in Dynare

Postby jpfeifer » Fri Jul 13, 2012 4:12 pm

Use the one that is consistent with your model.
------------
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 4 guests