How to create Forward-looking dummy equation

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.

How to create Forward-looking dummy equation

Postby taha92a » Fri Mar 04, 2016 11:55 am

Hi,

I am trying to replicate the results from "Energy and Capital in a New Keynesian Framework" (https://halshs.archives-ouvertes.fr/hal ... 6/document) and get the following error:

STOCHASTIC_SOLVER: Dynare does not solve purely backward models at higher order.
STOCHASTIC_SOLVER: To circumvent this restriction, you can add a forward-looking dummy equation of the form:
STOCHASTIC_SOLVER: junk=0.9*junk(+1);

I am new to Dynare so don't know how to create a forward-looking dummy equation and can't seem to find anything online. Any help on this would be massively appreciated.

Thanks!
Attachments
Practice.mod
(1.84 KiB) Downloaded 40 times
taha92a
 
Posts: 1
Joined: Wed Mar 02, 2016 4:44 pm

Re: How to create Forward-looking dummy equation

Postby jpfeifer » Fri Mar 04, 2016 1:26 pm

Just define a variable
Code: Select all
junk

and add the equation
Code: Select all
junk=0.9*junk(+1);
------------
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: No registered users and 16 guests