.BG
.VE $Header: /usr/s/current/s/.help/RCS/gammadist,v 1.4 85/08/09 16:42:56 rab Exp $
.FN Gamma
.FN dgamma
.FN pgamma
.FN qgamma
.FN rgamma
.TL
dgamma pgamma qgamma rgamma: Gamma Probability Distribution
.CS
dgamma(q, par1)
pgamma(q, par1)
qgamma(p, par1)
rgamma(n, par1)
.PP
.AG q
vector of quantiles.
Missing values (NAs) are allowed.
.AG p
vector of probabilities.
Missing values (NAs) are allowed.
.AG n
sample size.
If `len(n)' is larger than 1, then `len(n)' random values are returned.
.AG par1
vector of shape parameters (>0).
In this parameterization, the probability density is proportional
to `exp(x)*x^(par1-1)'.
The mean and variance of the distribution are both equal to `par1'.
.RT
density (`dgamma'),
probability (`pgamma'),
quantile (`qgamma'), or
random sample (`rgamma')
for the gamma distribution with shape `par1'.
.EX
rgamma(20,10) #sample of 20 with shape parameter 10
.KW basic*
.KW random
.KW distribution
.KW probability
.KW quantile
.KW density
.WR
