Suppose we draw 5 cards from a standard deck of cards withou
Suppose we draw 5 cards from a standard deck of cards without replacement. Let X denote the numberof spades in our hand and let Y denote the number of jacks in our hand. Find:a) E(X), E(Y )b) V ar(X), V ar(Y )c) Cov(X, Y ), Corr(X, Y ).
Solution
Probability distribution for X
P (X=0) = 39 C 5 / 52 C 5 = 2109 / 9520
P(X = 1) = 39C413C1 / 52 C 5 = 0.4114
P(X = 2) = 39C313C2 / 52 C 5 = 0.2742
P(X = 3) = 39C213C3 / 52 C 5 = 0.08154
P(X = 4) = 39C113C4 / 52 C 5 = 0.01072
P(X = 5) = 39C013C5 / 52 C 5 = 0.00049
Thus, E(X) = 1(0.4114) + 2(0.2742) + 3(0.08154) + 4(0.01072) +5(0.00049) =1.24975 ~ 1.25
Var (X) = [12(0.4114) + 22(0.2742) + 32(0.08154) + 42(0.01072) +52(0.00049)] - (1.25)2
= 0.86333
Now,
P(Y=0) = 48C54C0 / 52 C 5 = 0.6588
P(Y=1) = 48C44C1 / 52 C 5 = 0.29947
P(Y=2) = 48C34C2 / 52 C 5 = 0.0399
P(Y=3) = 48C24C3 / 52 C 5 = 0.00173
P(Y=4) = 48C14C4 / 52 C 5 = 1.84 * 10-5
Thus,
E(Y) = 1(0.29947) + 2(0.0399) + 3(0.00173) + 4(1.84 * 10-5) =0.3845
Var (Y) = [12(0.29947) + 22(0.0399) + 32(0.00173) + 42(1.84 * 10-5)] - (0.3845)2
= 0.3270
Now,
Cov (X,Y) = E(XY) - E(X)E(Y)
(We need a joint probability distribution table for this one) Knowing the probability will make it easier to calculate.
Correlation is given by:
XY=Corr(X,Y)=Cov(X,Y)/ XY
Hope this helps. Ask if you have further queries.

