Best of JesseLiberty.com: Bayesian Probability

This from 2009:

Yudkowsky poses the following canonical problem:

1% of women at age forty who participate in routine screening have breast cancer. 80% of women with breast cancer will get positive mammographies. 9.6% of women without breast cancer will also get positive mammographies.

A woman in this age group had a positive mammography in a routine screening. What is the probability that she actually has breast cancer?

The frightening thing is that only 15% of doctors get this right. And they’re off by a lot. That is, the average answer is in the range of 80% while the correct answer is 7.8%. Apparently, there is something about the way we think about the problem that makes 7.8% hard to accept, and Yudkowsky does a great job of walking you through the logic in painfully small steps.

Let’s try something similar here…

What Do We Know & What Does It Imply?
We have three pieces of information:

1% of sample are TRUE (that is, they have cancer)

80% of sample who are TRUE will test TRUE

9.6% of sample who are FALSE will test TRUE.

On the face of it, we should guess that the percentage of women who test TRUE who actually are TRUE (test positive and actually have cancer) is pretty small based on two facts provided: the actual percentage of women from the sample who are TRUE (regardless of testing) is only 1%, and the test has a false positive for 9.6% of those tested.

So, to solve this:

1) Assume we have a sample of 1000 women (I use 1000 to reduce the amount I have to talk about fractional people, but I don’t use 10,000 as I get lost in the zeros).

2) We know that the reality is that of the 1,000 women, 10 will have cancer (1%).

990 = no cancer
10 = cancer

3) Of the 10 who have cancer, 8 will test positive
8 out 1000 women tested will test True and are True

4) Of the 990 with no cancer 9.6% will also test positive = 990 * .096 = 95.04.
95.04 women out of 1,000 will test True but are False.

5) The total number testing true is 8 + 95.04 = 103.04.
Of these, 8 actually have Cancer.

6) So the value for tests positive (103.04) versus is positive (8) is 8/103.4 or 0.773 or 7.8%

Unknown's avatar

About Jesse Liberty

Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen online courses. Liberty is a Senior AI Engineer at the University of Pittsburgh Medical Center, and was a Team Lead and Senior Software Engineer for various corporations, a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a 21 year Microsoft MVP.
This entry was posted in Essentials. Bookmark the permalink.

1,647 Responses to Best of JesseLiberty.com: Bayesian Probability

  1. I’ve been absent for some time, but now I remember why I used to love this web site. Thank you, I will try and check back more frequently. How frequently you update your web site?

  2. The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soon as you wake up.

  3. gifts's avatar gifts says:

    It is perfect time to make some plans for the future and it is time to be happy. I’ve learn this put up and if I may just I want to recommend you some interesting issues or advice. Maybe you can write next articles referring to this article. I wish to learn more things approximately it!

  4. Mitolyn's avatar Mitolyn says:

    Enjoyed reading this, very good stuff, appreciate it. “Shared joys make a friend, not shared sufferings.” by Friedrich Wilhelm Nietzsche.

  5. The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soon as you wake up.

  6. data macau's avatar data macau says:

    Your place is valueble for me. Thanks!…

  7. HepatoBurn's avatar HepatoBurn says:

    I enjoy the efforts you have put in this, regards for all the great content.

  8. The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soon as you wake up.

  9. Keep functioning ,impressive job!

  10. I really enjoy looking through on this site, it has good content. “One doesn’t discover new lands without consenting to lose sight of the shore for a very long time.” by Andre Gide.

  11. I don’t unremarkably comment but I gotta say thanks for the post on this great one : D.

  12. Your style is so unique compared to many other people. Thank you for publishing when you have the opportunity,Guess I will just make this bookmarked.2

  13. I like the helpful info you supply on your articles. I’ll bookmark your weblog and test again right here regularly. I am somewhat certain I’ll learn lots of new stuff right right here! Best of luck for the next!

  14. data pcso's avatar data pcso says:

    Can I just say what a reduction to find somebody who truly is aware of what theyre talking about on the internet. You definitely know methods to bring an issue to light and make it important. More people have to learn this and perceive this side of the story. I cant imagine youre not more common because you positively have the gift.

  15. Sweet blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Cheers

  16. Hello. impressive job. I did not imagine this. This is a great story. Thanks!

  17. I’m really enjoying the theme/design of your website. Do you ever run into any web browser compatibility issues? A couple of my blog visitors have complained about my site not operating correctly in Explorer but looks great in Chrome. Do you have any solutions to help fix this issue?

  18. Tonic Greens's avatar Tonic Greens says:

    Youre so cool! I dont suppose Ive learn something like this before. So nice to find someone with some original ideas on this subject. realy thanks for starting this up. this website is something that is wanted on the net, someone with a little originality. useful job for bringing something new to the internet!

  19. I am impressed with this internet site, very I am a fan.

  20. pestoto's avatar pestoto says:

    You have brought up a very superb points, thankyou for the post.

  21. quiz4d login's avatar quiz4d login says:

    I will right away grab your rss feed as I can not find your email subscription link or newsletter service. Do you have any? Kindly let me know in order that I could subscribe. Thanks.

  22. Eva Bloom's avatar Eva Bloom says:

    Wonderful work! That is the type of information that are supposed to be shared around the net. Disgrace on Google for no longer positioning this put up upper! Come on over and talk over with my web site . Thank you =)

  23. basket168's avatar basket168 says:

    I got what you mean ,saved to my bookmarks, very decent web site.

  24. I enjoy studying and I think this website got some really useful stuff on it! .

  25. As a Newbie, I am always searching online for articles that can help me. Thank you

  26. Slot Gacor's avatar Slot Gacor says:

    Thank you for sharing these insights. I also enjoy sharing my online gaming experiences through my Slot Gacor bio link, hope it can complement this discussion.

  27. BRI303's avatar BRI303 says:

    Tulisan ini memberi saya beberapa ide yang bermanfaat. Saya biasanya membagikan pemikiran saya tentang hiburan digital di BRI303 Slot Gacor, semoga bisa membantu orang lain juga.

  28. pestoto's avatar pestoto says:

    Greetings! I know this is kinda off topic but I was wondering which blog platform are you using for this website? I’m getting fed up of WordPress because I’ve had problems with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.

  29. sewu88 gacor's avatar sewu88 gacor says:

    Somebody necessarily assist to make significantly articles I might state. This is the first time I frequented your website page and up to now? I surprised with the research you made to create this actual put up amazing. Excellent job!

  30. Lipovive's avatar Lipovive says:

    I believe that is among the most vital info for me. And i am happy studying your article. However should remark on few common things, The web site style is great, the articles is in reality great : D. Just right job, cheers

  31. macau 4d's avatar macau 4d says:

    I¦ve learn several good stuff here. Definitely worth bookmarking for revisiting. I surprise how much attempt you put to create the sort of magnificent informative web site.

  32. Your style is so unique compared to many other people. Thank you for publishing when you have the opportunity,Guess I will just make this bookmarked.2

  33. Lipovive's avatar Lipovive says:

    I like this web blog very much so much wonderful info .

  34. I’m truly enjoying the design and layout of your blog. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Outstanding work!

  35. Hello, i think that i saw you visited my website thus i came to “return the favor”.I am trying to find things to improve my site!I suppose its ok to use a few of your ideas!!

  36. wd808's avatar wd808 says:

    Awesome site you have here but I was wanting to know if you knew of any discussion boards that cover the same topics discussed in this article? I’d really like to be a part of community where I can get feed-back from other experienced individuals that share the same interest. If you have any recommendations, please let me know. Thanks!

  37. Appreciating the time and energy you put into your blog and detailed information you provide. It’s great to come across a blog every once in a while that isn’t the same outdated rehashed material. Fantastic read! I’ve saved your site and I’m including your RSS feeds to my Google account.

  38. I feel this is among the so much important info for me. And i’m glad reading your article. But wanna remark on few common issues, The web site style is wonderful, the articles is truly excellent : D. Good task, cheers

  39. Wow that was odd. I just wrote an really long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyways, just wanted to say fantastic blog!

  40. kopitogel's avatar kopitogel says:

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how could we communicate?

  41. bekaltoto's avatar bekaltoto says:

    What i do not understood is actually how you are not really much more well-liked than you might be right now. You are so intelligent. You realize therefore considerably relating to this subject, produced me personally consider it from numerous varied angles. Its like men and women aren’t fascinated unless it’s one thing to do with Lady gaga! Your own stuffs nice. Always maintain it up!

  42. I love it when people come together and share opinions, great blog, keep it up.

  43. pestoto jitu's avatar pestoto jitu says:

    Can I simply say what a reduction to seek out somebody who truly is aware of what theyre talking about on the internet. You undoubtedly know learn how to deliver an issue to mild and make it important. Extra individuals need to read this and perceive this side of the story. I cant believe youre no more fashionable because you definitely have the gift.

  44. I like what you guys are up too. Such intelligent work and reporting! Carry on the superb works guys I?¦ve incorporated you guys to my blogroll. I think it’ll improve the value of my web site 🙂

  45. hptoto's avatar hptoto says:

    Good day very nice blog!! Guy .. Excellent .. Superb .. I’ll bookmark your web site and take the feeds additionally?KI’m glad to seek out numerous useful information here in the post, we’d like develop extra strategies in this regard, thank you for sharing. . . . . .

  46. kopitogel's avatar kopitogel says:

    excellent post.Ne’er knew this, thanks for letting me know.

  47. Yay google is my king aided me to find this great site! .

  48. kopitogel's avatar kopitogel says:

    I will right away grasp your rss feed as I can not find your e-mail subscription hyperlink or e-newsletter service. Do you have any? Kindly allow me understand so that I may subscribe. Thanks.

  49. I have been exploring for a little for any high-quality articles or blog posts on this sort of area . Exploring in Yahoo I at last stumbled upon this web site. Reading this info So i am happy to convey that I have a very good uncanny feeling I discovered exactly what I needed. I most certainly will make sure to do not forget this web site and give it a glance regularly.

  50. You made some good points there. I did a search on the topic and found most people will consent with your site.

Comments are closed.