"Reference to non-existent field "Problem

Hi Guys

I am trying to estimate external finance premium by China data, and my dynare code 4.3.3 always runs into such problems:

Reference to non-existent field ‘y’.

Error in read_variables (line 82)
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 347)
dataset_ =
initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);

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 BGG_CHEN (line 264)
dynare_estimation(var_list_);

Error in dynare (line 120)
evalin(‘base’,fname) ;

I guess probabely it is data set issue, not so sure

Thanks in advance!
ABC.xls (13.5 KB)
BGG_CHEN.mod (2.6 KB)

Your model stochastically singular.

Hello everyone

I have a similar problem. When I run my code, the following appears

Blockquote
Reference to non-existent field ‘orig_lead_lag’.
Error in model_info>print_line (line 266)
if isempty(M_.aux_vars(aux_index).orig_lead_lag)
Error in model_info (line 228)
print_line(M_.endo_names,lead_index(var_iter),1,M_)
Error in test2.driver (line 582)
model_info(options_model_info_);
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);

I think it’s a problem with the Taylor Rule, because I’ve tested other rules and the model runs. But I have no idea how to solve the problem. Could someone help me? I’d be very grateful!

test2.mod (7.6 KB)
test2_steadystate.m (6.4 KB)

I cannot replicate your issue in Dynare 5.4

@jpfeifer , thank you for your reply. I was using version 5.1. However, now using version 5.4 the same error persists.

As I said, I cannot replicate the issue. Did you post exactly the file you are using?