read data

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

read data

Postby picchio79 » Sun Aug 08, 2010 2:49 pm

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.
Attachments
euro3.mod
(932 Bytes) Downloaded 103 times
nna.xls
(58 KiB) Downloaded 117 times
picchio79
 
Posts: 3
Joined: Thu Aug 05, 2010 2:47 pm

Re: read data

Postby jpfeifer » Sun Aug 08, 2010 5:47 pm

In your excel file, there is an empty space before 'c' in the column header. Delete it and everything should be fine.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests