Estimation: Problems whith reading the data from Excel
Posted: Wed Oct 21, 2009 9:32 am
Hi,
I'm trying to estimate a model (Comin & Gertler, Medium Term Business Cycles). But I always get the following error message:
??? Error using ==> cell.strmatch at 18
Requires character array or cell array of strings as inputs.
Error in ==> read_variables at 64
iv = strmatch(var_names_01(dyn_i_01,:),raw(1,:),'exact');
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 ==> mf_1_quart at 693
dynare_estimation(var_list_);
Error in ==> dynare at 102
evalin('base',fname) ;
I know that the error must be in the reading procedure as I looked around here in the forum. And the charts of the priors already show up.But I can't find my mistake. As an attachment you find my mod file and the excel file with the data.
I hope somebody can help me?!
Thanks a lot!
I'm trying to estimate a model (Comin & Gertler, Medium Term Business Cycles). But I always get the following error message:
??? Error using ==> cell.strmatch at 18
Requires character array or cell array of strings as inputs.
Error in ==> read_variables at 64
iv = strmatch(var_names_01(dyn_i_01,:),raw(1,:),'exact');
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 ==> mf_1_quart at 693
dynare_estimation(var_list_);
Error in ==> dynare at 102
evalin('base',fname) ;
I know that the error must be in the reading procedure as I looked around here in the forum. And the charts of the priors already show up.But I can't find my mistake. As an attachment you find my mod file and the excel file with the data.
I hope somebody can help me?!
Thanks a lot!