PDA

View Full Version : help with math problem


furyshade
11-02-2007, 10:53 PM
this was given as extra credit, but no one in any of the classes this teacher has (highschool) got it that i know of, so wondering if we were missing something very obvious.

You have two hats, hat #1 has 8 red marbles and 2 blue marbles, hat #2 has 2 red marbles and 8 blue. you randomly select a hat and randomly choose two marbles from it, both of which are blue. you then switch hats and randomly pick out a marble, what is the probability that this will be a red marble?

usually we are not allowed calculators on these extra credit problems but for this one it said a calculator was allowed and to round to the third decimal place.

tabako
11-02-2007, 10:57 PM
You need to use bayes' theorem to find the probability that you selected the two blue marbles from a given hat, and then from there it is straight forward to calculate the chance that you grab a red marble from the other hat.

furyshade
11-02-2007, 11:05 PM
[ QUOTE ]
You need to use bayes' theorem to find the probability that you selected the two blue marbles from a given hat, and then from there it is straight forward to calculate the chance that you grab a red marble from the other hat.

[/ QUOTE ]
i dont think any of us have heard of baye's theorem, and i dont get how the first picking affects the second

qwnu
11-03-2007, 12:04 AM
[ QUOTE ]
[ QUOTE ]
You need to use bayes' theorem to find the probability that you selected the two blue marbles from a given hat, and then from there it is straight forward to calculate the chance that you grab a red marble from the other hat.

[/ QUOTE ]
i dont think any of us have heard of baye's theorem, and i dont get how the first picking affects the second

[/ QUOTE ]

Once you pick a hat, all you know is that there's a 50% chance you have hat A, and a 50% chance you have hat B.

But after you pick out two blue marbles from your first hat, you have some additional information. It should be intuitively obvious that it is now more likely that you have hat B. Bayes Theorem allows you to calculate this likelihood precisely.

Sephus
11-03-2007, 12:10 AM
113/145

TomCowley
11-03-2007, 12:15 AM
113/145 is what I got, forum ate my post and I'm not writing it again.

furyshade
11-03-2007, 12:26 AM
i know nothing about statistics/probability other than the most basic stuff, is there any simple way to go about it or does it simply require knowledge i don't have at the moment?

kevin017
11-03-2007, 12:29 AM
this is definitely doable with high school math. i've never heard of bayes theorem, and i just did probably the most convulted and horrible process of solving it, but i came up with 77.9%, or 113/145.

Ok, i just read your above post, i will include what it is that I did. this may be horrible, but here it is.

The odds of drawing two blue marbles from hat 1 are 2/10, then 1/9, or multiply them together to get 2.2%.

The odds of drawing two blue marbles from hat 2 are 8/10, then 7/9, or multiply them together to get 62.2%.

So, we want to set this to 100%. so we add them together, and get 64.4 (62.2 + 2.2), then we divide. 2.2/64.4 = 3.4, and 62.2 / 64.4 = 96.6.

So, the odds of us having gotten the first two blue marbles from hat a is 3.4%, and the odds of us having gotten them from hat b is 96.6%.

So if the first hat was A, the second is B, and the odds of drawing a red marble from b is 2/10. 3.4% * 20% = .68%

If the first hat was B, the second is A, and the odds of drawing a red marble from A is 8/10. 96.6% * 80% = 77.28%

77.28% + .68% = 77.96%

furyshade
11-03-2007, 12:31 AM
[ QUOTE ]
this is definitely doable with high school math. i've never heard of bayes theorem, and i just did probably the most convulted and horrible process of solving it, but i came up with 77.9%, or 113/145.

[/ QUOTE ]

id like to hear it, im generally pretty good at math, this extra credit was given to the three highest math classes at my school, though none of them are statistics courses, no one got it that i know of.

i tried reading the wiki on baye's theorem but it gave a lot of notation that i haven't seen

kevin017
11-03-2007, 12:42 AM
i'm hoping that what i wrote is right. I think it is because I came up with the same answer as others who are probably right, though i could be totally wrong, and i probably went about doing it in a weird way.

tabako
11-03-2007, 12:58 AM
A very accessible page on bayes' theorem:
http://yudkowsky.net/bayes/bayes.html

TomCowley
11-03-2007, 01:04 AM
Your answer is fine (although your first two probabilities should both be divided by 2 since you start with a 50% chance of picking either bucket first). The key feature of the problem is that you're 28 times more likely to have initially picked the 8B2R bucket, and you come up with that for the right reason.

David Sklansky
11-03-2007, 02:53 AM
More simply put:

The chances you picked the first hat and got two blues is 1/2 x 2/10 x 1/9 or 2/180.

The chances you picked the second hat and got two blues is 1/2 x 8/10 x 7/9 or 56/180.

You are going to get two blues 58 out of 180 times. When you do, there is a 56 out of 58 chance it came from the second hat.

So there is a 56/58 chance that you are looking at an 8/10 probability (to pick a red) and a 2/58 chance you are looking at a 2/10 probability.

56/58 x 8/10 plus 2/58 x 2/10 is 452/580.