mexp: Mean and Variance of the Exponential Distribution

View source: R/moments.R

mexpR Documentation

Mean and Variance of the Exponential Distribution

Description

The exponential distribution with rate \lambda has mean and variance \mu = \frac{1}{\lambda} \mathrm{Var}(X) = \frac{1}{\lambda^2}

Usage

mexp(rate)

Arguments

rate

Rate parameter (1 / mean)

Value

List with mean and variance

References

Hogg, R.V., McKean, J., and Craig, A.T. (2018). Introduction to Mathematical Statistics. Pearson.

See Also

dexp

Examples

mexp(rate = 0.5)

AndriSignorell/DescTools documentation built on June 11, 2025, 10:41 p.m.