Bayesian estimation!

Hi everyone,

I am trying to estimate my DSGE model with Bayesian estimation. My model looks fine and I have my data but I am receiving the following error that I couldnt figure out how to solve it.
In the attachment you can find my code and data.

Error Message:

You did not declare endogenous variables after the estimation command.
This version of Dynare cannot estimate non linearized models!
Set “order” equal to 1.

??? Subscripted assignment dimension mismatch.

Error in ==> read_variables at 80
dyn_data_01(:,dyn_i_01) = dyn_tmp_01;

Error in ==> dynare_estimation_init at 289
rawdata = read_variables(options_.datafile,options_.varobs,],options_.xls_sheet,options_.xls_range);

Error in ==> dynare_estimation_1 at 37
[data,rawdata,xparam1] = dynare_estimation_init(var_list_);

Error in ==> dynare_estimation at 62

Error in ==> c at 469

Error in ==> dynare at 120
evalin(‘base’,fname) ;

Thank you!

Your mod-file does not run due to various syntax errors. I presume you uploaded the wrong version. However, comparing the data file to the var_obs statement, there is no variable R_f in the Excel file.