??? Subscript indices must either be real positive integers
Posted: Thu Mar 06, 2014 5:55 am
Dear all:
When I run the rosenestimateBayes.mod------which is a example in dynare, it
is coming up with the follow errors:
??? Subscript indices must either be real positive integers or logicals.
Error in ==> posterior_moments at 60
post_deciles = xx([round(0.1*number_of_draws) ...
Error in ==> GetPosteriorParametersStatistics at 84
[post_mean, post_median, post_var, hpd_interval, post_deciles, ...
Error in ==> dynare_estimation_1 at 949
oo_ = GetPosteriorParametersStatistics(estim_params_, M_, options_, bayestopt_, oo_);
Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);
Error in ==> rosenestimateBayes at 184
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin('base',fname) ;
I am very confused. I really hope some one can help me to solve this problem.
Thanks!
the rosenestimateBayes.mod file attachment as follows:
When I run the rosenestimateBayes.mod------which is a example in dynare, it
is coming up with the follow errors:
??? Subscript indices must either be real positive integers or logicals.
Error in ==> posterior_moments at 60
post_deciles = xx([round(0.1*number_of_draws) ...
Error in ==> GetPosteriorParametersStatistics at 84
[post_mean, post_median, post_var, hpd_interval, post_deciles, ...
Error in ==> dynare_estimation_1 at 949
oo_ = GetPosteriorParametersStatistics(estim_params_, M_, options_, bayestopt_, oo_);
Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);
Error in ==> rosenestimateBayes at 184
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin('base',fname) ;
I am very confused. I really hope some one can help me to solve this problem.
Thanks!
the rosenestimateBayes.mod file attachment as follows: