Baumblog  
 
 
     
 
Posts tagged with "books"
 
     

Why it pays to understand probability
posted by GJ on September 30, 2009 @ 7:14AM

So, you get a letter from the company you applied for insurance from, telling you that you are not eligible for the insurance you've applied for because you failed a blood test.  They don't get into specifics, of course, so you hop over to you doctor and he recommends an HIV test, since that's the most likely thing an otherwise healthy middle-aged man might be failing in terms of a blood test.

A couple of days later, your doctor calls.  "I'm sorry," he says, "the test came back positive.  This test is almost never wrong--only a 1 in 1,000 show an error.  I'm really sorry."

You're crushed--and confused.  You're not promiscuous, happily married (and heterosexual, too) for 20+ years.  Maybe your wife was cheating on you?  You don't abuse intravenous drugs, and didn't have any blood transfusions back in the early 1980s, either.  Any way you cut it, your life is in shambles, because even with medication an HIV diagnosis is a ten year death sentence, all but guaranteed.  Sure, getting a diagnosis like Patrick Swayze's pancreatic cancer is far worse, but this isn't something most folks will be jumping for joy over.

But wait.  The doctor is schooled in medicine, not probability analysis.  Maybe he's wrong?

Let's create the sample space--that is, the realm of all possible conditions.  There are four:

  • True positive:  test was positive for HIV and you actually have HIV
  • False positive:  test was positive but you don't have HIV
  • True negative:  test was negative and you don't have HIV
  • False negative:  test was negative yet you do actually have HIV

Assume that the failure rate is the false positive rate--and that the false negative rate is very near zero.  This is the case for most tests like this.  The failure rate quoted is almost always the false positive incident rate.  So, in a population of 10,000 adults like you, that is, male, hetero, single parter, non-drug users, the HIV infection rate is 1 in 10,000.  In our test population, then, 1 person will be a true positive.  However, with a test failure rate of 1 in 1,000, there will be 10 others in this population that turn out to be false positives, while the far greater majority remain true negatives.

Time to whittle down the sample space, since you're in the group where the test came back positive.  What are the odds that you really have HIV?  Not very good, as it turns out--only 1 in 11.  But your doctor told you that the chances were 999/1,000!  That's because he mistakenly applied the false positive rate to the problem as a whole--something we humans do far too often.

Now, the probability changes if you are in fact homosexual.  See, the rate for infection among homosexuals is more like 1 in 100.  So, back to our population:  instead of one 1 true positive, we have 100 true positives to go with our 10 false positives.  So, if you're a gay male, your chances of being a true positive are instead 10 in 11, even though the test has the same failure rate no matter who takes it.  Even so, those odds that your still not HIV are an order of magnitude better that 99.9% likely, so your doctor still would have been wrong, just less wrong.

Pretty cool, huh?  The author of the book I'm reading had this happen to him.  This is a fascinating book, and I strongly recommend you pick it up if you found my parable the least bit interesting.  The book is The Drunkard's Walk, by Leonard Mlodinow.  I'll bring it with me to the wedding, if someone wants to borrow my copy. 

No comments | Tags: math, books

     
 
SEARCH
 
     
 

Login

Username: 
Password: 
Remember me
 
 

Tag Cloud

advice aliens animals animation anniversary announcements apple article atheism birthdays blogs books browser cars censorship charts Christmas comic comments commercials company complaint computers concert cool culture deals disney dumbass education entertainment espnsux exercise fact family fantasy FARK finance football funny games Germany gift-guide GIMP guitar history hockey holidays humor info infomercial internet intolerance joke law lifehacking literature math medicine microsoft movie music mystery myths news NSFW opinion philosophy photos picture pictures playoffs political politics psa pseudoscience psychics question quiz quotes racing recreation religion review robots rush scam scare-tactics scary sci-fi science separated_at_birth skepticism space speeches sports stupidity suggestions support technology television thestupidithurts things that make you go hmmm Top Gear trivia tutorials updates video voting wacko war weather webcomic website wedding weird well wishes wii woo wow WWYD?

Archives

March 2010 (4)
February 2010 (8)
January 2010 (4)
December 2009 (13)
November 2009 (11)
October 2009 (16)
September 2009 (14)
August 2009 (18)
July 2009 (16)
June 2009 (9)
May 2009 (19)
April 2009 (32)
March 2009 (28)
February 2009 (12)
January 2009 (9)
December 2008 (14)
November 2008 (23)
October 2008 (22)
September 2008 (16)
August 2008 (16)
July 2008 (8)
June 2008 (22)
May 2008 (15)
April 2008 (15)
March 2008 (20)
February 2008 (7)
January 2008 (13)
December 2007 (14)
November 2007 (16)
October 2007 (27)
September 2007 (33)
August 2007 (22)
July 2007 (31)
June 2007 (25)
May 2007 (35)
April 2007 (38)
March 2007 (21)
February 2007 (8)
January 2007 (13)
December 2006 (16)
November 2006 (19)
October 2006 (30)
September 2006 (19)
August 2006 (43)
July 2006 (30)
June 2006 (30)
May 2006 (42)
April 2006 (39)
March 2006 (36)
February 2006 (36)
January 2006 (22)
December 2005 (22)
November 2005 (26)
October 2005 (19)
September 2005 (22)
August 2005 (26)
July 2005 (26)
June 2005 (14)
May 2005 (25)
April 2005 (33)
March 2005 (37)
February 2005 (39)
January 2005 (18)

Contributors

Aaron
Abby
Darcy
Drew
Eric
Geoff
Gina
GJ
Greg, Sr.
Kristen
Marc
Michelle
Ruth Ann
Steve
Trevor

Syndicate

Atomicon   Atom Feed
Rssicon   RSS Feed

 
Rightpane_bottom