mgamma {DescTools}R Documentation

Mean and Variance of the Gamma Distribution

Description

Formula: \mu = \frac{\mathrm{shape}}{\mathrm{rate}} \mathrm{Var}(X) = \frac{\mathrm{shape}}{\mathrm{rate}^2}

Usage

mgamma(shape, rate)

Arguments

shape

Shape parameter

rate

Rate parameter

Value

List with mean and variance

See Also

dgamma

Examples

mgamma(shape = 2, rate = 0.5)

[Package DescTools version 0.99.60 Index]