Uncorrelatedness (probability theory) explained

In probability theory and statistics, two real-valued random variables,

X

,

Y

, are said to be uncorrelated if their covariance,

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

, is zero. If two variables are uncorrelated, there is no linear relationship between them.

Uncorrelated random variables have a Pearson correlation coefficient, when it exists, of zero, except in the trivial case when either variable has zero variance (is a constant). In this case the correlation is undefined.

In general, uncorrelatedness is not the same as orthogonality, except in the special case where at least one of the two random variables has an expected value of 0. In this case, the covariance is the expectation of the product, and

X

and

Y

are uncorrelated if and only if

\operatorname{E}[XY]=0

.

If

X

and

Y

are independent, with finite second moments, then they are uncorrelated. However, not all uncorrelated variables are independent.[1]

Definition

Definition for two real random variables

Two random variables

X,Y

are called uncorrelated if their covariance

\operatorname{Cov}[X,Y]=\operatorname{E}[(X-\operatorname{E}[X])(Y-\operatorname{E}[Y])]

is zero.[2] Formally:

Definition for two complex random variables

Two complex random variables

Z,W

are called uncorrelated if their covariance

\operatorname{K}ZW=\operatorname{E}[(Z-\operatorname{E}[Z])\overline{(W-\operatorname{E}[W])}]

and their pseudo-covariance

\operatorname{J}ZW=\operatorname{E}[(Z-\operatorname{E}[Z])(W-\operatorname{E}[W])]

is zero, i.e.

Z,Wuncorrelated\iff\operatorname{E}[Z\overline{W}]=\operatorname{E}[Z]\operatorname{E}[\overline{W}]and\operatorname{E}[ZW]=\operatorname{E}[Z]\operatorname{E}[W]

Definition for more than two random variables

A set of two or more random variables

X1,\ldots,Xn

is called uncorrelated if each pair of them is uncorrelated. This is equivalent to the requirement that the non-diagonal elements of the autocovariance matrix

\operatorname{K}XX

of the random vector

X=(X1,\ldots,X

T
n)
are all zero. The autocovariance matrix is defined as:

\operatorname{K}XX=\operatorname{cov}[X,X]=\operatorname{E}[(X-\operatorname{E}[X])(X-\operatorname{E}[X])\rm]=\operatorname{E}[XXT]-\operatorname{E}[X]\operatorname{E}[X]T

Examples of dependence without correlation

See main article: Correlation and dependence.

Example 1

X

be a random variable that takes the value 0 with probability 1/2, and takes the value 1 with probability 1/2.

Y

be a random variable, independent of

X

, that takes the value −1 with probability 1/2, and takes the value 1 with probability 1/2.

U

be a random variable constructed as

U=XY

.The claim is that

U

and

X

have zero covariance (and thus are uncorrelated), but are not independent.

Proof:

Taking into account that

\operatorname{E}[U]=\operatorname{E}[XY]=\operatorname{E}[X]\operatorname{E}[Y]=\operatorname{E}[X]0=0,

where the second equality holds because

X

and

Y

are independent, one gets

\begin{align} \operatorname{cov}[U,X]&=\operatorname{E}[(U-\operatornameE[U])(X-\operatornameE[X])]=\operatorname{E}[U(X-\tfrac12)]\\ &=\operatorname{E}[X2Y-\tfrac12XY]=\operatorname{E}[(X2-\tfrac12X)Y]=\operatorname{E}[(X2-\tfrac12X)]\operatornameE[Y]=0 \end{align}

Therefore,

U

and

X

are uncorrelated.

Independence of

U

and

X

means that for all

a

and

b

,

\Pr(U=a\midX=b)=\Pr(U=a)

. This is not true, in particular, for

a=1

and

b=0

.

\Pr(U=1\midX=0)=\Pr(XY=1\midX=0)=0

\Pr(U=1)=\Pr(XY=1)=1/4

Thus

\Pr(U=1\midX=0)\ne\Pr(U=1)

so

U

and

X

are not independent.

Q.E.D.

Example 2

If

X

is a continuous random variable uniformly distributed on

[-1,1]

and

Y=X2

, then

X

and

Y

are uncorrelated even though

X

determines

Y

and a particular value of

Y

can be produced by only one or two values of

X

:

fX(t)={1\over2}I[-1,1]; fY(t)={1\over{2\sqrt{t}}}I]0,1]

on the other hand,

fX,Y

is 0 on the triangle defined by

0<X<Y<1

although

fX x fY

is not null on this domain. Therefore

fX,Y(X,Y)fX(X) x fY(Y)

and the variables are not independent.

E[X]={{1-1}\over4}=0;E[Y]={{13-(-1)3}\over{3 x 2}}={1\over3}

Cov[X,Y]=E\left[(X-E[X])(Y-E[Y])\right]=E\left[X3-{X\over3}\right]={{14-(-1)4}\over{4 x 2}}=0

Therefore the variables are uncorrelated.

When uncorrelatedness implies independence

There are cases in which uncorrelatedness does imply independence. One of these cases is the one in which both random variables are two-valued (so each can be linearly transformed to have a Bernoulli distribution).[3] Further, two jointly normally distributed random variables are independent if they are uncorrelated,[4] although this does not hold for variables whose marginal distributions are normal and uncorrelated but whose joint distribution is not joint normal (see Normally distributed and uncorrelated does not imply independent).

Generalizations

Uncorrelated random vectors

Two random vectors

X=(X1,\ldots,X

T
m)
and

Y=(Y1,\ldots,Y

T
n)
are called uncorrelated if

\operatorname{E}[XYT]=\operatorname{E}[X]\operatorname{E}[Y]T

.

\operatorname{K}XY

is zero.[5]

Two complex random vectors

Z

and

W

are called uncorrelated if their cross-covariance matrix and their pseudo-cross-covariance matrix is zero, i.e. if

\operatorname{K}ZW=\operatorname{J}ZW=0

where

\operatorname{K}ZW=\operatorname{E}[(Z-\operatorname{E}[Z]){(W-\operatorname{E}[W])}H]

and

\operatorname{J}ZW=\operatorname{E}[(Z-\operatorname{E}[Z]){(W-\operatorname{E}[W])}T]

.

Uncorrelated stochastic processes

Two stochastic processes

\left\{Xt\right\}

and

\left\{Yt\right\}

are called uncorrelated if their cross-covariance

\operatorname{K}XY(t1,t2)=\operatorname{E}\left[\left(X(t1)-\muX(t1)\right)\left(Y(t2)-\muY(t2)\right)\right]

is zero for all times.[2] Formally:

\left\{Xt\right\},\left\{Yt\right\}uncorrelated:\iff\forallt1,t2\colon\operatorname{K}XY(t1,t2)=0

.

See also

Further reading

Notes and References

  1. Book: Papoulis, Athanasios. Probability, Random Variables and Stochastic Processes . MCGraw Hill . 1991. 0-07-048477-5.
  2. Kun Il Park, Fundamentals of Probability and Stochastic Processes with Applications to Communications, Springer, 2018, 978-3-319-68074-3
  3. http://www.math.uah.edu/stat/expect/Covariance.html Virtual Laboratories in Probability and Statistics: Covariance and Correlation
  4. Book: Chapter 5.5 Conditional Expectation. 185–186. Introduction to Probability and Mathematical Statistics. 1992. Bain. Lee. Engelhardt. Max. 2nd. 0534929303.
  5. Book: Gubner, John A. . 2006 . Probability and Random Processes for Electrical and Computer Engineers . Cambridge University Press . 978-0-521-86470-1.