Choose a number X at random from the set of numbers $\{1,\text{}2,\text{}3,\text{}4,\text{}5\}$ . Now choose a number at random from the subset no larger than X, that is, from $\{1,\text{}\cdots ,\text{}X\}$ . 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=1, 2, 3, 4, 5.

с) Are X and Y independent? Why?

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=1, 2, 3, 4, 5.

с) Are X and Y independent? Why?