bigen: Binomial Generator

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/bigen.R

Description

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).

Usage

1
bigen(p, n)

Arguments

p, n

p as parameter of Bernoulli, n as number of trials conducted.

Details

Used Bernoulli Generator(brgen)

Value

returns a number from 0 to n, representing number of success in n trials conducted which itself is a random variable.

Note

nothing to note!

Author(s)

A.Moloudi

References

www.wikipedia.org

See Also

bigen.R

Examples

1
bigen(0.7, 10000)

amoloudi/R-PKG-Distributions documentation built on May 23, 2019, 7:32 a.m.