header updated

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1661 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
assia 2008-01-29 13:20:25 +00:00
parent 3531920329
commit a1a58bc29b
1 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,22 @@
function y = rndprior(bayestopt_)
% function y = rndprior(bayestopt_)
% Draws random number from the prior density
%
% INPUTS
% bayestopt_: structure characterizing priors
%
% OUTPUTS
% y: drawn numbers vector
%
% SPECIAL REQUIREMENTS
% none
%
% part of DYNARE, copyright Dynare Team (2003-2007)
% Gnu Public License.
pshape=bayestopt_.pshape;
pmean=bayestopt_.pmean;
p1=bayestopt_.p1;