Editing 2545: Bayes' Theorem

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 18: Line 18:
 
|| Total || 1% || 99% || 100%
 
|| Total || 1% || 99% || 100%
 
|}
 
|}
βˆ’
For example, if a test has a 100% sensitivity (first line, all those affected receive a positive result) and a 99% specificity (second line, 1% of the unaffected also receive a positive result), the interpretation of a positive test depends on the prevalence of the disease in the population. In the example case, the prevalence is 0.1% (third column), so that when the test result is positive (1% of the tests, left column) the subject is actually unaffected nine times out of ten. Although this would be a very performant test, given the relative prevalences involved it will produce overwhelmingly false positives among all positive results. (But, in this example, all those told they are not in danger — almost a hundred times more individuals than test positive — are correctly notified.)
+
For example, if a test has a 100% sensitivity (first line, all those affected receive a positive result) and a 99% specificity (second line, 1% of the unaffected also receive a positive result), the interpretation of a positive test depends on the prevalence of the disease in the population. In the example case, the prevalence is 0.1% (third column), so that when the test result is positive (1% of the tests, left column) the subject is actually unaffected nine time out of ten. Although this would be a very performant test, given the relative prevalences involved it will produce overwhelmingly false positives among all positive results. (But, in this example, all those told they are not in danger — almost a hundred times more individuals than test positive — are correctly notified.)
  
 
For this same example, the Bayesian formula gives :  
 
For this same example, the Bayesian formula gives :  
Line 25: Line 25:
  
 
In this comic, a teacher is presenting a problem which the students are supposed to use Bayes' theorem to solve. However, the off-panel student knows that they are studying Bayes' theorem, so they use that prior knowledge to guess the usual answer to such problems. The punch line is the caption - The student doesn't need to do the calculation because they're familiar with questions involving Bayes' theorem and how they often present the counterintuitive result to illustrate the importance of prevalence to the calculation.
 
In this comic, a teacher is presenting a problem which the students are supposed to use Bayes' theorem to solve. However, the off-panel student knows that they are studying Bayes' theorem, so they use that prior knowledge to guess the usual answer to such problems. The punch line is the caption - The student doesn't need to do the calculation because they're familiar with questions involving Bayes' theorem and how they often present the counterintuitive result to illustrate the importance of prevalence to the calculation.
 +
 +
There is perhaps also a self-referential situation here where the student has updated their prior probabilities a number of times for whether the answer was "Yes" to a question involving Bayes' Theorem. If their method of answering "Yes" to every such question has succeeded every time before then by Bayes' theorem they will have a lot of justification to continue to do until they start getting it wrong. The prevalence of Bayes Theorem questions that require the answer "No" might be small enough that this doesn't happen in any small number of times and so they learn nothing of the false-positive rate until that point in time. This could be interpreted as a criticism of Bayesian Statistics which may treat a judgement as well justified (e.g. getting the question right) despite lacking a clear understanding of mechanism (e.g. basing your answer to the question on the numbers provided).
  
 
The title text refers to the mathematical definition of Bayes' theorem: P(A | B) = P(B|A) * P(A) / P(B). Here, P(A|B) represents the probability of some event A occurring, given that B has occurred. This is often referred to as "the probability of A given B". It can be hard to remember if P(A|B) means probability of A given B, or if it's B given A, especially when talking about the probability of an earlier cause given a later effect. Randall's joke is based on this difficulty. Here P((B|A)|(A|B)) is meant to be read as the probability that you ''write'' (B|A) given that the correct expression is (A|B), which makes it the probability that you got the order of the notation mixed up.
 
The title text refers to the mathematical definition of Bayes' theorem: P(A | B) = P(B|A) * P(A) / P(B). Here, P(A|B) represents the probability of some event A occurring, given that B has occurred. This is often referred to as "the probability of A given B". It can be hard to remember if P(A|B) means probability of A given B, or if it's B given A, especially when talking about the probability of an earlier cause given a later effect. Randall's joke is based on this difficulty. Here P((B|A)|(A|B)) is meant to be read as the probability that you ''write'' (B|A) given that the correct expression is (A|B), which makes it the probability that you got the order of the notation mixed up.
Line 43: Line 45:
 
**Now this has [https://www.explainxkcd.com/wiki/index.php?title=2545%3A_Bayes%27_Theorem&type=revision&diff=221183&oldid=221182 been fixed] using the <nowiki><nowiki></nowiki> format.
 
**Now this has [https://www.explainxkcd.com/wiki/index.php?title=2545%3A_Bayes%27_Theorem&type=revision&diff=221183&oldid=221182 been fixed] using the <nowiki><nowiki></nowiki> format.
 
***Seems like [[Randall]] made an exploit on himself like [[Mrs. Roberts]] did in [[327: Exploits of a Mom]].
 
***Seems like [[Randall]] made an exploit on himself like [[Mrs. Roberts]] did in [[327: Exploits of a Mom]].
βˆ’
***This is extra funny since [[Blondie]] is both sometimes used for Mrs Roberts and for Miss Lenhart from this comic.
+
***This is extra funny since [[Blondie]], is both sometimes used for Mrs Roberts and for Miss Lenhart from this comic.
  
 
{{comic discussion}}
 
{{comic discussion}}

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)