O'Reilly Forums: Bayesian Exercise - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Bayesian Exercise Lizard Flu Example

#1 User is offline   blackermann 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 10-June 10

Posted 10 June 2010 - 04:27 AM

I'm working through the exercise for chapter 6. The initial scenario on page 170 indicates that a positive test was returned for lizard flu. The question posed is what are the probability you have lizard flu given you tested positive. The first piece of data is that there is a 90% probability of lizard flu given a positive test and 9% given a negative test. Page 172 suggests that given a positive test, the probability of having lizard flu is less than 75%. After stepping through the methodology, adding new information about lizard flu (1% of the population has the lizard flu) there is the lizard flu diagnostic test that provides for "the probability that you have it, given that you tested negative" to calculate a 9% chance of having the lizard flu. Then on page 186 to change your base rate it says "9% of people who tested positively have lizard flu."

Can I get a little help understanding how the initial question of what is the actual probability you have lizard flu given you tested positive (p. 170) turned to the probability you have lizard flu given you tested negative (p. 180) concludes that 9% of people who tested positively have lizard flu (186)?

Thanks!


0

#2 User is offline   blackermann 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 10-June 10

Posted 12 June 2010 - 05:26 AM

I went through the Bayesian exercise again and all I can figure is that the formula at the bottom of p. 180 is worded incorrectly. It should read "The probability that you have it, given you tested positive" rather than "The probability that you have it, given you tested negative." For this formula, every instance of the word "negative" should be replaced with "positive."

We see the same formula again on page 187 but in this case it is correctly worded "The probablity that you have it given you tested negative."
0

#3 User is offline   komyong 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 10-October 10

Posted 10 October 2010 - 01:04 PM

QUOTE (blackermann @ Jun 10 2010, 04:27 AM) <{POST_SNAPBACK}>
I'm working through the exercise for chapter 6. The initial scenario on page 170 indicates that a positive test was returned for lizard flu. The question posed is what are the probability you have lizard flu given you tested positive. The first piece of data is that there is a 90% probability of lizard flu given a positive test and 9% given a negative test. Page 172 suggests that given a positive test, the probability of having lizard flu is less than 75%. After stepping through the methodology, adding new information about lizard flu (1% of the population has the lizard flu) there is the lizard flu diagnostic test that provides for "the probability that you have it, given that you tested negative" to calculate a 9% chance of having the lizard flu. Then on page 186 to change your base rate it says "9% of people who tested positively have lizard flu."

Can I get a little help understanding how the initial question of what is the actual probability you have lizard flu given you tested positive (p. 170) turned to the probability you have lizard flu given you tested negative (p. 180) concludes that 9% of people who tested positively have lizard flu (186)?

Thanks!


0

#4 User is offline   sonia1s2o 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 19-September 11

Posted 19 September 2011 - 11:54 PM

Hello,

I too had a similar question. Any answers to it?

Thanks,
Sonia
0

#5 User is offline   bowie101@email.com 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 30-December 12

Posted 30 December 2012 - 08:05 AM

http://oreilly.com/c...n=9780596153946 <--errata for the book

Note from the Author or Editor:
There is an error here. The math is correct -- there is a 9% chance that you have lizard flu. But the equation itself is incorrectly worded. It should be: The probability that you have it given you tested positive = # people who have it and test positive / (# who have it and test positive + # who don't have it and test positive) The error should be fixed on both p 179 and 180.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users