expgamma {lestat} | R Documentation |
Create an ExpGamma distribution
Description
Create an ExpGamma Distribution: If a variable has a Gamma distribution with parameters alpha and beta, then its logarithm has an ExpGamma distribution with parameters alpha, beta, and gamma = 1.
Usage
expgamma(alpha = 1, beta = 1, gamma = -2)
Arguments
alpha |
The "shape" parameter of the corresponding Gamma distribution. |
beta |
The "rate" parameter of the corresponding Gamma distribution. |
gamma |
The scale parameter for the logarithmhic scale. By default, |
Details
The ExpGamma has probability density function
f(x | \alpha,\beta,\gamma)=\exp(\alpha\gamma x - \beta \exp(\gamma x))
Value
An ExpGamma distribution.
Author(s)
Petter Mostad <mostad@chalmers.se>
See Also
Examples
dist <- expgamma(4, 6)
plot(dist)
[Package lestat version 1.9 Index]