Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We know of the fact that zero correlation does not imply independence. I am interested in whether a non-zero correlation implies dependence - i.e. if $\text{Corr}(X,Y)\ne0$ for some random variables $X$ and $Y$, can we say in general that $f_{X,Y}(x,y) \ne f_X(x) f_Y(y)$?

share|improve this question
up vote 10 down vote accepted

Yes, because

$$\text{Corr}(X,Y)\ne0 \Rightarrow \text{Cov}(X,Y)\ne0$$

$$\Rightarrow E(XY) - E(X)E(Y) \ne 0 $$

$$\Rightarrow \int \int xyf_{X,Y}(x,y)dxdy -\int xf_X(x) dx\int yf_Y(y)dy \ne 0$$

$$\Rightarrow \int \int xyf_{X,Y}(x,y)dxdy -\int \int xyf_X(x) f_Y(y)dxdy \ne 0$$

$$\Rightarrow \int \int xy \big[f_{X,Y}(x,y) -f_X(x) f_Y(y)\big]dxdy \ne 0$$

which would be impossible if $f_{X,Y}(x,y) -f_X(x) f_Y(y) =0$. So

$$\text{Corr}(X,Y)\ne0 \Rightarrow f_{X,Y}(x,y) \ne f_X(x) f_Y(y)$$

Question: what happens with random variables that have no densities?

share|improve this answer
Alecos, I have a dumb question. What does the fancy arrow mean in, e.g., line 1? I imagine something like "imply," but I'm uncertain. – General Abrial Aug 27 '14 at 13:56
@user777 You mean $\Rightarrow$? Indeed, it means "implies". – Alecos Papadopoulos Aug 27 '14 at 13:58
The reason to only use the implication arrow in informal argument: is the implication arrow left or right associative? – kasterma Aug 27 '14 at 14:33

Let $X$ and $Y$ denote random variables such that $E[X^2]$ and $E[Y^2]$ are finite. Then, $E[XY]$, $E[X]$ and $E[Y]$ all are finite.

Restricting our attention to such random variables, let $A$ denote the statement that $X$ and $Y$ are independent random variables and $B$ the statement that $X$ and $Y$ are uncorrelated random variables, that is, $E[XY] = E[X]E[Y]$. Then we know that $A$ implies $B$, that is, independent random variables are uncorrelated random variables. Indeed, one definition of independent random variables is that $E[g(X)h(Y)]$ equals $E[g(X)]E[h(Y)]$ for all measurable functions $g(\cdot)$ and $h(\cdot)$). This is usually expressed as $$A \Rightarrow B.$$ But $A \Rightarrow B$ is logically equivalent to $\neg B \Rightarrow \neg A$, that is,

correlated random variables are dependent random variables.

If $E[XY]$, $E[X]$ or $E[Y]$ are not finite or do not exist, then it is not possible to say whether $X$ and $Y$ are uncorrelated or not in the classical meaning of uncorrelated random variables being those for which $E[XY] = E[X]E[Y]$. For example, $X$ and $Y$ could be independent Cauchy random variables (for which the mean does not exist). Are they uncorrelated random variables in the classical sense?

share|improve this answer
The nice thing about this answer is that it applies whether or not the random variables in question admit a density function, as opposed to other answers on this thread. This is true due to the fact that expectations can be defined with Stieltjes integrals using the CDF, with no mention of the density. – ahfoss Aug 27 '14 at 15:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.