Error message

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

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

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

I check the rank of Sigma_e_ and it turns out to be 0.

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



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.
TSJH_try_feb24_steadystate.m (3.73 KB)
TSJH_try_feb24.mod (10.3 KB)

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