Description Usage Arguments Details Value Note Author(s) References See Also Examples
the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments, each asking a yes<e2><80><93>no question, and each with its own boolean-valued outcome: a random variable containing single bit of information: success/yes/true/one (with probability p) or failure/no/false/zero (with probability q = 1 <e2><88><92> p).
1 | bigen(p, n)
|
p, n |
p as parameter of Bernoulli, n as number of trials conducted. |
Used Bernoulli Generator(brgen)
returns a number from 0 to n, representing number of success in n trials conducted which itself is a random variable.
nothing to note!
A.Moloudi
www.wikipedia.org
bigen.R
1 | bigen(0.7, 10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.