Acceptance Rate Output

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.

Acceptance Rate Output

Postby irisqueiroz » Fri Mar 08, 2013 2:18 pm

Hi!

Where can I find the MH acceptance rates output ?

Thanks!
irisqueiroz
 
Posts: 15
Joined: Mon Jan 21, 2013 2:39 pm

Re: Acceptance Rate Output

Postby jpfeifer » Fri Mar 08, 2013 4:36 pm

Currently, they are not saved. If you change in dynare_estimation_1 the line inside the "if options_.cova_compute"-statement around line 900 (depending on your version)

Code: Select all
feval(options_.posterior_sampling_method,objective_function,options_.proposal_distribution,xparam1,invhess,bounds,dataset_,options_,M_,estim_params_,bayestopt_,oo_);

to

Code: Select all
oo_.MCrecord=feval(options_.posterior_sampling_method,objective_function,options_.proposal_distribution,xparam1,invhess,bounds,dataset_,options_,M_,estim_params_,bayestopt_,oo_);

you can find them in the oo_ structure subfield MCrecord
------------
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