Error on deterministic simulation

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.

Error on deterministic simulation

Postby caue.dobbin » Thu Jul 17, 2014 9:05 pm

I am using dynare to solve a simple RBC model with recursive preferences. The mod file is attached. I believe there is nothing wrong with the model because when do a stochastic simulation, with stoch_simul, there are no errors. Nevertheless, we a try to do a deterministic simulation, with simul, a get the following message:

Simulation terminated with NaN or Inf in the residuals or endogenous variables. There is most likely something wrong with your model.
Error in simul (line 126)
sim1;
Error in ezBasic (line 188)
simul();
Error in dynare (line 182)
evalin('base',fname) ;

Using model_diagnostic, I get:

model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
C
K
R
M
V
U
Colinear equations
1 2 3 4 6 7

What could be the problem?
Attachments
ezBasic.mod
(1.03 KiB) Downloaded 84 times
caue.dobbin
 
Posts: 1
Joined: Thu Jul 17, 2014 8:56 pm

Re: Error on deterministic simulation

Postby jpfeifer » Sun Jul 20, 2014 8:39 am

Check your FOCs. In your production function, there seems for example to be a alpha too much.
------------
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 5 guests