A Baseline DSGE Model-----an error

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.

A Baseline DSGE Model-----an error

Postby lyc » Sat Oct 06, 2012 2:07 pm

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
Attachments
data.m
(11.59 KiB) Downloaded 53 times
BaselineDSGE.mod
(4.06 KiB) Downloaded 51 times
lyc
 
Posts: 2
Joined: Sat Oct 06, 2012 1:10 pm

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

Postby jpfeifer » Fri Oct 12, 2012 9:36 pm

You defined yd_f as an observable, but the variable in the data-file is named y_f.
------------
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: Google [Bot] and 4 guests