Hello,
I was trying to run RBC_est.mod, but I can find the “simuldataRBC”, so I search in dynare forum and find the link File simuldataRBC.
I download it , but i can run it againt, the error :
You did not declare endogenous variables after the estimation/calib_smoother command.
??? Undefined function or method ‘gaminv’ for input arguments of type ‘double’.
Error in ==> draw_prior_density at 72
infbound = 1/sqrt(gaminv(1-10*truncprior, p7(indx)/2,
2/p6(indx)))+p3(indx);
Error in ==> plot_priors at 55
[x,f,abscissa,dens,binf,bsup] = draw_prior_density(i,bayestopt_);
Error in ==> dynare_estimation_init at 125
plot_priors(bayestopt_,M_,estim_params_,options_)
Error in ==> dynare_estimation_1 at 59
[dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_] =
dynare_estimation_init(var_list_, dname, ], M_, options_, oo_, estim_params_,
bayestopt_);
Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);
Error in ==> rbc_est at 142
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin(‘base’,fname) ;
I was attached 2 file, can you help me ? I am sorry if it has any misspelling
simuldataRBC.m (141 KB)
RBC_Est.mod (796 Bytes)