Subscript indices

Hi,

I have been getting the following error message;

??? Subscript indices must either be real positive integers or logicals.

Error in ==> dr1 at 222
b = jacobia_(:,k0);

Error in ==> resol at 101
[dr, info, M_,iptions_,oo_]=dr1(dr,check_flag,M_,options_oo_);

Error in ==> check at 48
[dr, info]=resol(oo_.steady_state,1);

Error in ==> p1b at 387 // “p1b” is my mod file name.
check;

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

Someone who had the same problem and posted before said the problem had been solved once he reduced the number of parameters.

I was wondering if the reduction was a/the solution then some of parameters should be derived from the definition instead of
obtained numerically.

Or should I look at other potential flaws?

Thanks,
Kaz

Hi,

could you post your mod-file plz?

thx

Hi,

Please find two attached files. One is a mod file and the other is a data file.

Thanks,
Kaz
p1eviews.XLS (49 KB)
p1b.mod (7.34 KB)

hi,

the rank conditions given by the instruction “check” are not satisfied. Try to check the timing of your model variables.

best

Hi,

Thanks for your suggestion.

I checked the timing but I’m still getting the same message.

Is there any other thing I should check?

Thanks,
Kaz

Hi,

if the timing of your model is good then maybe you should check the calibration of certain parameters. Sometimes it can lead to such an issue as well.

Best

i have got this error message when not all parameters that you want to estimate are declared.

Hi,

Thank you, all.

I will look through the parameter settings and try again.

Thanks, again.

Best,
Kaz