Page 1 of 1

Problem with estimation in Dynare - Error Message

PostPosted: Mon Aug 01, 2016 3:39 pm
by rnara1234
Dear All,

I am having issues when I try to estimate any model in Dynare using standard Bayesian estimation provided in Dynare. For instance with the simple example provided in Dynare guide/installation, 'RBC_Est.mod' which I attach together with data 'simuldataRBC.m', it is returning the following error message [which I copy below], would be grateful if someone could help.

thanks,
Ruthira.


Error using f1 (line 2)
Not enough input arguments.
Error in PlotPosteriorDistributions (line 135)
top1 = max(f1);
Error in dynare_estimation_1 (line 804)
oo_ = PlotPosteriorDistributions(estim_params_, M_, options_, bayestopt_, oo_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in RBC_Est (line 160)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
>>

Re: Problem with estimation in Dynare - Error Message

PostPosted: Mon Aug 01, 2016 3:41 pm
by jpfeifer
This looks like a path conflict. Can you please type into the Matlab command window
Code: Select all
which f1

and check whether there is a function with that name. If yes, make sure it is not accessed anymore.

Re: Problem with estimation in Dynare - Error Message

PostPosted: Mon Aug 01, 2016 3:45 pm
by rnara1234
thanks much for response, when I type which f1, it gives:

C:\Users\User\Documents\Matlab_Course\CompEcon2016\CEdemos\f1.m

Can you please direct me as to how I can deny access to this file again.

best
Ruthira.

Re: Problem with estimation in Dynare - Error Message

PostPosted: Mon Aug 01, 2016 3:47 pm
by jpfeifer
Remove the path to the CompEcon toolbox from your Matlab path. For that, go to Home -> Set Path -> Remove in Matlab and delete the relevant folders there.

Re: Problem with estimation in Dynare - Error Message

PostPosted: Mon Aug 01, 2016 3:48 pm
by rnara1234
Dear Johannes,

thanks, I will just select it from setpath and remove it, hopefully it does the job.

thanks much again,
Ruthira.