I have spent a couple of hours trying to solve the following problem, and my approach is incorrect, but I don't understand why.
Problem: Say we deal 13 cards from a 52 card deck. What is the probability of having at least one card from each suit?
My approach to this problem was to ignore the 52 card deck. Statistically, any set of 13 cards should have the same probabilities as any other set of 13 cards randomly selected. Given we have a set of 13 cards, what is the likelihood that at least one suit is missing? To me, the rank of each card is irrelevant. On average, each set of 13 cards randomly selected would have the same number of cards from each suit. In other words, a set of 13 cards should be a representative subset of the larger set of possibilities. With all that said, here was my approach. What is the flaw in my thinking?
Using the inclusion-exclusion formula for the at least condition:
$$L_m = S_m - \binom{m}{1} * S_{m+1} + \binom{m+1}{2} * S_{m+2}$$
Conditions:
c1: H (hearts) = 0
c2: D (diamonds) = 0
c3: S (spades) = 0
c4: C (clubs) = 0
At least one condition met:
$$L_1 = S_1 - \binom{1}{1} * S_2 + \binom{2}{2} * S_3$$
S1 = number of ways to deal 13 cards where one suit is not represented
S2 = number of ways to deal 13 cards where two suits are not represented
S3 = number of ways to deal 13 cards where three suits are not represented
S4 = number of ways to deal 13 cards where four suits are not represented = 0
Now:
$C_{tot}$ = total number of combinations of 13 cards (ignoring rank & ordering)
$C_{inc}$ = number of combinations of 13 cards where all suits are included (ignoring rank & ordering)
$C_{exc}$ = number of combinations of 13 cards where at least one suit is not included (ignoring rank & ordering)
$$C_{inc} = C_{tot} - C_{exc}$$
When I say "ignoring rank & ordering", I mean that we have 13 cards that could be described as follows (for example): CCCHHHDDDSSSS. All we care about is that we have 3 clubs, 3 hearts, 3 diamonds, and 4 spades. Nothing else seems relevant to me.
Next:
$$H + D + S + C = 13$$
In other words, the 13 cards must be assigned to each bucket (heads, diamonds, spades, clubs)
The total number of ways the 13 cards can be assigned to the buckets would be:
$$\binom{n+r-1}{r} = \binom{13 + 4 - 1}{13} = \binom{16}{13} = 560$$
$$C_{tot} = 560$$
If c1 is true:
$$D + S + C = 13$$
So:
$$S_1 = \binom{4}{1} * \binom{15}{13} = 420$$
If c1,c2 is true:
$$S + C = 13$$
So:
$$S_2 = \binom{4}{2} * \binom{14}{13} = 84$$
If c1,c2,c3 is true:
$$C = 13$$
There is only one way for this to be true for each hand selected (or in other words, for each set of three hands not selected), so we can calculate $S_3$ as follows:
$$S_3 = \binom{4}{3} * 1 = 4$$
Finally, adding everything:
$$L_1 = S_1 - \binom{1}{1} * S_2 + \binom{2}{2} * S_3$$
$$L_1 = 420 - \binom{1}{1} * 84 + \binom{2}{2} * 4$$
$$L_1 = 340$$
$$C_{exc} = L_1 = 340$$
Putting it all together:
$$C_{inc} = C_{tot} - C_{exc}$$
$$C_{inc} = 560 - 340$$
$$C_{inc} = 220$$
Probability of selecting a set of 13 cards from a deck of 52 cards where at least one card from each suit is included in the set selected:
(Note: this step is invalid and is where my error is located. See Lourrran's answer for an explanation of this error.)
$$ p_{inc} = C_{inc}/C_{tot}$$
$$ p_{inc} = 220/560$$
Note - this result is incorrect. The correct answer is $p_{inc} = 0.9489$.
H + D + S + C = 13
In other words, the 13 cards must be assigned to each bucket (heads, diamonds, spades, clubs)
The total number of ways the 13 cards can be assigned to the buckets would be: (n+r-1) choose (r) = (13 + 4 - 1) choose (13) = 16 choose 13 = 560
– Jonathan Yoder Sep 27 '24 at 14:16