# About joint probability divided by the product of the probabilities

Let $X$ and $Y$ be two events.

So $P(X)$ is the probability of $X$ happens, and $P(Y)$ is the probability of $Y$ happens. So $P(X,Y)$ is probability of both $X$ and $Y$ happen.

So what is the meaning of the following function: $h(X,Y)=\frac{P(X,Y)}{P(X)P(Y)}?$

I know that when $h=1$, it means $X$ and $Y$ are independent. So what is the situation when

$h>1$ or $h<1$?

-
Define $P(X)$, $P(Y)$ and $P(X,Y)$, please. – Sasha Nov 5 '11 at 14:08
@Sasha I have updated, does it make sense? – Fan Zhang Nov 5 '11 at 14:14
"produce" as a noun means fruits and vegetables. – joriki Nov 5 '11 at 14:21
@joriki What do you mean? – Fan Zhang Nov 5 '11 at 14:27
@Fan: When I made that comment, the title said "produce" instead of "product". "produce", when used as a noun as in this case, refers to fruits and vegetables and has nothing to do with multiplication. I was trying to help you improve your English. – joriki Nov 5 '11 at 14:45

Since you said $X$ and $Y$ are events, let me rename them $A$ and $B$, to avoid confusing them with random variables.

Then, at least in the environmental, medical and life sciences literature, $P(A\cap B)/(P(A)P(B))$ is called the observed to expected ratio (abbreviation o/e). The idea is that the numerator is the actual probability of $A\cap B$ while the denominator is what it would be if $A$ and $B$ were independent.

Obviously the ratio o/e is $1$ if $A$ and $B$ are independent. The ratio o/e is more than $1$ if $A$ is favored by $B$, or, equivalently, if $B$ is favored by $A$, and is less than $1$ if the opposite holds.

In the statistical analysis of genomic sequences, the ratio CpGo/e is especially important, which represents the frequency of the word CG divided by the product of the frequencies of the letters C (cytosine) and G (guanine), see here for an example. The rough idea is that in non functional portions of the genome, CpGo/e is much less than $1$ due to some well-known biological and chemical processes (a methylation-deamination of the guanine when it is right next to a cytosine, if you want to know). By contrast, in portions of the genome called CpG islands, CpGo/e is only slightly less than $1$ or even, more than $1$, a fact which witnesses a repression of these processes and, as a consequence, may signal some functional regions.

-

You could notice (assuming you know about conditional probabilites) that $$h(X,Y) = \frac{P(X Y )}{P(X) P(Y)} = \frac{P(X|Y)}{P(X)}= \frac{P(Y | X)}{P(Y)}$$

Hence, for example, $h(X,Y) > 1 \Leftrightarrow P(X |Y) > P(X)$ which, informally, says that the ocurrence of event $Y$ increments the probability of event $X$ ocurring (and viceversa). And that's all. Remember, though, here $X,Y$ are events, not variables , ie., it does not make sense to say that, e.g, $h(X,Y) > 1$ for some variables $X,Y$ globally, (so that we could say that the variables are "positively dependent" or something like that). For general measures of random variables dependence (or correlation, which is a related though weaker property), see here.

Added: If we regard the events as two joint Bernoulli variables (we identify the event $X$ with the probability that the variable equals 1, $P(X=1)=p_X$ ), we can note that the covariance is given by $Cov_{X Y} = E(X Y) - E(X)E(Y)=p_{XY} - p_X \,p_Y$ and then $$h(X,Y) = \frac{1}{1+Cov_{X Y}/p_{XY}}$$

-