Skip to content
Prev 43788 / 398513 Next

rgamma question

On Thu, 5 Feb 2004, Icabalceta, Jorge L. wrote:

            
It depends on what you mean by gamma(alpha,beta). It could be
	rgamma(1,alpha,beta)
or
 	rgamma(1,alpha,1/beta)
since both of these parameterisations are used.

If you think the mean of gamma(alpha,beta) is alpha*beta, use the second
one, if you think it is alpha/beta use the first one.

	-thomas