Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug when neighborhood_width is used : MC option must be forced.

  • Loading branch information...
Marco Ratto
Marco Ratto committed Apr 14, 2015
1 parent b493888 commit e32cbf626f9f0b9e322b2ac44d93461afcb320a0
Showing with 5 additions and 0 deletions.
  1. +5 −0 matlab/dynare_sensitivity.m
@@ -163,6 +163,11 @@
options_gsa = set_default_option(options_gsa,'alpha_rmse',0.001);
options_gsa = set_default_option(options_gsa,'alpha2_rmse',1.e-5);

if options_gsa.neighborhood_width,
options_gsa.pprior=0;
options_gsa.ppost=0;
end

if options_gsa.redform && options_gsa.neighborhood_width==0 && isempty(options_gsa.threshold_redform),
options_gsa.pprior=1;
options_gsa.ppost=0;

0 comments on commit e32cbf6

Please sign in to comment.
You can’t perform that action at this time.