Page 1 of 1

A Baseline DSGE Model-----an error

PostPosted: Sat Oct 06, 2012 2:07 pm
by lyc
The model is based on the Baseline DSGE model of Jesus Fernandez.And I add three equations ans three variables.there are the following errors.

You did not declare endogenous variables after the estimation command.
Warning: File 'BaselineDSGE/prior' not found.
> In CheckPath at 42
In set_prior at 255
In dynare_estimation_init at 121
In dynare_estimation_1 at 37
In dynare_estimation at 62
In BaselineDSGE at 310
In dynare at 132
??? Error using ==> eval
Undefined function or variable 'yd_f'.

Error in ==> read_variables at 52
dyn_tmp_01 = eval(var_names_01(dyn_i_01,:));

Error in ==> dynare_estimation_init at 286
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 ==> BaselineDSGE at 310
dynare_estimation(var_list_);

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

If anyone knows how it happened ,please let me know. Thanks a lot.
BaselineDSGE_steadystate.m
(2.65 KiB) Downloaded 76 times
BaselineDSGE_steadystate.m
(2.65 KiB) Downloaded 76 times

Re: A Baseline DSGE Model-----an error

PostPosted: Fri Oct 12, 2012 9:36 pm
by jpfeifer
You defined yd_f as an observable, but the variable in the data-file is named y_f.