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

** Note ** Jesse is currently looking for a new position. You can learn more about him at https://jesseliberty.bio Thank you. 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. His latest book, Building APIs with .NET, is now available wherever you buy your books. Liberty 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 13 year Microsoft MVP.
This entry was posted in Essentials. Bookmark the permalink.

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

  1. Some really nice and useful info on this web site, too I think the layout holds great features.

  2. What i do not realize is in truth how you’re now not really a lot more smartly-appreciated than you may be right now. You are so intelligent. You understand therefore significantly in relation to this topic, made me personally consider it from so many varied angles. Its like men and women aren’t fascinated except it is something to accomplish with Lady gaga! Your individual stuffs outstanding. Always handle it up!

  3. Some truly wondrous work on behalf of the owner of this web site, dead great written content.

  4. Rattling clear website , thanks for this post.

  5. IsmaelNiz's avatar IsmaelNiz says:

    I appreciate how this post stays useful while also keeping the conversation easygoing and approachable for readers.

    купить inmode Diolaze

  6. fachai's avatar fachai says:

    Incredible quest there. What occurred after? Thanks!

  7. diamond game's avatar diamond game says:

    Currently it sounds like Expression Engine is the top blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

  8. As I website possessor I believe the content material here is rattling excellent , appreciate it for your efforts. You should keep it up forever! Best of luck.

  9. I’m extremely impressed along with your writing abilities as well as with the structure in your blog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent high quality writing, it’s uncommon to see a great weblog like this one these days..

  10. Wow! Thank you! I constantly wanted to write on my blog something like that. Can I implement a fragment of your post to my site?

  11. Pretty component of content. I simply stumbled upon your web site and in accession capital to assert that I acquire actually enjoyed account your blog posts. Anyway I’ll be subscribing on your augment and even I achievement you get entry to consistently fast.

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

  13. great post.Ne’er knew this, thankyou for letting me know.

  14. Hello would you mind sharing which blog platform you’re working with? I’m going to start my own blog in the near future but I’m having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something unique. P.S Apologies for getting off-topic but I had to ask!

  15. I have recently started a blog, the information you offer on this web site has helped me tremendously. Thanks for all of your time & work.

  16. Stephenviaps's avatar Stephenviaps says:

    This post has a clear flow that makes the ideas easy to follow while also keeping the discussion interesting from beginning to end.

    free spins no deposit

  17. 777win's avatar 777win says:

    Have you ever thought about creating an ebook or guest authoring on other websites? I have a blog centered on the same topics you discuss and would love to have you share some stories/information. I know my subscribers would appreciate your work. If you’re even remotely interested, feel free to send me an e mail.

  18. slot gacor's avatar slot gacor says:

    My brother suggested I might like this website. He was entirely right. This post actually made my day. You can not imagine just how much time I had spent for this information! Thanks!

  19. Thanks a bunch for sharing this with all of us you actually know what you are talking about! Bookmarked. Kindly also visit my site =). We could have a link exchange agreement between us!

  20. hgo909 link's avatar hgo909 link says:

    Way cool, some valid points! I appreciate you making this article available, the rest of the site is also high quality. Have a fun.

  21. I really like your writing style, good info , appreciate it for posting :D.

  22. Deference to article author, some good information .

  23. I conceive this site has some real superb info for everyone :D.

  24. Some truly wonderful information, Gladiolus I observed this. “I know God will not give me anything I can’t handle. I just wish that He didn’t trust me so much.” by Mother Theresa.

  25. 30jili's avatar 30jili says:

    Thanks to my father who stated to me concerning this webpage, this webpage is actually awesome.

  26. gold99's avatar gold99 says:

    It’s going to be ending of mine day, except before finish I am reading this enormous post to improve my know-how.

  27. I’ve been browsing online more than three hours these days, yet I never found any fascinating article like yours. It is beautiful value sufficient for me. In my view, if all site owners and bloggers made just right content material as you did, the web might be much more useful than ever before.

  28. mpo100's avatar mpo100 says:

    I genuinely enjoy looking at on this web site, it contains superb blog posts.

  29. audileaf's avatar audileaf says:

    It’s really a great and helpful piece of info. I am satisfied that you just shared this useful info with us. Please stay us up to date like this. Thanks for sharing.

  30. I am glad to be a visitor of this utter web blog! , appreciate it for this rare info ! .

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

  32. Having read this I thought it was very informative. I appreciate you taking the time and effort to put this article together. I once again find myself spending way to much time both reading and commenting. But so what, it was still worth it!

  33. olxtoto's avatar olxtoto says:

    I really like your writing style, wonderful info , thanks for putting up :D.

  34. so much fantastic information on here, :D.

  35. Everything is very open and very clear explanation of issues. was truly information. Your website is very useful. Thanks for sharing.

  36. Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.

  37. olxtoto link's avatar olxtoto link says:

    I really appreciate this post. I have been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thank you again

  38. olxtoto's avatar olxtoto says:

    I think this is among the most significant info for me. And i am glad reading your article. But wanna remark on few general things, The website style is great, the articles is really excellent :D. Good job, cheers

  39. I think that is one of the so much significant info for me. And i am happy studying your article. But should statement on few general issues, The site taste is perfect, the articles is truly great :D. Excellent process, cheers

  40. It’s really a great and helpful piece of information. I am glad that you shared this useful information with us. Please keep us informed like this. Thanks for sharing.

  41. Hello, you used to write fantastic, but the last several posts have been kinda boring?K I miss your super writings. Past several posts are just a bit out of track! come on!

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

  43. With every little thing that seems to be building within this specific subject matter, many of your opinions are actually quite radical. However, I am sorry, because I do not give credence to your entire suggestion, all be it exhilarating none the less. It would seem to us that your remarks are generally not totally validated and in simple fact you are your self not really wholly convinced of the point. In any event I did take pleasure in reading through it.

  44. OLanepiliA's avatar OLanepiliA says:

    What’s up all, here every one is sharing these knowledge, thus it’s nice to read this website, and I used to visit this website daily.
    บาคาร่า

  45. dewi11's avatar dewi11 says:

    You made some decent points there. I looked on the internet for the issue and found most guys will approve with your site.

  46. dewi11's avatar dewi11 says:

    I think you have mentioned some very interesting details, thankyou for the post.

  47. Wonderful work! This is the type of info that should be shared around the internet. Shame on Google for not positioning this post higher! Come on over and visit my website . Thanks =)

  48. prismlogic – Bookmarked this immediately, planning to revisit for updates and inspiration.

Leave a Reply

Your email address will not be published. Required fields are marked *