Exponential distribution is a popular distribution which is used to model waiting times and memoryless processes. An exponential distribution with parameter lambda can be calculated as (-1/lambda)(log(X)) Where X is a uniformly distributed random variable in [0, 1]. Using "cugen" ,"expgen" is a function which takes the parameter lambda and generates an exponentially distributed random variable.
related functions : rexp
1 | expgen(lambda)
|
1 | expgen(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.