Description Usage Arguments Value See Also Examples
generates n geometric random variables, each by counting number of failures between two wins in consecutive bernoulli trials.
1 | gegen(n , p)
|
n |
number of generated numbers |
p |
parameter p of distribution - success probability |
vector of length n, containing n geomtric distributed numbers.
1 | out = gegen(100 , 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.