Hi,

I am trying to estimate a model using 2 observables Y,C and also 2 parameters using the below block:

estimated_params;

kappa_p, Gamma_pdf,40.5,0.5;

theta, Gamma_pdf,18,0.5;

end;

varobs Y,C;

estimation(datafile=Euro,mh_nblocks=3,mh_replic=5000,mh_jscale=3,mh_init_scale=12) C,Y;

BUT i receive the message:

"Error using NaN

NaN and Inf not allowed.

Error in : (line 79)

C.time = NaN(m,2);

Error in dseries (line 137)

ts.dates = init:init+(nobs(ts)-1);

Error in makedataset (line 121)

DynareDataset = dseries(datafile);

Error in dynare_estimation_init (line 538)

[dataset_, dataset_info, newdatainterfaceflag] = makedataset(options_,

options_.dsge_var*options_.dsge_varlag, gsa_flag);

Error in dynare_estimation_1 (line 116)

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 Baeysian_DSGE_19 (line 510)

oo_recursive_=dynare_estimation(var_list_);

Error in dynare (line 235)

evalin(‘base’,fname) ; "

the model is solved properly with the stoch_simul command but not with Bayesian estimation.

Any help?

Mike