Deterministic simulation: models without forward-looking var

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.

Deterministic simulation: models without forward-looking var

Postby martinf » Wed Jul 02, 2008 10:58 pm

Is the algorithm for deterministic simulation robust to models without forward-looking variables? I think it is not, but would like to double check with someone.

If I deterministically simulate (use "simul" command) a model without a forward-looking term, the code crashes because a matrix "iy_" is of an order (2 x n). If I "open sim1", which is the function that contains the simulation procedure, I see on lines 11 and 14 that "iy_" must be of an order (3 x n). I presume that the matrix "iy_" summarises the characteristics of endogenous variables. If I introduce a dummy in to my model "0*endo_var(+1)" (and sometimes also "0*endo_var(-2)") to "fool" Dynare, everything is running, and I am getting plausible results (at least I think so :) )

I attach an example that I have been working on. It is a basic form of the Solow-Swan growth model.

Thank you for any thoughts

Martin
Attachments
solow.mod
(619 Bytes) Downloaded 123 times
martinf
 
Posts: 1
Joined: Wed Jul 02, 2008 10:27 pm

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests