I want to check that my solution is correct for multinomial probability.

  • Thread starter Hodgey8806
  • Start date
  • Tags
    Probability
In summary, the box of candy hearts contains 52 hearts, of which 19 are white, 10 are tan, 7 are pink, 3 are purple, 5 are yellow, 2 are orange, and 6 are green. If you select 9 pieces of candy randomly, without replacement, the probability that three of the hearts are white is .292.
  • #1
Hodgey8806
145
3

Homework Statement


A box of candy hearts contains 52 hearts, of which 19 are white, 10 are tan, 7 are pink, 3 are purple, 5 are yellow, 2 are orange, and 6 are green. If you select 9 pieces of candy randomly, without replacement(I don't know why it is in comma's since it is necessary for the probability), give the probability that:

a) Three of the hearts are white

b) Three are white, 2 are tan, 1 is pink, 1 is yellow, and 2 are green.


Homework Equations


I used a multinomial probability for part (b) and the simpler binomial probability for (a). So that (a) looks like:

(n C r)(p1*p2*p3)(q1*q2*q3*q4*q5*q6) where n=9 for the 9 "trials" . r=3 for the 3 successes. p = successful probability. q = failure probability.

Now, this is without replacement so the probability changes from p1 to p2 to p3 and, of course q1 to q2 ...

Now b, I'm not good with the notation using LaTex. But it'd be similar to:

(n!)/(nw!*nt!*np!*ny!*ng!)*(w1*w2*w3)(t1*t2)(p1)(y1)(g1*g2) where the nw,...,ng represent the number of w,...,number of green. The w1,...g2 represent the respective probabilities (without replacement) of each color.

The Attempt at a Solution


The solution went as follows:

a) (9 C 3)(19/52)(18/51)(17/50)(33/49)(32/48)(31/47)(30/46)(29/45)(28/44) approximately = .292

b) (9!)/(19!2!1!1!2!)(19/52)(18/51)(17/50)(10/49)(9/48)(7/47)(5/46)(6/45)(5/44) approximately = .006

To me, these make sense so I'm fairly confident in the solution method. I hope that the approximation is close to the right answer as well. If it is wrong, please let me know!
 
Physics news on Phys.org
  • #2
Those answers are correct.

You can solve the problems a bit more simply by counting the ways you can draw the various combinations. For example, for the first problem, you have 19C3 ways to draw the 3 white hearts, 33C6 ways to draw 6 non-white hearts, and 52C9 ways to draw any 9 hearts, so the probability is (19C3)(33C6)/(52C9). This kind of distribution is called the hypergeometric distribution.
 
  • #3
Oh wow! Haha, I knew that there was similarity to the method commonly used for poker hands. Where you take 52C5 as your total hand combinations possible and use that to find the probability of any combination of a hand. But we didn't discuss that in class and my book didn't mention even anything more than the multinomial probability. Now I see why! Thank you!

I have posted another question on the board, and I'd appreciate your help! I'm not looking necessarily for an answer, but I don't know how to think of this problem otherwise.

Thanks again!
 

Related to I want to check that my solution is correct for multinomial probability.

1. How do I calculate multinomial probabilities?

To calculate multinomial probabilities, you need to first determine the number of trials, the number of categories, and the probabilities for each category. Then, you can use the formula P = n! / x1!x2!...xn! * p1^x1 * p2^x2 * ... * pn^xn, where P is the probability, n is the number of trials, x1, x2,...xn are the number of successes for each category, and p1, p2,...pn are the probabilities for each category.

2. How do I know if my solution for multinomial probability is correct?

You can check your solution by adding up all the probabilities for each category and making sure it equals 1. Additionally, you can use a calculator or computer program to double-check your calculations.

3. Can I use the binomial probability formula for multinomial probabilities?

No, the binomial probability formula is only applicable when there are two categories. For multinomial probabilities, you need to use the specific formula mentioned above.

4. What is the difference between multinomial and multivariate probabilities?

Multinomial probabilities refer to the probability of getting a specific combination of outcomes for a fixed number of categories and trials. Multivariate probabilities, on the other hand, refer to the probabilities of multiple variables simultaneously taking on specific values.

5. How can I use multinomial probabilities in real-life situations?

Multinomial probabilities can be used in various fields such as genetics, medicine, and economics to analyze data with multiple categorical variables. For example, you can use multinomial probabilities to determine the likelihood of a patient having a certain combination of symptoms or to predict the outcomes of different economic policies on different groups of people.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
915
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
Replies
4
Views
2K
  • Programming and Computer Science
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • General Discussion
Replies
18
Views
11K
  • Advanced Physics Homework Help
Replies
11
Views
1K
  • Programming and Computer Science
Replies
19
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Feedback and Announcements
Replies
6
Views
2K
Back
Top