gagen: Gamma Generator

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

View source: R/gagen.R

Description

The gamma distribution is a two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the gamma distribution.

Usage

1
gagen(k, landa)

Arguments

k, landa

k as number of exponential variables and landa as the exponential rate parameter of those variables.

Details

A gamma randome variable with parametes k,<ce><bb> is a random variable generated from summation of k exponential random varible with <ce><bb> as their exponential rate parameter.

Value

A random variable from Gamma distribution with parameters k,<ce><bb>.

Note

-

Author(s)

P.Tayefeh Morsal

References

www.wikipedia.org

See Also

gagen.R

Examples

1
gagen(100, 2.5)

amoloudi/R-PKG-Distributions documentation built on May 23, 2019, 7:32 a.m.