Mathematical and statistical functions for the Gompertz distribution, which is commonly used in survival analysis particularly to model adult mortality rates..
The Gompertz distribution parameterised with shape, α, and scale, β, is defined by the pdf,
f(x) = αβ exp(xβ)exp(α)exp(-exp(xβ)α)
for α, β > 0.
Returns an R6 object inheriting from class SDistribution.
The distribution is supported on the Non-Negative Reals.
Gomp(shape = 1, scale = 1)
Full name of distribution.
Short name of distribution for printing.
Brief description of the distribution.
Packages required to be installed in order to construct the distribution.
Creates a new instance of this R6 class.
Gompertz$new(shape = NULL, scale = NULL, decorators = NULL)
Shape parameter, defined on the positive Reals.
Scale parameter, defined on the positive Reals.
Decorators to add to the distribution during construction.
Returns the median of the distribution. If an analytical expression is available
returns distribution median, otherwise if symmetric returns
The probability generating function is defined by
pgf_X(z) = E_X[exp(z^x)]
where X is the distribution and E_X is the expectation of the distribution X.
z integer to evaluate probability generating function at.
The objects of this class are cloneable with this method.
Gompertz$clone(deep = FALSE)
Whether to make a deep clone.
McLaughlin, M. P. (2001). A compendium of common probability distributions (pp. 2014-01). Michael P. McLaughlin.
Other continuous distributions:
Other univariate distributions:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.