trial and error with Schorfheide mod

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.

trial and error with Schorfheide mod

Postby zhuyong » Tue Dec 18, 2012 11:40 pm

Hi, I tried the attached mod. file, but met the following error information:
You did not declare endogenous variables after the estimation/calib_smoother command.
??? Error using ==> union
Too many input arguments.

Error in ==> dynare_estimation_init at 219
k2 = union(var_obs_index,[dr.nstatic+1:dr.nstatic+dr.npred]', 'rows');

Error in ==> dynare_estimation_1 at 59
[dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list_, dname, [], M_,
options_, oo_, estim_params_, bayestopt_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> us_euro_m1 at 277
dynare_estimation(var_list_);

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

help me!

zhu yong
Attachments
Schorfheide.rar
data and mod. file
(6.05 KiB) Downloaded 63 times
zhuyong
 
Posts: 3
Joined: Mon Jul 07, 2008 6:17 am

Re: trial and error with Schorfheide mod

Postby zhuyong » Thu Dec 20, 2012 11:01 pm

hi, I have found a bug in my matlab, the Function Union does not work. I downloaded a free Function of Unionm and changed the name of the function to Union and added it to the folder of matlab in dynare. Now I can dynare the mod file.
zhuyong
 
Posts: 3
Joined: Mon Jul 07, 2008 6:17 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests