From 7bc2010473e2134d6c278c17391eb95535d3f889 Mon Sep 17 00:00:00 2001 From: assia Date: Thu, 10 Jan 2008 15:09:42 +0000 Subject: [PATCH] header updated git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1553 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/set_prior.m | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/matlab/set_prior.m b/matlab/set_prior.m index 6cf6d951d..ec20b7829 100644 --- a/matlab/set_prior.m +++ b/matlab/set_prior.m @@ -1,4 +1,25 @@ function [xparam1,estim_params_,bayestopt_,lb,ub]=set_prior(estim_params_) + +% function [xparam1,estim_params_,bayestopt_,lb,ub]=set_prior(estim_params_) +% sets prior distributions +% +% INPUTS +% estim_params_: structure characterizing parameters to be estimated +% +% OUTPUTS +% xparam1: vector of parameters to be estimated (initial values) +% estim_params_: structure characterizing parameters to be estimated +% bayestopt_: structure characterizing priors +% lb: lower bound +% ub: upper bound +% +% SPECIAL REQUIREMENTS +% none +% +% part of DYNARE, copyright Dynare Team (2003-2008) +% Gnu Public License. + + global M_ options_ nvx = size(estim_params_.var_exo,1);