header updated

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1658 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
assia 2008-01-28 15:52:37 +00:00
parent 68baa83fc8
commit 6fa72ce61a
1 changed files with 20 additions and 0 deletions

View File

@ -1,4 +1,24 @@
function [xparams, logpost]=metropolis_draw(init)
% function [xparams, logpost]=metropolis_draw(init)
% Builds draws from metropolis
%
% INPUTS:
% init: scalar equal to 1 (first call) or 0
%
% OUTPUTS:
% xparams: vector of estimated parameters
% logpost: log of posterior density
%
% SPECIAL REQUIREMENTS
% none
%
% part of DYNARE, copyright Dynare Team (2003-2007)
% Gnu Public License.
global options_ estim_params_ M_
persistent mh_nblck NumberOfDraws fname FirstLine FirstMhFile MAX_nruns