hello
i need apply some different value for one of parameters , so i write a loop in dynare mod-file like example of dynarewiki(*http://www.dynare.org/DynareWiki/HowtoLoops*)
but after i run model i get this error
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
Starting Dynare (version 4.1.2).
Starting preprocessing of the model file ...
Found 24 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
??? Attempted to access rhoAs(0); index must be a positive integer or logical.
Error in ==> finalmodel6q at 271
M_.params( 30 ) = rhoAs(oo_.steady_state(4));
Error in ==> dynare at 132
evalin('base',fname) ;
I attach my mod file
I don,t know what is this error?
please help me
Thanks