Independence (probability theory) explained

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

A

and

B

are independent (often written as

A\perpB

or

A\perp\perpB

, 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]

A\capB\emptyset

indicates that two independent events

A

and

B

have common elements in their sample space so that they are not mutually exclusive (mutually exclusive iff

A\capB=\emptyset

). Why this defines independence is made clear by rewriting with conditional probabilities

P(A\midB)=

P(A\capB)
P(B)
as the probability at which the event

A

occurs provided that the event

B

has or is assumed to have occurred:

P(A\capB)=P(A)P(B)\iffP(A\midB)=

P(A\capB)
P(B)

=P(A).

and similarly

P(A\capB)=P(A)P(B)\iffP(B\midA)=

P(A\capB)
P(A)

=P(B).

Thus, the occurrence of

B

does not affect the probability of

A

, and vice versa. In other words,

A

and

B

are independent of each other. Although the derived expressions may seem more intuitive, they are not the preferred definition, as the conditional probabilities may be undefined if

P(A)

or

P(B)

are 0. Furthermore, the preferred definition makes clear by symmetry that when

A

is independent of

B

,

B

is also independent of

A

.

Odds

Stated in terms of odds, two events are independent if and only if the odds ratio of and is unity (1). Analogously with probability, this is equivalent to the conditional odds being equal to the unconditional odds:

O(A\midB)=O(A)andO(B\midA)=O(B),

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:

O(A\midB)=O(A\mid\negB)andO(B\midA)=O(B\mid\negA).

The odds ratio can be defined as

O(A\midB):O(A\mid\negB),

or symmetrically for odds of given, and thus is 1 if and only if the events are independent.

More than two events

A finite set of events

\{Ai\}

n
i=1
is pairwise independent if every pair of events is independent[3] - that is, if and only if for all distinct pairs of indices

m,k

,

A finite set of events is mutually independent if every event is independent of any intersection of the other events - that is, if and only if for every

k\leqn

and for every k indices

1\lei1<...<ik\len

,

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]

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:

logP(A\capB)=logP(A)+logP(B)

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:

I(A\capB)=I(A)+I(B)

See for details.

For real valued random variables

Two random variables

Two random variables

X

and

Y

are independent if and only if (iff) the elements of the -system generated by them are independent; that is to say, for every

x

and

y

, the events

\{X\lex\}

and

\{Y\ley\}

are independent events (as defined above in). That is,

X

and

Y

with cumulative distribution functions

FX(x)

and

FY(y)

, are independent iff the combined random variable

(X,Y)

has a joint cumulative distribution function[4]

fX(x)

and

fY(y)

and the joint probability density

fX,Y(x,y)

exist,

fX,Y(x,y)=fX(x)fY(y)forallx,y.

More than two random variables

A finite set of

n

random variables

\{X1,\ldots,Xn\}

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

n

random variables

\{X1,\ldots,Xn\}

is mutually independent if and only if for any sequence of numbers

\{x1,\ldots,xn\}

, the events

\{X1\lex1\},\ldots,\{Xn\lexn\}

are mutually independent events (as defined above in). This is equivalent to the following condition on the joint cumulative distribution function A finite set of

n

random variables

\{X1,\ldots,Xn\}

is mutually independent if and only if[4]

It is not necessary here to require that the probability distribution factorizes for all possible subsets as in the case for

n

events. This is not required because e.g.
F
X1,X2,X3

(x1,x2,x3)=

F
X1

(x1)

F
X2

(x2)

F
X3

(x3)

implies
F
X1,X3

(x1,x3)=

F
X1

(x1)

F
X3

(x3)

.

The measure-theoretically inclined may prefer to substitute events

\{X\inA\}

for events

\{X\leqx\}

in the above definition, where

A

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

X=(X1,\ldots,X

T
m)
and

Y=(Y1,\ldots,Y

T
n)
are called independent if[5]

where

FX(x)

and

FY(y)

denote the cumulative distribution functions of

X

and

Y

and

FX,Y(x,y)

denotes their joint cumulative distribution function. Independence of

X

and

Y

is often denoted by

X\perp\perpY

.Written component-wise,

X

and

Y

are called independent if
F
X1,\ldots,Xm,Y1,\ldots,Yn

(x1,\ldots,xm,y1,\ldots,yn)=

F
X1,\ldots,Xm

(x1,\ldots,xm)

F
Y1,\ldots,Yn

(y1,\ldots,yn)forallx1,\ldots,xm,y1,\ldots,yn.

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

n

times

t1,\ldots,tn

are independent random variables for any

n

.[6]

Formally, a stochastic process

\left\{Xt\right\}t\inl{T

} is called independent, if and only if for all

n\inN

and for all

t1,\ldots,tn\inl{T}

where 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

\left\{Xt\right\}t\inl{T

} and

\left\{Yt\right\}t\inl{T

} that are defined on the same probability space

(\Omega,l{F},P)

. Formally, two stochastic processes

\left\{Xt\right\}t\inl{T

} and

\left\{Yt\right\}t\inl{T

} are said to be independent if for all

n\inN

and for all

t1,\ldots,tn\inl{T}

, the random vectors

(X(t1),\ldots,X(tn))

and

(Y(t1),\ldots,Y(tn))

are independent,[7] i.e. if

Independent σ-algebras

The definitions above (and) are both generalized by the following definition of independence for σ-algebras. Let

(\Omega,\Sigma,P)

be a probability space and let

l{A}

and

l{B}

be two sub-σ-algebras of

\Sigma

.

l{A}

and

l{B}

are said to be independent if, whenever

A\inl{A}

and

B\inl{B}

,

P(A\capB)=P(A)P(B).

Likewise, a finite family of σ-algebras

(\taui)i\in

, where

I

is an index set, is said to be independent if and only if

\forall\left(Ai\right)i\in\in\prod\nolimitsi\in\taui:P\left(cap\nolimitsi\inAi\right)=\prod\nolimitsi\inP\left(Ai\right)

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:

E\in\Sigma

is, by definition,

\sigma(\{E\})=\{\emptyset,E,\Omega\setminusE,\Omega\}.

X

and

Y

defined over

\Omega

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

X

taking values in some measurable space

S

consists, by definition, of all subsets of

\Omega

of the form

X-1(U)

, where

U

is any measurable subset of

S

.

Using this definition, it is easy to show that if

X

and

Y

are random variables and

Y

is constant, then

X

and

Y

are independent, since the σ-algebra generated by a constant random variable is the trivial σ-algebra

\{\varnothing,\Omega\}

. Probability zero events cannot affect independence so independence also holds if

Y

is only Pr-almost surely constant.

Properties

Self-independence

Note that an event is independent of itself if and only if

P(A)=P(A\capA)=P(A)P(A)\iffP(A)=0orP(A)=1.

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

See main article: Correlation and dependence. If

X

and

Y

are statistically independent random variables, then the expectation operator

\operatorname{E}

has the property

\operatorname{E}[XnYm]=\operatorname{E}[Xn]\operatorname{E}[Ym],

[9]

\operatorname{cov}[X,Y]

is zero, as follows from

\operatorname{cov}[X,Y]=\operatorname{E}[XY]-\operatorname{E}[X]\operatorname{E}[Y].

The converse does not hold: if two random variables have a covariance of 0 they still may be not independent.

See also: Uncorrelatedness (probability theory).

Similarly for two stochastic processes

\left\{Xt\right\}t\inl{T

} and

\left\{Yt\right\}t\inl{T

}: If they are independent, then they are uncorrelated.[10]

Characteristic function

Two random variables

X

and

Y

are independent if and only if the characteristic function of the random vector

(X,Y)

satisfies

\varphi(X,Y)(t,s)=\varphiX(t)\varphiY(s).

In particular the characteristic function of their sum is the product of their marginal characteristic functions:

\varphiX+Y(t)=\varphiX(t)\varphiY(t),

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,

P(A)=P(B)=1/2

and

P(C)=1/4

. The random variables in the first space are pairwise independent because

P(A|B)=P(A|C)=1/2=P(A)

,

P(B|A)=P(B|C)=1/2=P(B)

, and

P(C|A)=P(C|B)=1/4=P(C)

; 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:

P(A|BC)=

4
40
4+
1
40
40

=\tfrac{4}{5}\neP(A)

P(B|AC)=

4
40
4+
1
40
40

=\tfrac{4}{5}\neP(B)

P(C|AB)=

4
40
4+
6
40
40

=\tfrac{2}{5}\neP(C)

In the mutually independent case, however,

P(A|BC)=

1
16
1+
1
16
16

=\tfrac{1}{2}=P(A)

P(B|AC)=

1
16
1+
1
16
16

=\tfrac{1}{2}=P(B)

P(C|AB)=

1
16
1+
3
16
16

=\tfrac{1}{4}=P(C)

Triple-independence but no pairwise-independence

It is possible to create a three-event example in which

P(A\capB\capC)=P(A)P(B)P(C),

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

See main article: Conditional independence.

For events

The events

A

and

B

are conditionally independent given an event

C

when

P(A\capB\midC)=P(A\midC)P(B\midC)

.

For random variables

Intuitively, two random variables

X

and

Y

are conditionally independent given

Z

if, once

Z

is known, the value of

Y

does not add any additional information about

X

. For instance, two measurements

X

and

Y

of the same underlying quantity

Z

are not independent, but they are conditionally independent given

Z

(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

X

,

Y

, and

Z

are discrete random variables, then we define

X

and

Y

to be conditionally independent given

Z

if

P(X\lex,Y\ley|Z=z)=P(X\lex|Z=z)P(Y\ley|Z=z)

for all

x

,

y

and

z

such that

P(Z=z)>0

. On the other hand, if the random variables are continuous and have a joint probability density function

fXYZ(x,y,z)

, then

X

and

Y

are conditionally independent given

Z

if

fXY|Z(x,y|z)=fX|Z(x|z)fY|Z(y|z)

for all real numbers

x

,

y

and

z

such that

fZ(z)>0

.

If discrete

X

and

Y

are conditionally independent given

Z

, then

P(X=x|Y=y,Z=z)=P(X=x|Z=z)

for any

x

,

y

and

z

with

P(Z=z)>0

. That is, the conditional distribution for

X

given

Y

and

Z

is the same as that given

Z

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 Kolmogorov's 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 .[17]

See also

Notes and References

  1. Book: Russell. Stuart. Norvig . Peter . Artificial Intelligence: A Modern Approach . limited. 478 . . 2002 . 0-13-790395-2.
  2. Book: Florescu, Ionut. Probability and Stochastic Processes. Wiley. 2014 . 978-0-470-62455-5.
  3. Book: Feller, W . 1971 . An Introduction to Probability Theory and Its Applications . . Stochastic Independence.
  4. Book: Gallager, Robert G. . Stochastic Processes Theory for Applications. Cambridge University Press. 2013 . 978-1-107-03975-9.
  5. Book: Papoulis, Athanasios. Probability, Random Variables and Stochastic Processes . MCGraw Hill . 1991. 0-07-048477-5.
  6. Book: Hwei. Piao. Theory and Problems of Probability, Random Variables, and Random Processes. McGraw-Hill. 1997. 0-07-030644-3. registration.
  7. Book: Amos Lapidoth. A Foundation in Digital Communication. 8 February 2017. Cambridge University Press. 978-1-107-17732-1.
  8. Book: Durrett, Richard. Rick Durrett. Probability: theory and examples. Second. 1996. page 62
  9. Book: E Jakeman. MODELING FLUCTUATIONS IN SCATTERED WAVES. 978-0-7503-1005-5.
  10. Book: Park, Kun Il. Fundamentals of Probability and Stochastic Processes with Applications to Communications. Springer . 2018 . 978-3-319-68074-3.
  11. George, Glyn, "Testing for the independence of three events," Mathematical Gazette 88, November 2004, 568. PDF
  12. Cited according to: Grinstead and Snell’s Introduction to Probability. In: The CHANCE Project. Version of July 4, 2006.
  13. [Andrey Kolmogorov|Kolmogorov, Andrey]
  14. [Sergei Bernstein|S.N. Bernstein]
  15. [Georg Bohlmann]
  16. [Georg Bohlmann]
  17. [:de:Ulrich Krengel]