Page 1 of 1

What's wrong of dynare example code

PostPosted: Wed Apr 21, 2010 7:01 pm
by xujh03
In the dynare user guide, there is an example code called fs2000. But when I run this code, it is said


??? Error using ==> NaN
Too many input arguments.

Error in ==> d:\time_series\jplv7\4.1.1\matlab\set_prior.m
On line 141 ==> bayestopt_.p6 = NaN(size(bayestopt_.p1)) ;

Error in ==> d:\time_series\jplv7\4.1.1\matlab\dynare_estimation_1.m
On line 83 ==> [xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_);

Error in ==> d:\time_series\jplv7\4.1.1\matlab\dynare_estimation.m
On line 62 ==> dynare_estimation_1(var_list,varargin{:});

Error in ==> D:\time_series\jplv7\dyn_mat_v3_065\dynare_v3\examples\fs2000\fs2000.m
On line 184 ==> dynare_estimation(var_list_);

Error in ==> d:\time_series\jplv7\4.1.1\matlab\dynare.m
On line 132 ==> evalin('base',fname) ;

Is there anyone who can tell me why this code is wrong? Thank you

Re: What's wrong of dynare example code

PostPosted: Fri Apr 23, 2010 7:21 pm
by jpfeifer
When I run the code you posted, everythings works just fine. Did you install Dynare correctly? Or did you change anything in your code, particularly the priors where the issue seems to occur?