Les talons said:
Very well explained, thanks guys, I understand this better, but another question, "When we account for order above, because there are 3 ways to select for example, red, red, red'; red, red', red; red', red, red; this means to consider all the possible choices in combinations?" So it is equivalent to multiplying by 3. This is because the 3 choices are each three possible outcomes?
A quick way of doing this type of problem is to recognize it a involving the "multiclass hypergeometric" distribution; specifically, a 3-class situation in your case.
Given a batch of ##N## items of three types (##N_1## of type 1, ##N_2## of type 2 and ##N_3## of type 3), we choose a sample of ##n## items without replacement. Then, the probability of having ##k_1## items of type 1, ##k_2## items of type 2 and ##k_3## items of type 3 in the sample is
[tex]P(k_1,k_2,k_3) = \displaystyle \frac{{N_1 \choose k_1} {N_2 \choose k_2} {N_3 \choose k_3}}{{N \choose n}}[/tex]
for any ##k_1 + k_2 + k_3 = n##,
You have ##N_1 = 3## (red), ##N_2 = 4## (green), ##N_3 = 5## (blue). Thus,
[tex]P(k_1,k_2,k_3) = \frac{{3 \choose k_1} {4 \choose k_2} { 5 \choose k_3} }{{12 \choose 3} }=<br />
\frac{1}{220} {3 \choose k_1} {4 \choose k_2} {5 \choose k_3}[/tex]
For the first question you want ##P_1 =P(3,0,0) + P(0,3,0) + P(0,0,3)##. For the second question you want ##P_2 = [P(1,2,0) + P(2,1,0)] + [P(1,0,2) + P(2,0 1)] + [P(0,1,2) + P(0,2,1)]##, but as pointed out in #4, an easier way would be to get ##P_3 = P(1,1,1)## and then get ##P_2 = 1-P_1 -P_3##.