Issues with prior distribution

Dear all,

I’m trying to estimate a DSGE model for my thesis, i use Rossana Merola’s work and try to estimate the model with germany’s data. Until past week the code worked but today the code send me this error:
Error using inverse_gamma_specification
Too many input arguments.

Error in set_prior (line 221)
[bayestopt_.p6(k(i)),bayestopt_.p7(k(i))] = inverse_gamma_specification(bayestopt_.p1(k(i)), bayestopt_.p2(k(i))^2, bayestopt_.p3(k(i)), 1, false, bayestopt_.name{k(i)});

Error in dynare_estimation_init (line 145)
[xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_);

Error in dynare_estimation_1 (line 120)
dynare_estimation_init(var_list_, dname, , M_, options_, oo_, estim_params_, bayestopt_);

Error in dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);

Error in SW_FA_Dynare.driver (line 1434)
oo_recursive_=dynare_estimation(var_list_);

Error in dynare (line 310)
evalin(‘base’,[fname ‘.driver’]);

I try run the code without the prior distribution with ‘invgamma’ and the code work, i also try to modify in various ways the shock’s prior but the code keep giving me the same error.

germanydata.xlsx (77.9 KB)
SW_FA_Dynare.log (975 Bytes)
SW_FA_Dynare.mod (9.8 KB)

Thanks!

now the error is: Unrecognized function or variable ‘estim_params_’.

Error in SW_FA_Dynare.driver (line 1258)
if isempty(estim_params_)

Error in dynare (line 310)
evalin(‘base’,[fname ‘.driver’]);

You are loading an m-file for that data-file that you did not provide.

sorry,
germanydata.m (563 Bytes)