??? Error using ==> chol

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

??? Error using ==> chol

Postby Peterpierre » Thu May 29, 2008 2:41 am

hi

I took the code in two country model in Barillas etc. and changed to these shocks:

shocks;
var e1; stderr .008;
var e2; stderr .008;
var e1,e2=0.0022;
end;

The code will return the error message below. But the code works if I give:

shocks;
var e1; stderr .008;
var e2; stderr .008;
//var e1,e2=0.0022;
end;

or

shocks;
var e1; stderr .08;
var e2; stderr .08;
var e1,e2=0.0022;
end;

Anybody knows what may be going on?
THANKS!



??? Error using ==> chol
Matrix must be positive definite.

Error in ==> simult at 42
chol_S = chol(M_.Sigma_e(i_exo_var,i_exo_var));

Error in ==> stoch_simul at 64
oo_.endo_simul = simult(repmat(oo_.dr.ys,1,M_.maximum_lag),oo_.dr);

Error in ==> TwocountryApprox at 132
info = stoch_simul(var_list_);

Error in ==> dynare at 81
evalin('base',fname)
Peterpierre
 
Posts: 28
Joined: Tue Apr 22, 2008 6:17 pm

Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests