Probability help
Dec. 20th, 2009 06:57 amIt's been a long time since I've done probability, and I'd love for someone to check my work on the following question:
Suppose you have 58 marbles in a jar, 28 white and 30 black, and you draw a marbles from the jar without replacement.
(a) If you draw 19 total, what's the probability that exactly 9 will be black?
(b) If you draw 17 total, what's the probability that all 17 will be black?
If I've done this right, I get 19.8% for the first one and .00006% for the second, using the calculations (28-choose-10)*(30-choose-9)/(58-choose-19) and (30-choose-17)/(58-choose-17) and relying on Python to do the actual arithmetic.
Suppose you have 58 marbles in a jar, 28 white and 30 black, and you draw a marbles from the jar without replacement.
(a) If you draw 19 total, what's the probability that exactly 9 will be black?
(b) If you draw 17 total, what's the probability that all 17 will be black?
If I've done this right, I get 19.8% for the first one and .00006% for the second, using the calculations (28-choose-10)*(30-choose-9)/(58-choose-19) and (30-choose-17)/(58-choose-17) and relying on Python to do the actual arithmetic.
(no subject)
Date: 2009-12-20 03:33 pm (UTC)(no subject)
Date: 2009-12-20 04:32 pm (UTC)(no subject)
Date: 2009-12-20 05:09 pm (UTC)And do these problems correspond to anything? The numbers are kind of strange to have been picked as just an exercise.
(no subject)
Date: 2009-12-20 06:07 pm (UTC)And yes, they do correspond to something, though I can't really discuss the details here.
(no subject)
Date: 2009-12-20 05:45 pm (UTC)(no subject)
Date: 2009-12-20 05:52 pm (UTC)(no subject)
Date: 2009-12-20 06:21 pm (UTC)(no subject)
Date: 2009-12-20 07:22 pm (UTC)For (a), 58-choose-19 represents the total number of ways to choose 19 marbles out of 58, ignoring the order of choosing them. Then 28-choose-10 represents the number of ways to choose 10 white marbles, and 30-choose-9 represents the number of ways to choose 9 black marbles, and their product is the number of ways to choose 10 white and 9 black marbles, and finally you divide these two results to get the probability. Then (b) is the same sort of calculation except there are no white ones being chosen, so the white term becomes 28-choose-0 which is 1 and drops out of the product.
(no subject)
Date: 2009-12-20 08:43 pm (UTC)That's all you're gettin' from the English major.
(no subject)
Date: 2009-12-20 08:44 pm (UTC)(no subject)
Date: 2009-12-21 02:52 am (UTC)In general, the odds of doing something you want is equal to the number of ways you can do the thing you want, divided by the number of ways you can do anything at all (assuming that all outcomes are equally likely), and that's exactly what you've done here.
(And if not, then I charge waaaaay too much money for test prep. ;-) )