Moments_varendo

Dear all,

I put moments_varendo in my estimation command. But dynare gave me the following error message. Can anyone tell me how to deal with this problem? I am using 4.1.1.

??? Reference to non-existent field ‘datenum’.

Error in ==> get_name_of_the_last_mh_file at 45
if AllMhFiles(i).datenum>AllMhFiles(i-1).datenum

Error in ==> check_posterior_analysis_data at 30
mhname = get_name_of_the_last_mh_file(M_);

Error in ==> posterior_analysis at 19
info = check_posterior_analysis_data(type,M_);

Error in ==> compute_moments_varendo at 64
oo_ = posterior_analysis(‘variance’,var_list_(i,:),var_list_(j,:),],options_,M_,oo_);

Error in ==> dynare_estimation_1 at 1077
oo_ = compute_moments_varendo(‘posterior’,options_,M_,oo_,var_list_);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> usmodel at 487
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin(‘base’,fname) ;

Thanks for your help!

Best
Conglin

Hi,
could you please post the data and the mod-file.