Independence (probability theory)

From HandWiki
Short description: Fundamental concept in 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]) 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]

 

 

 

 

(Eq.1)

It 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].

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.

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]

 

 

 

 

(Eq.2)

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]

 

 

 

 

(Eq.3)

This is called the multiplication rule for independent events. Note that 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

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]

 

 

 

 

(Eq.4)

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]

 

 

 

 

(Eq.5)

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 measure-theoretically 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 complex-valued 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]

 

 

 

 

(Eq.6)

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 component-wise, [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]

 

 

 

 

(Eq.7)

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]

 

 

 

 

(Eq.8)

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 Pr-almost surely constant.

Properties

Self-independence

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

Main page: Correlation and dependence

If [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are independent random variables, then the expectation operator [math]\displaystyle{ \operatorname{E} }[/math] has the property

[math]\displaystyle{ \operatorname{E}[X Y] = \operatorname{E}[X] \operatorname{E}[Y], }[/math]

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. See uncorrelated.

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.[9]: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

Pairwise independent, but not mutually independent, events.
Mutually independent events.

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}(A|B) = \mathrm{P}(A|C)=1/2=\mathrm{P}(A) }[/math], [math]\displaystyle{ \mathrm{P}(B|A) = \mathrm{P}(B|C)=1/2=\mathrm{P}(B) }[/math], and [math]\displaystyle{ \mathrm{P}(C|A) = \mathrm{P}(C|B)=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}(A|BC) = \frac{\frac{4}{40}}{\frac{4}{40} + \frac{1}{40}} = \tfrac{4}{5} \ne \mathrm{P}(A) }[/math]
[math]\displaystyle{ \mathrm{P}(B|AC) = \frac{\frac{4}{40}}{\frac{4}{40} + \frac{1}{40}} = \tfrac{4}{5} \ne \mathrm{P}(B) }[/math]
[math]\displaystyle{ \mathrm{P}(C|AB) = \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}(A|BC) = \frac{\frac{1}{16}}{\frac{1}{16} + \frac{1}{16}} = \tfrac{1}{2} = \mathrm{P}(A) }[/math]
[math]\displaystyle{ \mathrm{P}(B|AC) = \frac{\frac{1}{16}}{\frac{1}{16} + \frac{1}{16}} = \tfrac{1}{2} = \mathrm{P}(B) }[/math]
[math]\displaystyle{ \mathrm{P}(C|AB) = \frac{\frac{1}{16}}{\frac{1}{16} + \frac{3}{16}} = \tfrac{1}{4} = \mathrm{P}(C) }[/math]

Triple-independence but no pairwise-independence

It is possible to create a three-event 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).[10] 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

Main page: 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_{XY|Z}(x, y | z) = f_{X|Z}(x | z) \cdot f_{Y|Z}(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.

See also

References

  1. Russell, Stuart; Norvig, Peter (2002). Artificial Intelligence: A Modern Approach. Prentice Hall. p. 478. ISBN 0-13-790395-2. https://archive.org/details/artificialintell00russ_726. 
  2. 2.0 2.1 Florescu, Ionut (2014). Probability and Stochastic Processes. Wiley. ISBN 978-0-470-62455-5. 
  3. 3.0 3.1 3.2 3.3 Gallager, Robert G. (2013). Stochastic Processes Theory for Applications. Cambridge University Press. ISBN 978-1-107-03975-9. 
  4. 4.0 4.1 Feller, W (1971). "Stochastic Independence". An Introduction to Probability Theory and Its Applications. John Wiley & Sons. 
  5. Papoulis, Athanasios (1991). Probability, Random Variables and Stochastic Processes. MCGraw Hill. ISBN 0-07-048477-5. 
  6. Hwei, Piao (1997). Theory and Problems of Probability, Random Variables, and Random Processes. McGraw-Hill. ISBN 0-07-030644-3. https://archive.org/details/schaumsoutlineof00hsuh. 
  7. Amos Lapidoth (8 February 2017). A Foundation in Digital Communication. Cambridge University Press. ISBN 978-1-107-17732-1. https://books.google.com/books?id=6oTuDQAAQBAJ&q=independence. 
  8. Durrett, Richard (1996). Probability: theory and examples (Second ed.).  page 62
  9. Park,Kun Il (2018). Fundamentals of Probability and Stochastic Processes with Applications to Communications. Springer. ISBN 978-3-319-68074-3. 
  10. George, Glyn, "Testing for the independence of three events," Mathematical Gazette 88, November 2004, 568. PDF

External links