Page 1 of 1

read data

PostPosted: Sun Aug 08, 2010 2:49 pm
by picchio79
Dear all,

I am trying to estimate a DSGE model.

Dynare gives me the following errors:


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

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 ==> euro3 at 147
dynare_estimation(var_list_);

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


When I perform the same estimation with just one varobs=c , i have no problems.

I attach tha data file as well as the file.mod.

Can you help me?

Thank you in advance.

Re: read data

PostPosted: Sun Aug 08, 2010 5:47 pm
by jpfeifer
In your excel file, there is an empty space before 'c' in the column header. Delete it and everything should be fine.