Preprocessing failed

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.

Preprocessing failed

Postby Crossfader » Tue Feb 04, 2014 9:03 pm

Hello, I would be thankful if someone could explain what's wrong with my code.

here it is:

Code: Select all
var y pi i;
varexo d m s;
sigma=1;
beta=0.99;
lambda=0.1;
phi_pi=1.5;
phi_y=0.2;

model;
y = y(+1)-1/sigma*(i-pi(+1)-log(beta))+d;
pi = beta*pi(+1)+lambda*(y+m);
i = log(beta)+phi_pi*pi+phi_y*y+s;
end;



---

what I get out is quite strange:

Code: Select all
>> dynare 1model.mod

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.4.1).
Starting preprocessing of the model file ...
ERROR: 1model.mod: line 10, cols 13-17: Unknown symbol: sigma

Error using dynare (line 168)
DYNARE: preprocessing failed



I really don't understand what's wrong. Any help is appreciated.
Crossfader
 
Posts: 1
Joined: Tue Feb 04, 2014 8:57 pm

Re: Preprocessing failed

Postby costa » Wed Feb 05, 2014 1:30 am

The parameters declaration part is missing in your code. It should be declared after the endogenous variables.
costa
 
Posts: 47
Joined: Thu Nov 14, 2013 8:09 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests