One of the 256 subsets of {1,2,3,4,5,6,7,8} is chosen uniformly at random. Let X be the number of elements of this subset. Let Y be 0 if the subset is empty and be the least element of the subset otherwise. What is Pr(X = 2| Y < 4)?
I found that:
Pr(X=0) = 1/256
Pr(X=1) = 1/32
Pr(X=2) = 7/64
Pr(X=3) = 7/32
Pr(X=4) = 35/128
Pr(X=5) = 7/32
Pr(X=6) = 7/64
Pr(X=7) = 1/32
Pr(X=8) = 1/256
How do find the probability of Y? Does Pr(X = 2| Y < 4)mean that I have to find the probability of the number of elements of this subset being 2, given that the least element of the subset is less than 4? If so, can I have any tips on how to solve this?
1> Use Bayes' Rule and the Law of Total Probability.
2> $Y$ will be less than 4, for a given subset size, if not all of the elements of the subset are selected from the five elements that are more than 3.