Independence (probability theory)
Part of a series on statistics 
Probability theory 

Independence is a fundamental notion in probability theory, as in statistics and the theory of stochastic processes. Two events are independent, statistically independent, or stochastically independent^{[1]} if, informally speaking, the occurrence of one does not affect the probability of occurrence of the other or, equivalently, does not affect the odds. Similarly, two random variables are independent if the realization of one does not affect the probability distribution of the other.
When dealing with collections of more than two events, two notions of independence need to be distinguished. The events are called pairwise independent if any two events in the collection are independent of each other, while mutual independence (or collective independence) of events means, informally speaking, that each event is independent of any combination of other events in the collection. A similar notion exists for collections of random variables. Mutual independence implies pairwise independence, but not the other way around. In the standard literature of probability theory, statistics, and stochastic processes, independence without further qualification usually refers to mutual independence.
Definition
For events
Two events
Two events [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are independent (often written as [math]\displaystyle{ A \perp B }[/math] or [math]\displaystyle{ A \perp\!\!\!\perp B }[/math], where the latter symbol often is also used for conditional independence) if and only if their joint probability equals the product of their probabilities:^{[2]}^{:p. 29}^{[3]}^{:p. 10}
[math]\displaystyle{ \mathrm{P}(A \cap B) = \mathrm{P}(A)\mathrm{P}(B) }[/math] 

( ) 
[math]\displaystyle{ A \cap B \neq \emptyset }[/math] indicates that two independent events [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] have common elements in their sample space so that they are not mutually exclusive (mutually exclusive iff [math]\displaystyle{ A \cap B = \emptyset }[/math]). Why this defines independence is made clear by rewriting with conditional probabilities [math]\displaystyle{ P(A \mid B) = \frac{P(A \cap B)}{P(B)} }[/math] as the probability at which the event [math]\displaystyle{ A }[/math] occurs provided that the event [math]\displaystyle{ B }[/math] has or is assumed to have occurred:
 [math]\displaystyle{ \mathrm{P}(A \cap B) = \mathrm{P}(A)\mathrm{P}(B) \iff \mathrm{P}(A\mid B) = \frac{\mathrm{P}(A \cap B)}{\mathrm{P}(B)} = \mathrm{P}(A). }[/math]
and similarly
 [math]\displaystyle{ \mathrm{P}(A \cap B) = \mathrm{P}(A)\mathrm{P}(B) \iff\mathrm{P}(B\mid A) = \frac{\mathrm{P}(A \cap B)}{\mathrm{P}(A)} = \mathrm{P}(B). }[/math]
Thus, the occurrence of [math]\displaystyle{ B }[/math] does not affect the probability of [math]\displaystyle{ A }[/math], and vice versa. In other words, [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are independent to each other. Although the derived expressions may seem more intuitive, they are not the preferred definition, as the conditional probabilities may be undefined if [math]\displaystyle{ \mathrm{P}(A) }[/math] or [math]\displaystyle{ \mathrm{P}(B) }[/math] are 0. Furthermore, the preferred definition makes clear by symmetry that when [math]\displaystyle{ A }[/math] is independent of [math]\displaystyle{ B }[/math], [math]\displaystyle{ B }[/math] is also independent of [math]\displaystyle{ A }[/math].
Odds
Stated in terms of odds, two events are independent if and only if the odds ratio of [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] is unity (1). Analogously with probability, this is equivalent to the conditional odds being equal to the unconditional odds:
 [math]\displaystyle{ O(A \mid B) = O(A) \text{ and } O(B \mid A) = O(B), }[/math]
or to the odds of one event, given the other event, being the same as the odds of the event, given the other event not occurring:
 [math]\displaystyle{ O(A \mid B) = O(A \mid \neg B) \text{ and } O(B \mid A) = O(B \mid \neg A). }[/math]
The odds ratio can be defined as
 [math]\displaystyle{ O(A \mid B) : O(A \mid \neg B), }[/math]
or symmetrically for odds of [math]\displaystyle{ B }[/math] given [math]\displaystyle{ A }[/math], and thus is 1 if and only if the events are independent.
More than two events
A finite set of events [math]\displaystyle{ \{ A_i \} _{i=1}^{n} }[/math] is pairwise independent if every pair of events is independent^{[4]}—that is, if and only if for all distinct pairs of indices [math]\displaystyle{ m,k }[/math],
[math]\displaystyle{ \mathrm{P}(A_m \cap A_k) = \mathrm{P}(A_m)\mathrm{P}(A_k) }[/math] 

( ) 
A finite set of events is mutually independent if every event is independent of any intersection of the other events^{[4]}^{[3]}^{:p. 11}—that is, if and only if for every [math]\displaystyle{ k \leq n }[/math] and for every k indices [math]\displaystyle{ 1\le i_1 \lt \dots \lt i_k \le n }[/math],
[math]\displaystyle{ \mathrm{P}\left(\bigcap_{j=1}^k A_{i_j} \right)=\prod_{j=1}^k \mathrm{P}(A_{i_j} ) }[/math] 

( ) 
This is called the multiplication rule for independent events. It is not a single condition involving only the product of all the probabilities of all single events; it must hold true for all subsets of events.
For more than two events, a mutually independent set of events is (by definition) pairwise independent; but the converse is not necessarily true.^{[2]}^{:p. 30}
Log probability and information content
Stated in terms of log probability, two events are independent if and only if the log probability of the joint event is the sum of the log probability of the individual events:
 [math]\displaystyle{ \log \mathrm{P}(A \cap B) = \log \mathrm{P}(A) + \log \mathrm{P}(B) }[/math]
In information theory, negative log probability is interpreted as information content, and thus two events are independent if and only if the information content of the combined event equals the sum of information content of the individual events:
 [math]\displaystyle{ \mathrm{I}(A \cap B) = \mathrm{I}(A) + \mathrm{I}(B) }[/math]
See Information content § Additivity of independent events for details.
For real valued random variables
Two random variables
Two random variables [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are independent if and only if (iff) the elements of the πsystem generated by them are independent; that is to say, for every [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math], the events [math]\displaystyle{ \{ X \le x\} }[/math] and [math]\displaystyle{ \{ Y \le y\} }[/math] are independent events (as defined above in Eq.1). That is, [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] with cumulative distribution functions [math]\displaystyle{ F_X(x) }[/math] and [math]\displaystyle{ F_Y(y) }[/math], are independent iff the combined random variable [math]\displaystyle{ (X,Y) }[/math] has a joint cumulative distribution function^{[3]}^{:p. 15}
[math]\displaystyle{ F_{X,Y}(x,y) = F_X(x) F_Y(y) \quad \text{for all } x,y }[/math] 

( ) 
or equivalently, if the probability densities [math]\displaystyle{ f_X(x) }[/math] and [math]\displaystyle{ f_Y(y) }[/math] and the joint probability density [math]\displaystyle{ f_{X,Y}(x,y) }[/math] exist,
 [math]\displaystyle{ f_{X,Y}(x,y) = f_X(x) f_Y(y) \quad \text{for all } x,y. }[/math]
More than two random variables
A finite set of [math]\displaystyle{ n }[/math] random variables [math]\displaystyle{ \{X_1,\ldots,X_n\} }[/math] is pairwise independent if and only if every pair of random variables is independent. Even if the set of random variables is pairwise independent, it is not necessarily mutually independent as defined next.
A finite set of [math]\displaystyle{ n }[/math] random variables [math]\displaystyle{ \{X_1,\ldots,X_n\} }[/math] is mutually independent if and only if for any sequence of numbers [math]\displaystyle{ \{x_1, \ldots, x_n\} }[/math], the events [math]\displaystyle{ \{X_1 \le x_1\}, \ldots, \{X_n \le x_n \} }[/math] are mutually independent events (as defined above in Eq.3). This is equivalent to the following condition on the joint cumulative distribution function [math]\displaystyle{ F_{X_1,\ldots,X_n}(x_1,\ldots,x_n) }[/math]. A finite set of [math]\displaystyle{ n }[/math] random variables [math]\displaystyle{ \{X_1,\ldots,X_n\} }[/math] is mutually independent if and only if^{[3]}^{:p. 16}
[math]\displaystyle{ F_{X_1,\ldots,X_n}(x_1,\ldots,x_n) = F_{X_1}(x_1) \cdot \ldots \cdot F_{X_n}(x_n) \quad \text{for all } x_1,\ldots,x_n }[/math] 

( ) 
Notice that it is not necessary here to require that the probability distribution factorizes for all possible [math]\displaystyle{ k }[/math]element subsets as in the case for [math]\displaystyle{ n }[/math] events. This is not required because e.g. [math]\displaystyle{ F_{X_1,X_2,X_3}(x_1,x_2,x_3) = F_{X_1}(x_1) \cdot F_{X_2}(x_2) \cdot F_{X_3}(x_3) }[/math] implies [math]\displaystyle{ F_{X_1,X_3}(x_1,x_3) = F_{X_1}(x_1) \cdot F_{X_3}(x_3) }[/math].
The measuretheoretically inclined may prefer to substitute events [math]\displaystyle{ \{ X \in A \} }[/math] for events [math]\displaystyle{ \{ X \leq x \} }[/math] in the above definition, where [math]\displaystyle{ A }[/math] is any Borel set. That definition is exactly equivalent to the one above when the values of the random variables are real numbers. It has the advantage of working also for complexvalued random variables or for random variables taking values in any measurable space (which includes topological spaces endowed by appropriate σalgebras).
For real valued random vectors
Two random vectors [math]\displaystyle{ \mathbf{X}=(X_1,\ldots,X_m)^\mathrm{T} }[/math] and [math]\displaystyle{ \mathbf{Y}=(Y_1,\ldots,Y_n)^\mathrm{T} }[/math] are called independent if^{[5]}^{:p. 187}
[math]\displaystyle{ F_{\mathbf{X,Y}}(\mathbf{x,y}) = F_{\mathbf{X}}(\mathbf{x}) \cdot F_{\mathbf{Y}}(\mathbf{y}) \quad \text{for all } \mathbf{x},\mathbf{y} }[/math] 

( ) 
where [math]\displaystyle{ F_{\mathbf{X}}(\mathbf{x}) }[/math] and [math]\displaystyle{ F_{\mathbf{Y}}(\mathbf{y}) }[/math] denote the cumulative distribution functions of [math]\displaystyle{ \mathbf{X} }[/math] and [math]\displaystyle{ \mathbf{Y} }[/math] and [math]\displaystyle{ F_{\mathbf{X,Y}}(\mathbf{x,y}) }[/math] denotes their joint cumulative distribution function. Independence of [math]\displaystyle{ \mathbf{X} }[/math] and [math]\displaystyle{ \mathbf{Y} }[/math] is often denoted by [math]\displaystyle{ \mathbf{X} \perp\!\!\!\perp \mathbf{Y} }[/math]. Written componentwise, [math]\displaystyle{ \mathbf{X} }[/math] and [math]\displaystyle{ \mathbf{Y} }[/math] are called independent if
 [math]\displaystyle{ F_{X_1,\ldots,X_m,Y_1,\ldots,Y_n}(x_1,\ldots,x_m,y_1,\ldots,y_n) = F_{X_1,\ldots,X_m}(x_1,\ldots,x_m) \cdot F_{Y_1,\ldots,Y_n}(y_1,\ldots,y_n) \quad \text{for all } x_1,\ldots,x_m,y_1,\ldots,y_n. }[/math]
For stochastic processes
For one stochastic process
The definition of independence may be extended from random vectors to a stochastic process. Therefore, it is required for an independent stochastic process that the random variables obtained by sampling the process at any [math]\displaystyle{ n }[/math] times [math]\displaystyle{ t_1,\ldots,t_n }[/math] are independent random variables for any [math]\displaystyle{ n }[/math].^{[6]}^{:p. 163}
Formally, a stochastic process [math]\displaystyle{ \left\{ X_t \right\}_{t\in\mathcal{T}} }[/math] is called independent, if and only if for all [math]\displaystyle{ n\in \mathbb{N} }[/math] and for all [math]\displaystyle{ t_1,\ldots,t_n\in\mathcal{T} }[/math]
[math]\displaystyle{ F_{X_{t_1},\ldots,X_{t_n}}(x_1,\ldots,x_n) = F_{X_{t_1}}(x_1) \cdot \ldots \cdot F_{X_{t_n}}(x_n) \quad \text{for all } x_1,\ldots,x_n }[/math] 

( ) 
where [math]\displaystyle{ F_{X_{t_1},\ldots,X_{t_n}}(x_1,\ldots,x_n) = \mathrm{P}(X(t_1) \leq x_1,\ldots,X(t_n) \leq x_n) }[/math]. Independence of a stochastic process is a property within a stochastic process, not between two stochastic processes.
For two stochastic processes
Independence of two stochastic processes is a property between two stochastic processes [math]\displaystyle{ \left\{ X_t \right\}_{t\in\mathcal{T}} }[/math] and [math]\displaystyle{ \left\{ Y_t \right\}_{t\in\mathcal{T}} }[/math] that are defined on the same probability space [math]\displaystyle{ (\Omega,\mathcal{F},P) }[/math]. Formally, two stochastic processes [math]\displaystyle{ \left\{ X_t \right\}_{t\in\mathcal{T}} }[/math] and [math]\displaystyle{ \left\{ Y_t \right\}_{t\in\mathcal{T}} }[/math] are said to be independent if for all [math]\displaystyle{ n\in \mathbb{N} }[/math] and for all [math]\displaystyle{ t_1,\ldots,t_n\in\mathcal{T} }[/math], the random vectors [math]\displaystyle{ (X(t_1),\ldots,X(t_n)) }[/math] and [math]\displaystyle{ (Y(t_1),\ldots,Y(t_n)) }[/math] are independent,^{[7]}^{:p. 515} i.e. if
[math]\displaystyle{ F_{X_{t_1},\ldots,X_{t_n},Y_{t_1},\ldots,Y_{t_n}}(x_1,\ldots,x_n,y_1,\ldots,y_n) = F_{X_{t_1},\ldots,X_{t_n}}(x_1,\ldots,x_n) \cdot F_{Y_{t_1},\ldots,Y_{t_n}}(y_1,\ldots,y_n) \quad \text{for all } x_1,\ldots,x_n }[/math] 

( ) 
Independent σalgebras
The definitions above (Eq.1 and Eq.2) are both generalized by the following definition of independence for σalgebras. Let [math]\displaystyle{ (\Omega, \Sigma, \mathrm{P}) }[/math] be a probability space and let [math]\displaystyle{ \mathcal{A} }[/math] and [math]\displaystyle{ \mathcal{B} }[/math] be two subσalgebras of [math]\displaystyle{ \Sigma }[/math]. [math]\displaystyle{ \mathcal{A} }[/math] and [math]\displaystyle{ \mathcal{B} }[/math] are said to be independent if, whenever [math]\displaystyle{ A \in \mathcal{A} }[/math] and [math]\displaystyle{ B \in \mathcal{B} }[/math],
 [math]\displaystyle{ \mathrm{P}(A \cap B) = \mathrm{P}(A) \mathrm{P}(B). }[/math]
Likewise, a finite family of σalgebras [math]\displaystyle{ (\tau_i)_{i\in I} }[/math], where [math]\displaystyle{ I }[/math] is an index set, is said to be independent if and only if
 [math]\displaystyle{ \forall \left(A_i\right)_{i\in I} \in \prod\nolimits_{i\in I}\tau_i \ : \ \mathrm{P}\left(\bigcap\nolimits_{i\in I}A_i\right) = \prod\nolimits_{i\in I}\mathrm{P}\left(A_i\right) }[/math]
and an infinite family of σalgebras is said to be independent if all its finite subfamilies are independent.
The new definition relates to the previous ones very directly:
 Two events are independent (in the old sense) if and only if the σalgebras that they generate are independent (in the new sense). The σalgebra generated by an event [math]\displaystyle{ E \in \Sigma }[/math] is, by definition,
 [math]\displaystyle{ \sigma(\{E\}) = \{ \emptyset, E, \Omega \setminus E, \Omega \}. }[/math]
 Two random variables [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] defined over [math]\displaystyle{ \Omega }[/math] are independent (in the old sense) if and only if the σalgebras that they generate are independent (in the new sense). The σalgebra generated by a random variable [math]\displaystyle{ X }[/math] taking values in some measurable space [math]\displaystyle{ S }[/math] consists, by definition, of all subsets of [math]\displaystyle{ \Omega }[/math] of the form [math]\displaystyle{ X^{1}(U) }[/math], where [math]\displaystyle{ U }[/math] is any measurable subset of [math]\displaystyle{ S }[/math].
Using this definition, it is easy to show that if [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are random variables and [math]\displaystyle{ Y }[/math] is constant, then [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are independent, since the σalgebra generated by a constant random variable is the trivial σalgebra [math]\displaystyle{ \{ \varnothing, \Omega \} }[/math]. Probability zero events cannot affect independence so independence also holds if [math]\displaystyle{ Y }[/math] is only Pralmost surely constant.
Properties
Selfindependence
Note that an event is independent of itself if and only if
 [math]\displaystyle{ \mathrm{P}(A) = \mathrm{P}(A \cap A) = \mathrm{P}(A) \cdot \mathrm{P}(A) \iff \mathrm{P}(A) = 0 \text{ or } \mathrm{P}(A) = 1. }[/math]
Thus an event is independent of itself if and only if it almost surely occurs or its complement almost surely occurs; this fact is useful when proving zero–one laws.^{[8]}
Expectation and covariance
If [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are statistically independent random variables, then the expectation operator [math]\displaystyle{ \operatorname{E} }[/math] has the property
 [math]\displaystyle{ \operatorname{E}[X^n Y^m] = \operatorname{E}[X^n] \operatorname{E}[Y^m], }[/math]^{[9]}^{:p. 10}
and the covariance [math]\displaystyle{ \operatorname{cov}[X,Y] }[/math] is zero, as follows from
 [math]\displaystyle{ \operatorname{cov}[X,Y] = \operatorname{E}[X Y]  \operatorname{E}[X] \operatorname{E}[Y]. }[/math]
The converse does not hold: if two random variables have a covariance of 0 they still may be not independent.
Similarly for two stochastic processes [math]\displaystyle{ \left\{ X_t \right\}_{t\in\mathcal{T}} }[/math] and [math]\displaystyle{ \left\{ Y_t \right\}_{t\in\mathcal{T}} }[/math]: If they are independent, then they are uncorrelated.^{[10]}^{:p. 151}
Characteristic function
Two random variables [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are independent if and only if the characteristic function of the random vector [math]\displaystyle{ (X,Y) }[/math] satisfies
 [math]\displaystyle{ \varphi_{(X,Y)}(t,s) = \varphi_{X}(t)\cdot \varphi_{Y}(s). }[/math]
In particular the characteristic function of their sum is the product of their marginal characteristic functions:
 [math]\displaystyle{ \varphi_{X+Y}(t) = \varphi_X(t)\cdot\varphi_Y(t), }[/math]
though the reverse implication is not true. Random variables that satisfy the latter condition are called subindependent.
Examples
Rolling dice
The event of getting a 6 the first time a die is rolled and the event of getting a 6 the second time are independent. By contrast, the event of getting a 6 the first time a die is rolled and the event that the sum of the numbers seen on the first and second trial is 8 are not independent.
Drawing cards
If two cards are drawn with replacement from a deck of cards, the event of drawing a red card on the first trial and that of drawing a red card on the second trial are independent. By contrast, if two cards are drawn without replacement from a deck of cards, the event of drawing a red card on the first trial and that of drawing a red card on the second trial are not independent, because a deck that has had a red card removed has proportionately fewer red cards.
Pairwise and mutual independence
Consider the two probability spaces shown. In both cases, [math]\displaystyle{ \mathrm{P}(A) = \mathrm{P}(B) = 1/2 }[/math] and [math]\displaystyle{ \mathrm{P}(C) = 1/4 }[/math]. The random variables in the first space are pairwise independent because [math]\displaystyle{ \mathrm{P}(AB) = \mathrm{P}(AC)=1/2=\mathrm{P}(A) }[/math], [math]\displaystyle{ \mathrm{P}(BA) = \mathrm{P}(BC)=1/2=\mathrm{P}(B) }[/math], and [math]\displaystyle{ \mathrm{P}(CA) = \mathrm{P}(CB)=1/4=\mathrm{P}(C) }[/math]; but the three random variables are not mutually independent. The random variables in the second space are both pairwise independent and mutually independent. To illustrate the difference, consider conditioning on two events. In the pairwise independent case, although any one event is independent of each of the other two individually, it is not independent of the intersection of the other two:
 [math]\displaystyle{ \mathrm{P}(ABC) = \frac{\frac{4}{40}}{\frac{4}{40} + \frac{1}{40}} = \tfrac{4}{5} \ne \mathrm{P}(A) }[/math]
 [math]\displaystyle{ \mathrm{P}(BAC) = \frac{\frac{4}{40}}{\frac{4}{40} + \frac{1}{40}} = \tfrac{4}{5} \ne \mathrm{P}(B) }[/math]
 [math]\displaystyle{ \mathrm{P}(CAB) = \frac{\frac{4}{40}}{\frac{4}{40} + \frac{6}{40}} = \tfrac{2}{5} \ne \mathrm{P}(C) }[/math]
In the mutually independent case, however,
 [math]\displaystyle{ \mathrm{P}(ABC) = \frac{\frac{1}{16}}{\frac{1}{16} + \frac{1}{16}} = \tfrac{1}{2} = \mathrm{P}(A) }[/math]
 [math]\displaystyle{ \mathrm{P}(BAC) = \frac{\frac{1}{16}}{\frac{1}{16} + \frac{1}{16}} = \tfrac{1}{2} = \mathrm{P}(B) }[/math]
 [math]\displaystyle{ \mathrm{P}(CAB) = \frac{\frac{1}{16}}{\frac{1}{16} + \frac{3}{16}} = \tfrac{1}{4} = \mathrm{P}(C) }[/math]
Tripleindependence but no pairwiseindependence
It is possible to create a threeevent example in which
 [math]\displaystyle{ \mathrm{P}(A \cap B \cap C) = \mathrm{P}(A)\mathrm{P}(B)\mathrm{P}(C), }[/math]
and yet no two of the three events are pairwise independent (and hence the set of events are not mutually independent).^{[11]} This example shows that mutual independence involves requirements on the products of probabilities of all combinations of events, not just the single events as in this example.
Conditional independence
For events
The events [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are conditionally independent given an event [math]\displaystyle{ C }[/math] when
[math]\displaystyle{ \mathrm{P}(A \cap B \mid C) = \mathrm{P}(A \mid C) \cdot \mathrm{P}(B \mid C) }[/math].
For random variables
Intuitively, two random variables [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are conditionally independent given [math]\displaystyle{ Z }[/math] if, once [math]\displaystyle{ Z }[/math] is known, the value of [math]\displaystyle{ Y }[/math] does not add any additional information about [math]\displaystyle{ X }[/math]. For instance, two measurements [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] of the same underlying quantity [math]\displaystyle{ Z }[/math] are not independent, but they are conditionally independent given [math]\displaystyle{ Z }[/math] (unless the errors in the two measurements are somehow connected).
The formal definition of conditional independence is based on the idea of conditional distributions. If [math]\displaystyle{ X }[/math], [math]\displaystyle{ Y }[/math], and [math]\displaystyle{ Z }[/math] are discrete random variables, then we define [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] to be conditionally independent given [math]\displaystyle{ Z }[/math] if
 [math]\displaystyle{ \mathrm{P}(X \le x, Y \le y\;\;Z = z) = \mathrm{P}(X \le x\;\;Z = z) \cdot \mathrm{P}(Y \le y\;\;Z = z) }[/math]
for all [math]\displaystyle{ x }[/math], [math]\displaystyle{ y }[/math] and [math]\displaystyle{ z }[/math] such that [math]\displaystyle{ \mathrm{P}(Z=z)\gt 0 }[/math]. On the other hand, if the random variables are continuous and have a joint probability density function [math]\displaystyle{ f_{XYZ}(x,y,z) }[/math], then [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are conditionally independent given [math]\displaystyle{ Z }[/math] if
 [math]\displaystyle{ f_{XYZ}(x, y  z) = f_{XZ}(x  z) \cdot f_{YZ}(y  z) }[/math]
for all real numbers [math]\displaystyle{ x }[/math], [math]\displaystyle{ y }[/math] and [math]\displaystyle{ z }[/math] such that [math]\displaystyle{ f_Z(z)\gt 0 }[/math].
If discrete [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are conditionally independent given [math]\displaystyle{ Z }[/math], then
 [math]\displaystyle{ \mathrm{P}(X = x  Y = y , Z = z) = \mathrm{P}(X = x  Z = z) }[/math]
for any [math]\displaystyle{ x }[/math], [math]\displaystyle{ y }[/math] and [math]\displaystyle{ z }[/math] with [math]\displaystyle{ \mathrm{P}(Z=z)\gt 0 }[/math]. That is, the conditional distribution for [math]\displaystyle{ X }[/math] given [math]\displaystyle{ Y }[/math] and [math]\displaystyle{ Z }[/math] is the same as that given [math]\displaystyle{ Z }[/math] alone. A similar equation holds for the conditional probability density functions in the continuous case.
Independence can be seen as a special kind of conditional independence, since probability can be seen as a kind of conditional probability given no events.
History
Before 1933, independence, in probability theory, was defined in a verbal manner. For example, de Moivre gave the following definition: “Two events are independent, when they have no connexion one with the other, and that the happening of one neither forwards nor obstructs the happening of the other”.^{[12]} If there are n independent events, the probability of the event, that all of them happen was computed as the product of the probabilities of these n events. Apparently, there was the conviction, that this formula was a consequence of the above definition. (Sometimes this was called the Multiplication Theorem.), Of course, a proof of his assertion cannot work without further more formal tacit assumptions.
The definition of independence, given in this article, became the standard definition (now used in all books) after it appeared in 1933 as part of Kolmogorovs axiomatization of probability.^{[13]} Kolmogorov credited it to S.N. Bernstein, and quoted a publication which had appeared in Russian in 1927.^{[14]}
Unfortunately, both Bernstein and Kolmogorov had not been aware of the work of the Georg Bohlmann. Bohlmann had given the same definition for two events in 1901^{[15]} and for n events in 1908^{[16]} In the latter paper, he studied his notion in detail. For example, he gave the first example showing that pairwise independence does not imply imply mutual independence. Even today, Bohlmann is rarely quoted. More about his work can be found in On the contributions of Georg Bohlmann to probability theory from :de:Ulrich Krengel.^{[17]}
See also
 Copula (statistics)
 Independent and identically distributed random variables
 Mean dependence
 Normally distributed and uncorrelated does not imply independent
References
 ↑ Russell, Stuart; Norvig, Peter (2002). Artificial Intelligence: A Modern Approach. Prentice Hall. p. 478. ISBN 0137903952. https://archive.org/details/artificialintell00russ_726.
 ↑ ^{2.0} ^{2.1} Florescu, Ionut (2014). Probability and Stochastic Processes. Wiley. ISBN 9780470624555.
 ↑ ^{3.0} ^{3.1} ^{3.2} ^{3.3} Gallager, Robert G. (2013). Stochastic Processes Theory for Applications. Cambridge University Press. ISBN 9781107039759.
 ↑ ^{4.0} ^{4.1} Feller, W (1971). "Stochastic Independence". An Introduction to Probability Theory and Its Applications. John Wiley & Sons.
 ↑ Papoulis, Athanasios (1991). Probability, Random Variables and Stochastic Processes. MCGraw Hill. ISBN 0070484775.
 ↑ Hwei, Piao (1997). Theory and Problems of Probability, Random Variables, and Random Processes. McGrawHill. ISBN 0070306443. https://archive.org/details/schaumsoutlineof00hsuh.
 ↑ Amos Lapidoth (8 February 2017). A Foundation in Digital Communication. Cambridge University Press. ISBN 9781107177321. https://books.google.com/books?id=6oTuDQAAQBAJ&q=independence.
 ↑ Durrett, Richard (1996). Probability: theory and examples (Second ed.). page 62
 ↑ E Jakeman. MODELING FLUCTUATIONS IN SCATTERED WAVES. ISBN 9780750310055.
 ↑ Park, Kun Il (2018). Fundamentals of Probability and Stochastic Processes with Applications to Communications. Springer. ISBN 9783319680743.
 ↑ George, Glyn, "Testing for the independence of three events," Mathematical Gazette 88, November 2004, 568. PDF
 ↑ Cited according to: Grinstead and Snell’s Introduction to Probability. In: The CHANCE Project. Version of July 4, 2006.
 ↑ Kolmogorov, Andrey (1933). Grundbegriffe der Wahrscheinlichkeitsrechnung (in German). Berlin: Julius SpringerTranslation: Kolmogorov, Andrey (1956). Translation:Foundations of the Theory of Probability (2nd ed.). New York: Chelsea. ISBN 9780828400237.
 ↑ S.N. Bernstein, Probability Theory (Russian), Moscow, 1927 (4 editions, latest 1946)
 ↑ Georg Bohlmann: Lebensversicherungsmathematik, Encyklop¨adie der mathematischen Wissenschaften, Bd I, Teil 2, Artikel I D 4b (1901), 852–917
 ↑ Georg Bohlmann: Die Grundbegriffe der Wahrscheinlichkeitsrechnung in ihrer Anwendung auf die Lebensversichrung, Atti del IV. Congr. Int. dei Matem. Rom, Bd. III (1908), 244–278.
 ↑ :de:Ulrich Krengel: On the contributions of Georg Bohlmann to probability theory (PDF; 6,4 MB), Electronic Journal for History of Probability and Statistics, 2011.
External links
Original source: https://en.wikipedia.org/wiki/Independence (probability theory).
Read more 