6

Q:

Choose $20$ balls from an urn with infinite numbers of balls.
The balls are labeled with $A, B, C, D$ and each has $25$% of chances getting picked.
What is the probability of picking $3$ $A$'s, $4$ $B$'s, $5$ $C$'s and $8$ $D$'s when you pick $20$ balls?

My approach to this question is:

total # of permutations = $4^{20}$
ways of having $8$ $D$'s = ${20 \choose 8}$
ways of having $5$ $C$'s = ${12 \choose 5}$
ways of having $4$ $B$'s = ${7 \choose 4}$
permutation of these = $4!$

Probability: $(4! \cdot {20 \choose 8} \cdot {12 \choose 5} \cdot {7 \choose 4}) / 4^{20}$

I am not sure if I am doing this correctly or not.
Can someone please give me some pointers.
Also, how to deal with it if the probability distribution is not uniform?

PHPirate
  • 418

1 Answers1

1

The factor $\frac 1{4^{20}}$ is the chance of a given configuration. For the non-uniform case, if the chance of drawing (in one draw) an $A$ is $a$ and so on, the factor becomes $d^8c^5b^4a^3$. And, like Mike said.....

Ross Millikan
  • 374,822