gagen: Gamma distribution

Description Usage Examples

Description

Summation of k i.i.d exponential random variables leads to a gamma distributed random variable. Using "expgen","gagen" is a function, taking a float number as the parameter of the underlying exponential distribution and an integer as k and generates a random number from gamma distribution.

related functions : rgamma

Usage

1
  gagen(lambda,k)

Examples

1
gagen(10,3)

abahram77/familiarDistribiution documentation built on May 11, 2019, 6:26 p.m.