anybody can help me?
when I run mod file, dynare (v4.4.3,4.4.2 both versions) complains the following results. I do not know what is the problem behinds.
Since M_ is global why set_prior function can not access to it.
The mod file : T_AR2_no4.mod and two data files are attached in zip file!
Undefined variable M_.
Error in set_prior (line 74)
bayestopt_.name = cellstr(M_.exo_names(estim_params_.var_exo(:,1),:));
Error in dynare_estimation (line 246)
[xparam1,estim_params_,bayestopt_,lb,ub]=set_prior(estim_params_);
Error in T_AR2_no4 (line 565)
dynare_estimation(var_list_);