Testwiki:Reference desk/Archives/Mathematics/2006 November 28

From testwiki
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < November 27 ! width="25%" align="center"|<< Oct | November | Dec >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 28

Bayes Theorem Equation

Looking at the equation for Bayes' Theorem.

Pr(A|B)=Pr(B|A)Pr(A)Pr(B|A)Pr(A)+Pr(B|A')Pr(A')

Assume that Pr(A')=1Pr(A)

Pr(A|B)=Pr(B|A)Pr(A)Pr(B|A)Pr(A)+Pr(B|A')Pr(B|A')Pr(A)
Pr(A|B)=Pr(B|A)Pr(A)(Pr(B|A)Pr(B|A'))Pr(A)+Pr(B|A')
Pr(A|B)Pr(B|A)Pr(A)=1(Pr(B|A)Pr(B|A'))Pr(A)+Pr(B|A')
Pr(B|A)Pr(A)Pr(A|B)=(Pr(B|A)Pr(B|A'))Pr(A)+Pr(B|A')
Pr(A)[Pr(B|A)Pr(A|B)(Pr(B|A)Pr(B|A'))]=Pr(B|A')
Pr(A)=Pr(B|A')Pr(B|A)Pr(A|B)(Pr(B|A)Pr(B|A'))

Now assume that a positive integer number X (between 1 and 1 million) is picked at random.

let A be "X is divisible by 2"

and

let B be "X is divisible by 4"

We have

Pr(B|A')=0

Thus

Pr(A)=0Pr(B|A)Pr(A|B)(Pr(B|A)Pr(B|A'))
Pr(A)=0

Therefore if we pick a positive integer between 1 and 1 million at random, the number we pick will not be an even number.

This is of course WRONG! But I can't see where the mistake is.

You can have fun with this:

let A be "George Bush is an American"
and
let B be "George Bush is the president of the United States"

202.168.50.40 22:59, 28 November 2006 (UTC)

Hint. At some point, rather late in your derivation, you take a step of the form ab = ca = c/b. Then you conclude that c = 0 implies a = 0. But if you substitute c := 0 in the equation ab = c, it becomes ab = 0. You cannot conclude from there to a = 0.  --LambiamTalk 23:32, 28 November 2006 (UTC)