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. dhk4d login's avatar dhk4d login says:

    Really nice style and wonderful content material, nothing else we want : D.

  2. olxtoto's avatar olxtoto says:

    You got a very great website, Gladiolus I noticed it through yahoo.

  3. Rattling good visual appeal on this internet site, I’d value it 10 10.

  4. Whats up very nice website!! Man .. Beautiful .. Wonderful .. I’ll bookmark your website and take the feeds additionally…I’m glad to search out numerous useful info here within the submit, we’d like work out more strategies on this regard, thanks for sharing. . . . . .

  5. Usually I do not learn article on blogs, but I wish to say that this write-up very compelled me to check out and do so! Your writing taste has been amazed me. Thanks, very great article.

  6. I like this web blog so much, bookmarked.

  7. basket168's avatar basket168 says:

    What i don’t realize is in reality how you’re no longer actually a lot more neatly-favored than you might be right now. You’re so intelligent. You know thus significantly in terms of this matter, made me in my view imagine it from numerous various angles. Its like women and men aren’t involved unless it is something to accomplish with Girl gaga! Your individual stuffs nice. At all times maintain it up!

  8. olxtoto's avatar olxtoto says:

    You actually make it seem so easy with your presentation but I find this topic to be actually something which I think I would never understand. It seems too complex and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  9. densustoto's avatar densustoto says:

    I like this post, enjoyed this one thanks for posting.

  10. Some truly great info , Gladiolus I found this. “Reprove thy friend privately commend him publicly.” by Solon.

  11. Perfect work you have done, this web site is really cool with good information.

  12. rajabotak's avatar rajabotak says:

    fantastic points altogether, you simply won a new reader. What may you suggest in regards to your put up that you simply made some days in the past? Any certain?

  13. Enjoyed examining this, very good stuff, thankyou.

  14. I like this website its a master peace ! Glad I noticed this on google .

  15. 1xbet's avatar 1xbet says:

    Wonderful goods from you, man. I have understand your stuff previous to and you are just too excellent. I really like what you have acquired here, certainly like what you’re stating and the way in which you say it. You make it entertaining and you still care for to keep it sensible. I can’t wait to read far more from you. This is really a terrific site.

  16. 1xmpo's avatar 1xmpo says:

    Only wanna say that this is handy, Thanks for taking your time to write this.

  17. ceritoto's avatar ceritoto says:

    This really answered my problem, thank you!

  18. I relish, lead to I discovered exactly what I used to be having a look for. You have ended my 4 day long hunt! God Bless you man. Have a great day. Bye

  19. olxtoto's avatar olxtoto says:

    It is best to participate in a contest for top-of-the-line blogs on the web. I will advocate this web site!

  20. ceritoto's avatar ceritoto says:

    What i don’t understood is in fact how you are not really much more neatly-preferred than you may be right now. You’re so intelligent. You understand therefore significantly on the subject of this topic, produced me individually consider it from numerous various angles. Its like men and women aren’t involved until it is something to do with Lady gaga! Your personal stuffs great. At all times care for it up!

  21. mpo800's avatar mpo800 says:

    You could definitely see your enthusiasm within the work you write. The sector hopes for even more passionate writers like you who are not afraid to say how they believe. At all times follow your heart.

  22. very good submit, i actually love this website, carry on it

  23. ceritoto's avatar ceritoto says:

    Utterly composed subject material, regards for entropy. “You can do very little with faith, but you can do nothing without it.” by Samuel Butler.

  24. slot dana's avatar slot dana says:

    Some genuinely wonderful info , Glad I observed this.

  25. audifort buy's avatar audifort buy says:

    I was just looking for this information for a while. After 6 hours of continuous Googleing, at last I got it in your site. I wonder what’s the lack of Google strategy that don’t rank this kind of informative web sites in top of the list. Normally the top web sites are full of garbage.

  26. 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.

  27. ceritoto's avatar ceritoto says:

    Lovely just what I was looking for.Thanks to the author for taking his time on this one.

  28. rajabotak's avatar rajabotak says:

    Heya just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different web browsers and both show the same outcome.

  29. ceritoto's avatar ceritoto says:

    Throughout this grand pattern of things you’ll receive a B- just for effort. Where exactly you misplaced us was in all the facts. As it is said, details make or break the argument.. And that couldn’t be more accurate here. Having said that, permit me tell you precisely what did give good results. Your authoring is actually extremely powerful and this is probably why I am making an effort in order to opine. I do not make it a regular habit of doing that. Second, whilst I can notice a leaps in reason you come up with, I am definitely not sure of exactly how you seem to unite the points that produce the final result. For right now I will yield to your point but wish in the foreseeable future you actually connect your facts much better.

  30. filmindo's avatar filmindo says:

    I am really enjoying the theme/design of your site. Do you ever run into any browser compatibility problems? A couple of my blog audience have complained about my blog not working correctly in Explorer but looks great in Opera. Do you have any suggestions to help fix this problem?

  31. click here's avatar click here says:

    very good post, i actually love this web site, carry on it

  32. slot mania's avatar slot mania says:

    Its great as your other blog posts : D, regards for putting up. “Always be nice to people on the way up because you’ll meet the same people on the way down.” by Wilson Mizner.

  33. situs togel's avatar situs togel says:

    I am always looking online for ideas that can aid me. Thank you!

  34. 無限定制's avatar 無限定制 says:

    I am glad to be a visitor of this sodding blog! , regards for this rare information! .

  35. pestoto's avatar pestoto says:

    Thanks , I have just been looking for information about this subject for a while and yours is the greatest I’ve found out till now. However, what about the bottom line? Are you positive in regards to the source?

  36. pestoto slot's avatar pestoto slot says:

    You are my inhalation, I have few web logs and very sporadically run out from to brand.

  37. toto macau's avatar toto macau says:

    Some genuinely nice and useful info on this internet site, too I conceive the pattern holds excellent features.

  38. 1xmpo slot's avatar 1xmpo slot says:

    Good info. Lucky me I reach on your website by accident, I bookmarked it.

  39. The crux of your writing whilst appearing reasonable originally, did not really settle well with me after some time. Somewhere within the sentences you actually were able to make me a believer unfortunately just for a very short while. I nevertheless have a problem with your jumps in logic and one would do nicely to help fill in all those gaps. If you actually can accomplish that, I could surely end up being impressed.

  40. recarga iptv's avatar recarga iptv 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.

  41. I not to mention my friends were found to be looking through the best points located on your web page and so at once I got a horrible feeling I never thanked the web site owner for them. These young men are actually absolutely thrilled to learn all of them and have in reality been tapping into these things. We appreciate you indeed being really accommodating as well as for making a decision on this sort of incredible resources most people are really wanting to be aware of. Our own honest apologies for not expressing gratitude to earlier.

  42. I discovered your blog site on google and check a few of your early posts. Continue to keep up the very good operate. I just additional up your RSS feed to my MSN News Reader. Seeking forward to reading more from you later on!…

  43. Hello.This post was extremely fascinating, especially since I was looking for thoughts on this topic last week.

  44. malware's avatar malware says:

    After all, what a great site and informative posts, I will upload inbound link – bookmark this web site? Regards, Reader.

  45. nextogel's avatar nextogel says:

    I got what you mean , regards for putting up.Woh I am pleased to find this website through google.

  46. bank soal's avatar bank soal says:

    Rattling superb information can be found on blog.

  47. malware's avatar malware says:

    This really answered my problem, thank you!

  48. nextogel's avatar nextogel says:

    A person essentially help to make seriously posts I would state. This is the very first time I frequented your web page and thus far? I surprised with the research you made to make this particular publish amazing. Fantastic job!

  49. malware's avatar malware says:

    Great blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog shine. Please let me know where you got your design. Cheers

  50. nextogel's avatar nextogel says:

    You completed certain fine points there. I did a search on the subject matter and found nearly all persons will have the same opinion with your blog.

Comments are closed.