Iacoviello (2005) 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.

Iacoviello (2005) model

Postby MSCstudent » Tue Aug 09, 2016 1:29 pm

Hi all,

I have tried a new modelling technique by computing the steady state for this simple Iacoviello (2005) model. I have only missed labour out of the steady state block, which I believe is allowed.
The problem i have is dynare is saying the variable cc is undefined in the declaration of lambda. Could someone help please?

Kind regards,

MSCstudent,

Nottingham university
Attachments
dissotest.mod
(1.57 KiB) Downloaded 82 times
MSCstudent
 
Posts: 7
Joined: Tue Aug 02, 2016 2:50 pm

Re: Iacoviello (2005) model

Postby jpfeifer » Tue Aug 09, 2016 1:35 pm

When using a steady_state_model-block, the steady state for all non-zero variables needs to be provided in a recursive fashion. In your file, you use
Code: Select all
lambda=(BETA-BETATILDE)/cc;

but cc has not been set before.
------------
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: Iacoviello (2005) model

Postby MSCstudent » Tue Aug 09, 2016 1:50 pm

I'm not sure I quite understand. It has been put in the preamble at the top, what else do i need to do?
MSCstudent
 
Posts: 7
Joined: Tue Aug 02, 2016 2:50 pm

Re: Iacoviello (2005) model

Postby jpfeifer » Tue Aug 09, 2016 1:57 pm

As I said, the steady state computation needs to be recursive. Every line of the steady_state_model block needs to be a function of only the parameters and previously computed variables in the block. cc was defined as a variable, but its steady state was not computed when accessing it in the steady state model block.
------------
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 7 guests