Declare endogenous variables ...
Posted: Mon Apr 22, 2013 4:40 pm
Hi,
I am a new user of dynare. When I want to run a program it crashes! The message is as follows:
You did not declare endogenous variables after the estimation/calib_smoother command.
Undefined function 'gaminv' for input arguments of type 'double'.
Error in draw_prior_density (line 72)
infbound = 1/sqrt(gaminv(1-10*truncprior, p7(indx)/2, 2/p6(indx)))+p3(indx);
Error in plot_priors (line 55)
[x,f,abscissa,dens,binf,bsup] = draw_prior_density(i,bayestopt_);
Error in dynare_estimation_init (line 127)
plot_priors(bayestopt_,M_,estim_params_,options_)
Error in dynare_estimation_1 (line 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 (line 70)
dynare_estimation_1(var_list,dname);
Error in AP2 (line 141)
dynare_estimation(var_list_);
Error in dynare (line 120)
evalin('base',fname) ;
Can anybody help me please?
>>
I am a new user of dynare. When I want to run a program it crashes! The message is as follows:
You did not declare endogenous variables after the estimation/calib_smoother command.
Undefined function 'gaminv' for input arguments of type 'double'.
Error in draw_prior_density (line 72)
infbound = 1/sqrt(gaminv(1-10*truncprior, p7(indx)/2, 2/p6(indx)))+p3(indx);
Error in plot_priors (line 55)
[x,f,abscissa,dens,binf,bsup] = draw_prior_density(i,bayestopt_);
Error in dynare_estimation_init (line 127)
plot_priors(bayestopt_,M_,estim_params_,options_)
Error in dynare_estimation_1 (line 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 (line 70)
dynare_estimation_1(var_list,dname);
Error in AP2 (line 141)
dynare_estimation(var_list_);
Error in dynare (line 120)
evalin('base',fname) ;
Can anybody help me please?
>>