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. You actually make it seem so easy with your presentation but I to find this matter to be really something which I believe I might by no means understand. It seems too complex and very wide for me. I am looking forward for your next publish, I will attempt to get the dangle of it!

  2. There is noticeably a bundle to know about this. I assume you made certain nice points in features also.

  3. Respect to op, some superb entropy.

  4. I love your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you? Plz reply as I’m looking to construct my own blog and would like to find out where u got this from. appreciate it

  5. Very great post. I just stumbled upon your blog and wished to say that I’ve truly loved surfing around your blog posts. After all I’ll be subscribing for your feed and I am hoping you write once more soon!

  6. olxtoto's avatar olxtoto says:

    I beloved up to you will obtain carried out right here. The comic strip is attractive, your authored subject matter stylish. however, you command get bought an shakiness over that you would like be turning in the following. unwell for sure come further earlier again as precisely the same just about very often within case you shield this hike.

  7. This really answered my drawback, thank you!

  8. As I website owner I conceive the subject material here is rattling fantastic, thankyou for your efforts.

  9. situs toto's avatar situs toto says:

    It’s a pity you don’t have a donate button! I’d most certainly donate to this fantastic blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will share this blog with my Facebook group. Talk soon!

  10. dewi11 login's avatar dewi11 login says:

    Howdy! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My website looks weird when browsing from my apple iphone. I’m trying to find a theme or plugin that might be able to resolve this issue. If you have any suggestions, please share. Cheers!

  11. I was suggested this web site by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my difficulty. You are incredible! Thanks!

  12. Some times its a pain in the ass to read what blog owners wrote but this internet site is rattling user pleasant! .

  13. togel's avatar togel says:

    I have learn a few excellent stuff here. Certainly price bookmarking for revisiting. I surprise how so much effort you place to create any such excellent informative site.

  14. You made some decent factors there. I regarded on the web for the issue and found most individuals will go along with together with your website.

  15. link togel's avatar link togel says:

    Unquestionably believe that which you said. Your favorite reason seemed to be on the web the simplest thing to be aware of. I say to you, I certainly get annoyed while people consider worries that they just don’t know about. You managed to hit the nail upon the top and defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks

  16. rajabandot's avatar rajabandot says:

    I enjoy forgathering useful info, this post has got me even more info! .

  17. Pretty! This was a really wonderful post. Thank you for your provided information.

  18. There is noticeably a bundle to know about this. I assume you made certain nice points in features also.

  19. blog 888's avatar blog 888 says:

    Superb blog you have here but I was curious if you knew of any user discussion forums that cover the same topics discussed in this article? I’d really love to be a part of online community where I can get responses from other knowledgeable people that share the same interest. If you have any suggestions, please let me know. Thanks!

  20. hello!,I like your writing very a lot! share we be in contact more about your post on AOL? I require a specialist on this area to unravel my problem. May be that’s you! Having a look forward to look you.

  21. Some genuinely prime blog posts on this website , saved to fav.

  22. This is the proper weblog for anybody who wants to find out about this topic. You realize a lot its virtually hard to argue with you (not that I actually would need…HaHa). You definitely put a new spin on a topic thats been written about for years. Nice stuff, simply nice!

  23. Fantastic site. Plenty of helpful information here. I am sending it to a few buddies ans also sharing in delicious. And naturally, thank you to your sweat!

  24. Admiring the commitment you put into your site and detailed information you offer. It’s great to come across a blog every once in a while that isn’t the same unwanted rehashed information. Excellent read! I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

  25. Hi there, You’ve done an incredible job. I will certainly digg it and personally suggest to my friends. I’m sure they’ll be benefited from this site.

  26. I like what you guys are up also. Such intelligent work and reporting! Carry on the excellent works guys I have incorporated you guys to my blogroll. I think it will improve the value of my web site :).

  27. Hello, Neat post. There’s an issue along with your site in internet explorer, may test this… IE still is the marketplace leader and a huge section of folks will miss your excellent writing due to this problem.

  28. I just could not depart your site prior to suggesting that I actually enjoyed the standard information a person provide for your visitors? Is gonna be back often in order to check up on new posts

  29. I’m really impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you modify it yourself? Either way keep up the excellent quality writing, it’s rare to see a nice blog like this one these days..

  30. derila ergo's avatar derila ergo says:

    Thank you for sharing with us, I conceive this website really stands out :D.

  31. spartamax's avatar spartamax says:

    I have not checked in here for a while because I thought it was getting boring, but the last few posts are great quality so I guess I will add you back to my everyday bloglist. You deserve it my friend 🙂

  32. kera77's avatar kera77 says:

    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. I am really loving the theme/design of your blog. Do you ever run into any internet browser compatibility problems? A small number of my blog audience have complained about my site not working correctly in Explorer but looks great in Firefox. Do you have any tips to help fix this issue?

  34. 365bet app's avatar 365bet app says:

    Decided to try their 365bet app from the link here 365bet app. Downloaded it quick. So far so good. Feels like a copy of others out there. Give it a crack!

  35. Need the ‘gamvip g88 apk’ file! My usual source is down. Anyone got a reliable link for downloading the APK version? No sketchy stuff, please!

  36. 639's avatar 639 says:

    639? Never heard of it. Website link here: 639, maybe this is where all the smart players are going to bet!

  37. citrus burn's avatar citrus burn says:

    you have a great blog here! would you like to make some invite posts on my blog?

  38. fitspresso's avatar fitspresso says:

    hello!,I like your writing very much! share we communicate more about your post on AOL? I require an expert on this area to solve my problem. Maybe that’s you! Looking forward to see you.

  39. Thanks for this post, I am a big fan of this site would like to continue updated.

  40. WONDERFUL Post.thanks for share..extra wait .. …

  41. Very nice post. I simply stumbled upon your blog and wished to mention that I’ve truly loved surfing around your blog posts. After all I’ll be subscribing for your rss feed and I am hoping you write again soon!

  42. Thanks for this post, I am a big big fan of this website would like to continue updated.

  43. LewisGor's avatar LewisGor says:

    Hi colleagues, how is all, and what you want to say regarding this piece of writing, in my view its actually amazing in support of me.
    https://vivashop.com.ua/rozpakuvannya-far-mercedes-benz-multibeam.html

  44. You made some respectable points there. I regarded on the web for the difficulty and found most individuals will associate with with your website.

  45. Wonderful site. Plenty of helpful info here. I am sending it to a few friends ans also sharing in delicious. And of course, thank you on your sweat!

  46. hokibos898's avatar hokibos898 says:

    I will immediately snatch your rss feed as I can’t to find your email subscription link or e-newsletter service. Do you have any? Kindly permit me know so that I may subscribe. Thanks.

  47. fantastic post.Never knew this, appreciate it for letting me know.

  48. Wow! Thank you! I permanently needed to write on my blog something like that. Can I include a part of your post to my website?

  49. eva bloom's avatar eva bloom says:

    I have been exploring for a little bit for any high quality articles or weblog posts on this sort of area . Exploring in Yahoo I ultimately stumbled upon this website. Reading this info So i am happy to exhibit that I’ve an incredibly excellent uncanny feeling I found out exactly what I needed. I so much definitely will make sure to don’t put out of your mind this web site and give it a glance on a continuing basis.

  50. citrus burn's avatar citrus burn says:

    Hmm it appears like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I too am an aspiring blog writer but I’m still new to everything. Do you have any tips for rookie blog writers? I’d genuinely appreciate it.

Leave a Reply

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