header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1607 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
f826a7d5e6
commit
216f7065af
|
@ -1,4 +1,6 @@
|
|||
function SampleAddress = selec_posterior_draws(SampleSize,info)
|
||||
|
||||
% function SampleAddress = selec_posterior_draws(SampleSize,info)
|
||||
% Selects a sample of draws from the posterior distribution and if info=1
|
||||
% saves the draws in _pdraws mat files (metropolis folder). This routine is more
|
||||
% efficient than metropolis_draw.m because here an _mh file cannot be opened twice.
|
||||
|
@ -6,6 +8,7 @@ function SampleAddress = selec_posterior_draws(SampleSize,info)
|
|||
% INPUTS
|
||||
% o SampleSize [integer] Size of the sample to build
|
||||
% o info [integer] If 1 then posterior draws are saved on disk.
|
||||
%
|
||||
% OUTPUTS
|
||||
% o SampleAddress [integer] A (SampleSize*4) array, each line specifies the
|
||||
% location of a posterior draw:
|
||||
|
@ -13,17 +16,12 @@ function SampleAddress = selec_posterior_draws(SampleSize,info)
|
|||
% Column 3 --> (mh) File number
|
||||
% Column 4 --> (mh) line number
|
||||
%
|
||||
% ALGORITHM
|
||||
% None.
|
||||
%
|
||||
% SPECIAL REQUIREMENTS
|
||||
% None.
|
||||
%
|
||||
% SPECIAL THANKS
|
||||
% o Antoine.
|
||||
%
|
||||
% part of DYNARE, copyright S. Adjemian, M. Juillard (2006)
|
||||
% part of DYNARE, copyright Dynare Team (2006-2008)
|
||||
% Gnu Public License.
|
||||
|
||||
global M_ options_ estim_params_
|
||||
|
||||
nvx = estim_params_.nvx;
|
||||
|
|
Loading…
Reference in New Issue