bayesian estimation!

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.

bayesian estimation!

Postby gzkr » Tue May 24, 2016 9:14 am

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
dynare_estimation_1(var_list,varargin{:});

Error in ==> c at 469
dynare_estimation(var_list_);

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

Thank you!
Last edited by gzkr on Sun Jun 19, 2016 7:13 am, edited 1 time in total.
gzkr
 
Posts: 5
Joined: Sun Jan 03, 2016 11:43 am

Re: bayesian estimation!

Postby jpfeifer » Sat May 28, 2016 8:19 am

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
Code: Select all
R_f
in the Excel file.
------------
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 13 guests