Description Usage Arguments Details Value Note Author(s) References See Also Examples
the geometric distribution is a discrete probability distributions. The probability distribution of the number X of Bernoulli trials needed to get one success, supported on the set 1, 2, 3, <e2><80><a6>.
1 | gegen(p)
|
p |
p as probability of Bernoulli trials conducted. |
Consider a sequence of trials, where each trial has only two possible outcomes (designated failure and success). The probability of success is assumed to be the same for each trial. In such a sequence of trials, the geometric distribution is useful to model the number of failures before the first success. The distribution gives the probability that there are zero failures before the first success, one failure before the first success, two failures before the first success, and so on.
the returned value of this function is an integer number representing number of failures before the first success.
-
A.Moayedi
www.wikipedia.org
gegen.R
1 | gegen(0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.