From 04684d52a03ab465022f9aab5500876d2eecf3ea Mon Sep 17 00:00:00 2001 From: assia Date: Fri, 11 Jan 2008 16:05:00 +0000 Subject: [PATCH] header updated git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1584 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/inverse_gamma_specification.m | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/matlab/inverse_gamma_specification.m b/matlab/inverse_gamma_specification.m index 5c8473872..7b10b0405 100644 --- a/matlab/inverse_gamma_specification.m +++ b/matlab/inverse_gamma_specification.m @@ -1,12 +1,24 @@ function [s,nu] = inverse_gamma_specification(mu,sigma,type) -% -% mu --> expectation -% sigma --> standard deviation -% type = 1 --> Inverse Gamma 1 -% type = 2 --> Inverse Gamma 2 -% -% stephane.adjemian@cepremap.cnrs.fr [01/14/2004] +% function [s,nu] = inverse_gamma_specification(mu,sigma,type) +% Specification of the inverse Gamma function parameters +% X ~ IG(s,nu) +% +% INPUTS +% mu: expectation +% sigma: standard deviation +% type=1: inverse Gamma 1 +% type=2: inverse Gamma 2 + +% OUTPUTS +% s: shape parameter +% nu: scale parameter +% +% SPECIAL REQUIREMENTS +% none +% +% part of DYNARE, copyright Dynare Team (2003-2008) +% Gnu Public License. sigma2 = sigma^2; mu2 = mu^2;