In probability and statistics, a Bernoulli process or a Bernoulli experiment is a discrete-time stochastic process consisting of finite or infinite sequence of independent random variables X1, X2, X3,..., such that
- For each i, the value of Xi is either 0 or 1;
- For all values of i, the probability that Xi=1 is the same number p.
Random variables associated with the Bernoulli process include
- The number of successes in the first n trials; this has a binomial distribution;
- The number of trials needed to get r successes; this has a negative binomial distribution.
- The number of trials needed to get one success; this has a geometric distribution, which is a special case of the negative binomial distribution.