error message

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 message

Postby bigbigben » Sat Feb 24, 2007 6:38 am

It seems that made some mistake in my code. I tried to use the following setting, where Ac is the technology level

Ac=Ac(-1)+gr;
gr=0.95*gr(-1)+e1;
where e1 is i.i.d.

But I got the following error message
??? Index exceeds matrix dimensions.

Error in ==> simult at 19
chol_S = chol(Sigma_e_(i_exo_var,i_exo_var));

Error in ==> stoch_simul at 85
y_ = simult(repmat(dr_.ys,1,ykmin_),dr_);

Error in ==> TSJH_feb5_gr at 259
info=stoch_simul(var_list_);

Error in ==> dynare at 26
evalin('base',fname) ;

I check the rank of Sigma_e_ and it turns out to be 0.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby MichelJuillard » Sat Feb 24, 2007 3:12 pm

You don't have a SHOCKS block for 'e1' in your *.mod file

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

This is my code

Postby bigbigben » Sun Feb 25, 2007 5:06 pm

Hi, Michel:

Attached is my code. Please just look at the shock part, since the code is too long to read.

I believe I set up the shocks, it might be due to unit root process.
Attachments
TSJH_try_feb24_steadystate.m
(3.73 KiB) Downloaded 98 times
TSJH_try_feb24.mod
(10.35 KiB) Downloaded 100 times
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby MichelJuillard » Fri Mar 16, 2007 8:59 pm

Sorry to answer so late, but the model needs fixed_parameter(.mat ??)

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests