Q. 6.38
Question
Choose a number X at random from the set of numbers . Now choose a number at random from the subset no larger than X, that is, from . Call this second number Y.
(a) Find the joint mass function of X and Y.
(b) Find the conditional mass function of X given that Y = i. Do it for i = .
(c) Are X and Y independent? Why?
Step-by-Step Solution
Verified(a) The joint mass function of X and Y:
For
For
(b) Conditional mass function:
(c) The random variables X and Y are not independent.
Number X to be chosen at random from
choose the second number at random from the subset
We have that
Observe that almost certainly.
Also,
For ,
we have
For
Number X to be chosen at random from
Choose the second number at random from the subset
also, where,
Using total probability law,
then for
We have
Number X to be chosen at random from
Choose the second number at random from the subset
Since ,
Then take any .
Suppose that take
thus
On the other hand, it is quite obvious that and .
Thus,
Therefore, they are not independent