Page 1 of 1

please help : Reference to non-existent field

PostPosted: Tue Jul 19, 2011 12:59 pm
by jacklee
I am estimating a dsge model using Bayesian method.
but the problem below arises. I tried to solve it following some advices on the forums,but failed.
I am a newbie.
I will really appreciate your help .

??? Reference to non-existent field 'y'.

Error in ==> read_variables at 63
dyn_tmp_01 = s.(deblank(var_names_01(dyn_i_01,:)));

Error in ==> dynare_estimation_1 at 237
rawdata =
read_variables(options_.datafile,options_.varobs,[],options_.xls_sheet,options_.xls_range);

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

Error in ==> mymod at 302
dynare_estimation(var_list_);

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

Re: for help : Reference to non-existent field

PostPosted: Tue Jul 19, 2011 1:02 pm
by jacklee
here is my datafile

Re: please help : Reference to non-existent field

PostPosted: Wed Jul 20, 2011 4:04 am
by jacklee
I've solved it maybe.
import simudata.xls ,save as simudata.mat
write .m file named simudata.m
codes as follows:
load simudata;
c=data(:,1);
y=data(:,2);
....
....
save simudata