Re: Bias coin



In article
<15888415.1194017792043.JavaMail.jakarta@xxxxxxxxxxxxxx
orum.org>,
Yves <sunder_1600@xxxxxxxxx> wrote:

Any tips will do. Thanks.

One out of 1000 coins always gives heads, you flip a coin and get heads 10 times, what is probability that it is biased?

Define the events
B: we selected the biased coin at the beginning
F: we selected a fair coin at the beginning

T: A coin selected from the population gives ten out of ten heads.

We want to find Pr(B|T).

Pr(B & T) = Pr(B|T).Pr(T) = Pr(T|B).Pr(B)
= Pr(B)
so
Pr(B)
Pr(B|T) = ---------------------
Pr(B) + Pr(F).Pr(T|F)

We can get ten heads in two ways.
One way is choosing the biased coin,
and one way is choosing a fair coin.
Pr(T) = Pr(B).Pr(T|B) + Pr(F).Pr(T|F).
= Pr(B) + Pr(F).Pr(T|F).

Pr(T|F) = 1/2^10

Pr(B)
Pr(B|T) = ---------------------
Pr(B) + Pr(F).Pr(T|F)

1
= --------------------------
1 + Pr(T|F).Pr(F)/Pr(B)

1
= --------------
1 + 999/2^10

= 0.5062

--
Michael Press
.



Relevant Pages

  • Re: statistics [was something else]
    ... predictive statistics says the probability of a head on any flip is ... If you were careful to say something like "a fair coin" or the such, ... get 99 heads, neither history nor probability theory would enter into ...
    (rec.arts.sf.written)
  • Re: Why the cards must have a memory
    ... Probability theory assumes uncertainty, ... This is why I used the "tiny universe" scenario, ... ***it assumes that the probability is heads half the time FROM NOW ... incident in this case being a coin toss). ...
    (rec.gambling.poker)
  • Re: Why the cards must have a memory
    ... ***it assumes that the probability is heads half the time FROM NOW ... incident in this case being a coin toss). ... of our known universe, false. ... let's say the coin acts fair again after these 500 coin flips. ...
    (rec.gambling.poker)
  • Re: Playing Advice to Michael Petch
    ... is 57 heads out of 100 convincing evidence that a coin is biased? ... could land heads 1 million times in a row" when no one could observe ...
    (rec.games.backgammon)
  • Re: Hypothesis testing
    ... Suppose I have a fair coin and I ... absurd, but I cannot explain to myself why it is absurd. ... the number of heads for this coin is X". ...
    (sci.stat.consult)