1 / 19

Bayesian Notions and False Positives

Bayesian Notions and False Positives. In the 2004, presidential election, of those Texans who voted for either Kerry or Bush, 62% voted for Bush and 38% for Kerry. Of the Massachusetts residents who voted for either Kerry or Bush, 37% voted for Bush and 63% for Kerry.

keala
Download Presentation

Bayesian Notions and False Positives

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bayesian Notions and False Positives

  2. In the 2004, presidential election, of those Texans who voted for either Kerry or Bush, 62% voted for Bush and 38% for Kerry. Of the Massachusetts residents who voted for either Kerry or Bush, 37% voted for Bush and 63% for Kerry. Bill was a Kerry voter. He comes from either Texas or Massachusetts but I know nothing more about him. Is it more likely that he comes from Texas or from Massachusetts?

  3. I need to tell you that: in Texas there were 7.4 million voters for either Kerry or Bush and in Massachusetts there were only 2.9 million such voters.

  4. I need to tell you that in Texas there were 7.4 million voters for either Kerry or Bush and in Massachusetts there were 2.9 million such voters. • Thus, of the Kerry voters from the two states, 61% came from Texas and only 39% came from Massachusetts.

  5. Thus, of the Kerry voters from the two states, 61% came from Texas and only 39% came from Massachusetts. • So Bill is more likely a Texan.

  6. Bayes’ Theorem Where: Is the probability of Event B given that Event A has occurred Is the probability of Event A given that Event B has occurred Is the probability of Event B Is the probability of Event A

  7. Bayes’ Theorem for Kerry_voter vs. Texan

  8. False Positives in Medical Tests Suppose that a test for a disease generates the following results: • if a tested patient has the disease, the test returns a positive result 99.9% of the time, or with probability 0.999 2. if a tested patient does not have the disease, the test returns a negative result 99.5% of the time, or with probability 0.995. Suppose also that only 0.2% of the population has that disease, so that a randomly selected patient has a 0.002 prior probability of having the disease.

  9. False Positives in Medical Tests Suppose that a test for a disease generates the following results: • if a tested patient has the disease, the test returns a positive result 99.9% of the time, or with probability 0.999 2. if a tested patient does not have the disease, the test returns a negative result 99.5% of the time, or with probability 0.995. Suppose also that only 0.2% of the population has that disease, so that a randomly selected patient has a 0.002 prior probability of having the disease. What is the probability of a “false positive”: The patient does not have the disease given that the test was positive?

  10. Let’s begin with What is the probability of a “true positive”: The patient does have the disease given that the test was positive? A: Patient Tests Positively B: Patient Has Disease Is the probability Patient Has Disease given that Patient Tests Positively Is the probability Patient Tests Positively given that Patient Has Disease Is the probability Patient Has Disease Is the probability Patient Tests Positively

  11. Let’s begin with What is the probability of a “true positive”: The patient does have the disease given that the test was positive? A: Patient Tests Positively B: Patient Has Disease Is the probability Patient Has Disease given that Patient Tests Positively Is the probability Patient Tests Positively given that Patient Has Disease Is the probability Patient Has Disease Is the probability Patient Tests Positively

  12. Let’s begin with What is the probability of a “true positive”: The patient does have the disease given that the test was positive? A: Patient Tests Positively B: Patient Has Disease Is the probability Patient Has Disease given that Patient Tests Positively .999 .002 Is the probability Patient Tests Positively

  13. What is the probability that the Patient Tests Positively? Is the probability Patient Has Disease given that Patient Tests Positively .999 .002 .006988

  14. What is the probability of a “false positive”: The patient does not have the disease given that the test was positive? A: Patient Tests Positively B: Patient Has Disease .2859 and P(not B|A) is 1-.2859 = .7141 .999 .002 .006988

  15. + TEST NEGATIVE +

  16. What if the test was more accurate for those who did not have the disease?

More Related