STEP 3 · 20 marks

STEP 3 2000 · Q14

Probability & statistics

The random variable XX takes only the values x1x_1 and x2x_2 (where x1≠x2x_1\neq x_2), and the random variable YY takes only the values y1y_1 and y2y_2 (where y1≠y2y_1\neq y_2). Their joint distribution is given by

P(X=x1,Y=y1)=a ;P(X=x1,Y=y2)=q−a ;P(X=x2,Y=y1)=p−a . \mathrm{P}(X=x_1,Y=y_1)=a\ ;\quad \mathrm{P}(X=x_1,Y=y_2)=q-a\ ;\quad \mathrm{P}(X=x_2,Y=y_1)=p-a\ .

Show that if E(XY)=E(X)E(Y)\mathrm{E}(XY)=\mathrm{E}(X)\mathrm{E}(Y) then

(a−pq)(x1−x2)(y1−y2)=0. (a-pq)(x_1-x_2)(y_1-y_2)=0.

Hence show that two random variables each taking only two distinct values are independent if E(XY)=E(X)E(Y)\mathrm{E}(XY)=\mathrm{E}(X)\mathrm{E}(Y).

Give a joint distribution for two random variables AA and BB, each taking the three values −1-1, 00 and 11 with probability 13\frac13, which have E(AB)=E(A)E(B)\mathrm{E}(AB)=\mathrm{E}(A)\mathrm{E}(B), but which are not independent.

Read the questions freely. Sign in to check your answer, see the model answer and save your progress.