Independent solution

How to solve this Joint Probability Functions question

Setup

Setup

For binary variables, each first moment is its probability of taking value one, while XY equals one only in the joint one-one cell.

E[X]=0.250+0.375=0.625=58E[X]=0.250+0.375=0.625=\frac58
E[Y]=0.125+0.375=0.500=12E[Y]=0.125+0.375=0.500=\frac12
E[XY]=0.375=38E[XY]=0.375=\frac38

Model

Model

Use Bernoulli variances for the marginals and center the product moment for covariance.

Var(X)=58(158)=1564\operatorname{Var}(X)=\frac58\left(1-\frac58\right)=\frac{15}{64}
Var(Y)=12(112)=14\operatorname{Var}(Y)=\frac12\left(1-\frac12\right)=\frac14
Cov(X,Y)=385812=116\operatorname{Cov}(X,Y)=\frac38-\frac58\frac12=\frac1{16}

Compute

Compute

Normalize the covariance by the two marginal standard deviations.

Corr(X,Y)=1/16(15/64)(1/4)\operatorname{Corr}(X,Y)=\frac{1/16}{\sqrt{(15/64)(1/4)}}
=1/1615/16=115=0.2581989=\frac{1/16}{\sqrt{15}/16}=\frac1{\sqrt{15}}=0.2581989

Answer

Answer

The correlation rounds to 0.26.

0.26(C)\boxed{0.26\quad\text{(C)}}