1. Joined
    29 Dec '08
    Moves
    6788
    13 Aug '11 22:43
    This is from a NY Times book review that gives the answer and the procedure, but not the specific math of this poser, so showing the specific math is requested here.

    You are given three coins, two of them fair, one of them a counterfeit that always comes up heads (It has heads on both sides, say.) You randomly pick one of the three coins and without looking at both sides, flip it three times. You observe the result and see that it comes up heads each time. What is the posterior probability that it is the counterfeit? ("Posterior" means taking into account the result of the coin flips you observed.)
  2. Subscribercoquette
    Already mated
    Omaha, Nebraska, USA
    Joined
    04 Jul '06
    Moves
    1113883
    13 Aug '11 23:15
    One possibility is that you picked the biased coin.

    There are two possibilities that you picked a fair coin.

    If you picked a fair coin, the odds of getting three heads in a row for either one are: .5 X .5 X .5 = .125 (1 chance in eight; half of half is one fourth, one half of that is one-eigth)

    You have two chances of one-eigth (.125), or one fourth. (.25) for the two coins total and one in three (.333) to get the fair coin.

    .333 + .25 = .583 or 58.3% odds

    just my guess, i'm not a mathematician or a statistician
  3. DonationAnthem
    The Ferocious Camel
    g1
    Joined
    12 Jun '02
    Moves
    13774
    13 Aug '11 23:48
    First some notation:
    Call the event of flipping heads 3 times in a row A, and the event that the coin you chose is counterfeit B. P(A|B) is the probability that A happens given that B happens (i.e. the posterior probability). P(B|A) is thus what we want to find. P(A^B) is the probability that A and B both occur (I'm using ^ in the way that the intersection symbol is usually used).

    Okay:
    P(A|B) = P(A^B)/P(B) (this is the mathematical definition of posterior probability, it makes sense if you think it over a bit)
    similarly, P(B|A) = P(B^A)/P(A)

    Because P(A^B) = P(B^A) (in a full mathematical treatment this would be because the intersection operator on sets is commutative, but also common sense tells us the same), we can do a little algebra to get:

    P(B|A) = P(A|B)*P(B)/P(A)

    P(A|B) = 1 (if we chose the counterfeit coin we would always get heads)
    P(B) = 1/3 (there are 3 coins, 1 is counterfeit)
    P(A) = 1/8 + 1/8 + 1/3 = 7/12 (coquette's answer)

    So P(B|A) = (1*1/3)/(7/12) = 4/7 = 57.1%
  4. Joined
    29 Dec '08
    Moves
    6788
    14 Aug '11 00:41
    Originally posted by Anthem
    First some notation:
    Call the event of flipping heads 3 times in a row A, and the event that the coin you chose is counterfeit B. P(A|B) is the probability that A happens given that B happens (i.e. the posterior probability). P(B|A) is thus what we want to find. P(A^B) is the probability that A and B both occur (I'm using ^ in the way that the intersection s ...[text shortened]...
    P(A) = 1/8 + 1/8 + 1/3 = 7/12 (coquette's answer)

    So P(B|A) = (1*1/3)/(7/12) = 4/7 = 57.1%
    Here is some text from the review of "The Theory That Would Not Die," author Sharon Bertsch McGrayne, reviewed by John Allen Paulos, a math prof at Temple U.

    http://www.nytimes.com/2011/08/07/books/review/the-theory-that-would-not-die-by-sharon-bertsch-mcgrayne-book-review.html?pagewanted=all

    "Bayes theorem states ... that the posterior probability of a hypothesis is equal to the product of (a) the prior probability of the hypothesis and (b) the conditional probability of the evidence given the hypothesis, divided by (c) the probability of the new evidence." ... "The answer to this question... is 4 in 5."

    The only thing I can think is that I stated the poser incorrectly.
  5. Standard memberPalynka
    Upward Spiral
    Halfway
    Joined
    02 Aug '04
    Moves
    8702
    14 Aug '11 00:59
    It's 0.8

    P(A) = 1/3
    P(A|B) = P(B|A)*P(A)/P(B)

    P(B|A) = 1
    P(B) = 1/3*1+2/3*0.125 = 5/12
    P(A) = 1/3

    => P(A|B) = 4/5
  6. Standard memberPalynka
    Upward Spiral
    Halfway
    Joined
    02 Aug '04
    Moves
    8702
    14 Aug '11 01:00
    Originally posted by JS357
    The only thing I can think is that I stated the poser incorrectly.
    Coquette's answer was wrong, she forgot to multiply 1/3 to 0.25.
  7. Joined
    16 Jul '11
    Moves
    2651
    14 Aug '11 02:391 edit
    I second Palynka. But if events A and B have been taken from Anthem's post, it is P(B|A) that is equal to 4/5 (not P(A|B)).
  8. DonationAnthem
    The Ferocious Camel
    g1
    Joined
    12 Jun '02
    Moves
    13774
    14 Aug '11 14:54
    Palynka is, of course, correct. As usual I got mixed up when actual numbers got involved.
Back to Top

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.I Agree