expgamma: Create an ExpGamma distribution

Description Usage Arguments Details Value Author(s) See Also Examples

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

1
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, gamma = -2.

Details

The ExpGamma has probability density function

f(x | α,β,γ)=\exp(αγ x - β \exp(γ x))

Value

An ExpGamma distribution.

Author(s)

Petter Mostad <mostad@chalmers.se>

See Also

gammadistribution

Examples

1
2
dist <- expgamma(4, 6)
plot(dist)

Example output

Loading required package: MASS

lestat documentation built on May 2, 2019, 2:09 p.m.