Problem with estimation in Dynare - Error Message

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.

Problem with estimation in Dynare - Error Message

Postby rnara1234 » Mon Aug 01, 2016 3:39 pm

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) ;
>>
Attachments
simuldataRBC.m
(140.86 KiB) Downloaded 52 times
RBC_Est.mod
(797 Bytes) Downloaded 55 times
rnara1234
 
Posts: 3
Joined: Mon Jul 22, 2013 4:02 pm

Re: Problem with estimation in Dynare - Error Message

Postby jpfeifer » Mon Aug 01, 2016 3:41 pm

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.
------------
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

Re: Problem with estimation in Dynare - Error Message

Postby rnara1234 » Mon Aug 01, 2016 3:45 pm

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.
rnara1234
 
Posts: 3
Joined: Mon Jul 22, 2013 4:02 pm

Re: Problem with estimation in Dynare - Error Message

Postby jpfeifer » Mon Aug 01, 2016 3:47 pm

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.
------------
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

Re: Problem with estimation in Dynare - Error Message

Postby rnara1234 » Mon Aug 01, 2016 3:48 pm

Dear Johannes,

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

thanks much again,
Ruthira.
rnara1234
 
Posts: 3
Joined: Mon Jul 22, 2013 4:02 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests