A Bernoulli scheme is a
discrete-time stochastic process where each
independent random variable may take on one of
N distinct possible values, with the outcome
i occurring with probability p_i, with
i = 1, ...,
N, and :\sum_{i=1}^N p_i = 1. The
sample space is usually denoted as :X=\{1,\ldots,N \}^\mathbb{Z} as a shorthand for :X=\{ x=(\ldots,x_{-1},x_0,x_1,\ldots) : x_k \in \{1,\ldots,N\} \; \forall k \in \mathbb{Z} \}. The associated
measure is called the
Bernoulli measure :\mu = \{p_1,\ldots,p_N\}^\mathbb{Z} The
σ-algebra \mathcal{A} on
X is the product sigma algebra; that is, it is the (countable)
direct product of the σ-algebras of the finite set {1, ...,
N}. Thus, the triplet :(X,\mathcal{A},\mu) is a
measure space. A basis of \mathcal{A} is the
cylinder sets. Given a cylinder set [x_0, x_1,\ldots,x_n], its measure is :\mu\left([x_0, x_1,\ldots,x_n]\right)= \prod_{i=0}^n p_{x_i} The equivalent expression, using the notation of probability theory, is :\mu\left([x_0, x_1,\ldots,x_n]\right)= \mathrm{Pr}(X_0=x_0, X_1=x_1, \ldots, X_n=x_n) for the random variables \{X_k\} The Bernoulli scheme, as any stochastic process, may be viewed as a
dynamical system by endowing it with the
shift operator T where :T(x_k) = x_{k+1}. Since the outcomes are independent, the shift preserves the measure, and thus
T is a
measure-preserving transformation. The quadruplet :(X,\mathcal{A},\mu, T) is a
measure-preserving dynamical system, and is called a
Bernoulli scheme or a
Bernoulli shift. It is often denoted by :BS(p)=BS(p_1,\ldots,p_N). The
N = 2 Bernoulli scheme is called a
Bernoulli process. The Bernoulli shift can be understood as a special case of the
Markov shift, where all entries in the
adjacency matrix are one, the corresponding graph thus being a
clique. ==Matches and metrics==