Last chance! 50% off unlimited learning
Sale ends in
Density, distribution function, quantile function and random generation for the Gompertz distribution with unrestricted shape.
dGompertz(x, shape, rate = 1, log = FALSE)
pGompertz(q, shape, rate = 1, lower.tail = TRUE, log.p = FALSE)
qGompertz(p, shape, rate = 1, lower.tail = TRUE, log.p = FALSE)
rGompertz(n, shape = 1, rate = 1)
dGompertz
gives the density, pGompertz
gives the
distribution function, qGompertz
gives the quantile function,
and rGompertz
generates random deviates.
vector of quantiles.
vector of shape and rate parameters.
logical; if TRUE, probabilities p are given as log(p).
logical; if TRUE (default), probabilities are
vector of probabilities.
number of observations. If length(n) > 1
, the length is
taken to be the number required.
Christopher Jackson <chris.jackson@mrc-bsu.cam.ac.uk>
The Gompertz distribution with shape
parameter rate
parameter
For
The probability distribution function is
Thus if qGompertz
and rGompertz
will
return Inf
.
Stata Press (2007) Stata release 10 manual: Survival analysis and epidemiological tables.