header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1566 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
65c7c22c42
commit
e462d8c1a0
|
@ -1,5 +1,21 @@
|
|||
function [xparams, logpost] = GetOneDraw(type)
|
||||
% stephane.adjemian@ens.fr [09-25-2005]
|
||||
|
||||
% function [xparams, logpost] = GetOneDraw(type)
|
||||
% draws one row from metropolis
|
||||
%
|
||||
% INPUTS
|
||||
% type: posterior
|
||||
% prior
|
||||
%
|
||||
% OUTPUTS
|
||||
% xparams: vector of estimated parameters (drawn from posterior distribution)
|
||||
% logpost: log of the posterior density relative to this row
|
||||
%
|
||||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
%
|
||||
% part of DYNARE, copyright Dynare Team (2005-2008)
|
||||
% Gnu Public License.
|
||||
|
||||
switch type
|
||||
case 'posterior'
|
||||
|
|
Loading…
Reference in New Issue