by khdjabbas » Tue Dec 29, 2015 3:48 pm
I am facing a similar problem. When I ran my code in the Dynare 4.4.3 stable version the error was as follows:
Reference to non-existent field 'G_hat'.
Error in read_variables (line 84)
dyn_tmp_01 = s.(deblank(var_names_01(dyn_i_01,:)));
Error in initialize_dataset (line 32)
rawdata = read_variables(datafile,varobs,[],xls.sheet,xls.range);
Error in dynare_estimation_init (line 475)
dataset_ =
initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);
Error in dynare_estimation_1 (line 81)
[dataset_,xparam1, hh, M_, options_, oo_, estim_params_,bayestopt_] =
dynare_estimation_init(var_list_, dname, [], M_, options_, oo_, estim_params_,
bayestopt_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in code1a (line 430)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
Then I followed the advise given in this forum and tried running the code from a new folder using the unstable version as of 28 Dec 2015. However still I get the following error:
Error using evalin
Undefined function or variable 'emptydatesobject'.
Error in dates (line 73)
dd = evalin('base','emptydatesobject');
Error in global_initialization (line 347)
options_.initial_period = dates(1,1);
Error in code1a (line 15)
global_initialization;
Error in dynare (line 180)
evalin('base',fname) ;
Please help me understand the errors and how can I resolve them?
Best Regards,
K