Math 2.0

counterexample

Uncorrelated random variables that are not independent

Counterexample

The claim "uncorrelated random variables are independent" is false. Here are two counterexamples. First: let X∼N(0,1)X \sim \mathcal{N}(0, 1) and Y=X2Y = X^2. Then Cov⁡(X,Y)=E[X3]−E[X] E[X2]=0−0=0\operatorname{Cov}(X, Y) = E[X^3] - E[X] \, E[X^2] = 0 - 0 = 0, since the odd moments of XX are 00. But XX and YY are not independent: P(∣X∣≤1, Y>1)=0P(|X| \le 1, \, Y > 1) = 0, while P(∣X∣≤1) P(Y>1)>0P(|X| \le 1) \, P(Y > 1) > 0. Second: let X∼N(0,1)X \sim \mathcal{N}(0, 1), and let WW be independent of XX with P(W=1)=P(W=−1)=1/2P(W = 1) = P(W = -1) = 1/2. Put Y=WXY = WX. Then Y∼N(0,1)Y \sim \mathcal{N}(0, 1) and Cov⁡(X,Y)=E[W] E[X2]=0\operatorname{Cov}(X, Y) = E[W] \, E[X^2] = 0. But ∣Y∣=∣X∣|Y| = |X|, so XX and YY are not independent.

Remarks

In the second example, both XX and YY are normal, but the pair (X,Y)(X, Y) is not multivariate normal: X+YX + Y is 00 with probability 1/21/2. So the rule "uncorrelated implies independent" needs a joint normal law, not only normal marginals. The direction that is true is that independent variables are uncorrelated.

Explanations

L1 human

Covariance only detects linear relations. In the first example, YY is a function of XX, so it depends on XX completely, but the relation is not linear. So zero correlation does not mean that two variables have nothing to do with each other.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • edge refutes or not_instance_of out (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

Sources

  1. Web https://en.wikipedia.org/wiki/Misconceptions_about_the_normal_distribution, A symmetric example
  2. Web https://en.wikipedia.org/wiki/Uncorrelatedness, Examples of dependence without correlation