In probability and statistics, a Bernoulli process (named after Jacob Bernoulli) is a finite or infinite sequence of binary random variables, so it is a discrete-time stochastic process that takes only two values, canonically 0 and 1. The component Bernoulli variables Xi are identically distributed and independent. Prosaically, a Bernoulli process is a repeated coin flipping, possibly with an unfair coin (but with consistent unfairness). Every variable Xi in the sequence is associated with a Bernoulli trial or experiment. They all have the same Bernoulli distribution. Much of what can be said about the Bernoulli process can also be generalized to more than two outcomes (such as the process for a six-sided die); this generalization is known as the Bernoulli scheme. The problem of determining the process, given only a limited sample of Bernoulli trials, may be called the problem of checking whether a coin is fair.
Definition A Bernoulli process is a 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 p that Xi = 1 is the same. In other words, a Bernoulli process is a sequence of independent identically distributed Bernoulli trials. Independence of the trials implies that the process is memoryless, in which past event frequencies have no influence on about future event probability frequencies. In most instances the true value of p is unknown, therefore we use past frequencies to assess/forecast/estimate future events & their probabilities indirectly via applying probabilistic inference upon p. If the process is infinite, then from any point the future trials constitute a Bernoulli process identical to the whole process, the fresh-start property.
Interpretation The two possible values of each Xi are often called "success" and "failure". Thus, when expressed as a number 0 or 1, the outcome may be called the number of successes on the ith "trial". Two other common interpretations of the values are true or false and yes or no. Under any interpretation of the two values, the individual variables Xi may be called Bernoulli trials with parameter p. In many applications time passes between trials, as the index i increases. In effect, the trials X1, X2, ... Xi, ... happen at "points in time" 1, 2, ..., i, .... That passage of time and the associated notions of "past" and "future" are not necessary, however. Most generally, any Xi and Xj in the process are simply two from a set of random variables indexed by {1, 2, ..., n}, the finite cases, or by {1, 2, 3, ...}, the infinite cases. One experiment with only two possible outcomes, often referred to as "success" and "failure", usually encoded as 1 and 0, can be modeled as a Bernoulli distribution. Several random variables and probability distributions beside the Bernoullis may be derived from the Bernoulli process:
The number of successes in the first n trials, which has a binomial distribution B(n, p) The number of failures needed to get r successes, which has a negative binomial distribution NB(r, p) The number of failures needed to get one success, which has a geometric distribution NB(1, p), a special case of the negative binomial distribution The negative binomial variables may be interpreted as random waiting times.
Formal definition The Bernoulli process can be formalized in the language of probability spaces as a random sequence of independent realisations of a random variable that can take values of heads or tails. The state space for an individual value is denoted by 2={H,T}.
Borel algebra Consider the countably infinite direct product of copies of 2={H,T}. It is common to examine either the one-sided set Ω=2ℕ={H,T}ℕ or the two-sided set Ω=2ℤ. There is a natural topology on this space, called the product topology. The sets in this topology are finite sequences of coin flips, that is, finite-length strings of H and T (H stands for heads and T stands for tails), with the rest of (infinitely long) sequence taken as "don't care". These sets of finite sequences are referred to as cylinder sets in the product topology. The set of all such strings forms a sigma algebra, specifically, a Borel algebra. This algebra is then commonly written as (Ω,ℬ) where the elements of ℬ are the finite-length sequences of coin flips (the cylinder sets).
Bernoulli measure If the chances of flipping heads or tails are given by the probabilities {p,1−p}, then one can define a natural measure on the product space, given by P={p,1−p}ℕ (or by P={p,1−p}ℤ for the two-sided process). In another word, if a discrete random variable X has a Bernoulli distribution with parameter p, where 0 ≤ p ≤ 1, and its probability mass function is given by
pX(1)=P(X=1)=p and pX(0)=P(X=0)=1−p. We denote this distribution by Ber(p). Given a cylinder set, that is, a specific sequence of coin flip results [ω1,ω2,⋯ωn] at times 1,2,⋯,n, the probability of observing this particular sequence is given by
P([ω1,ω2,⋯,ωn])=pk(1−p)n−k where k is the number of times that H appears in the sequence, and n−k is the number of times that T appears in the sequence. There are several different kinds of notations for the above; a common one is to write
P(X1=x1,X2=x2,⋯,Xn=xn)=pk(1−p)n−k where each Xi is a binary-valued random variable with xi=[ωi=H] in Iverson bracket notation, meaning either 1 if ωi=H or 0 if ωi=T. This probability P is commonly called the Bernoulli measure. Note that the probability of any specific, infinitely long sequence of coin flips is exactly zero; this is because limn→∞pn=0, for any 0≤p<1. A probability equal to 1 implies that any given infinite sequence has measure zero. Nevertheless, one can still say that some classes of infinite sequences of coin flips are far more likely than others, this is given by the asymptotic equipartition property. To conclude the formal definition, a Bernoulli process is then given by the probability triple (Ω,ℬ,P), as defined above.
Law of large numbers, binomial distribution and central limit theorem
Let us assume the canonical process with H represented by 1 and T represented by 0. The law of large numbers states that the average of the sequence, i.e., X¯n:=1n∑i=1nXi, will approach the expected value almost certainly, that is, the events which do not satisfy this limit have zero probability. The expectation value of flipping heads, assumed to be represented by 1, is given by p. In fact, one has
… excerpt ends here. Continue reading the full article.


