CINXE.COM
Sensitivity and specificity - RationalWiki
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"/> <title>Sensitivity and specificity - RationalWiki</title> <script>document.documentElement.className="client-js";RLCONF={"wgBreakFrames":!1,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"Z74CZ5v6Q4WZCm0ABXfD8wAAAIE","wgCSPNonce":!1,"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"Sensitivity_and_specificity","wgTitle":"Sensitivity and specificity","wgCurRevisionId":2695285,"wgRevisionId":2695285,"wgArticleId":106030,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Pages using DynamicPageList parser function","Bronze-level articles","Science","Statistics"],"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Sensitivity_and_specificity","wgRelevantArticleId":106030,"wgIsProbablyEditable":!0, "wgRelevantPageIsProbablyEditable":!0,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgMediaViewerOnClick":!0,"wgMediaViewerEnabledByDefault":!0};RLSTATE={"site.styles":"ready","noscript":"ready","user.styles":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","skins.vector.styles.legacy":"ready","mediawiki.toc.styles":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","site","mediawiki.page.startup","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","ext.gadget.ReferenceTooltips","mmv.head","mmv.bootstrap.autostart"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.implement("user.options@1hzgi",function($,jQuery,require,module){/*@nomin*/mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); });});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cmediawiki.toc.styles%7Cskins.vector.styles.legacy&only=styles&skin=vector"/> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""/> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector"/> <meta name="generator" content="MediaWiki 1.35.6"/> <meta name="description" content="Sensitivity and specificity are statistical measures of the sensitivity of a test — or how well it works in reality. These measures are important because the effectiveness of a test may actually be very counter-intuitive. So while common sense says a positive HIV blood test or a shop-lifting alarm going off is sure to be right, the reality is that it may actually be wrong most of the time."/> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Sensitivity_and_specificity&action=edit"/> <link rel="edit" title="Edit" href="/w/index.php?title=Sensitivity_and_specificity&action=edit"/> <link rel="shortcut icon" href="/favicon.ico"/> <link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="RationalWiki (en)"/> <link rel="EditURI" type="application/rsd+xml" href="https://rationalwiki.org/w/api.php?action=rsd"/> <link rel="license" href="/wiki/RationalWiki:Copyrights"/> <link rel="alternate" type="application/atom+xml" title="RationalWiki Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"/> <meta property="og:type" content="article"/> <meta property="og:site_name" content="RationalWiki"/> <meta property="og:title" content="Sensitivity and specificity"/> <meta property="og:description" content="Sensitivity and specificity are statistical measures of the sensitivity of a test — or how well it works in reality. These measures are important because the effectiveness of a test may actually be very counter-intuitive. So while common sense says a positive HIV blood test or a shop-lifting alarm going off is sure to be right, the reality is that it may actually be wrong most of the time."/> <meta property="og:url" content="https://rationalwiki.org/wiki/Sensitivity_and_specificity"/> <!--[if lt IE 9]><script src="/w/resources/lib/html5shiv/html5shiv.js"></script><![endif]--> </head> <body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Sensitivity_and_specificity rootpage-Sensitivity_and_specificity skin-vector action-view minerva--history-page-action-enabled skin-vector-legacy"> <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="siteNotice" class="mw-body-content"><div id="localNotice" lang="en" dir="ltr"><div id="2025_RationalWiki_.27Oregon_Plan.27_Fundraiser"> <table role="presentation" style="margin: 1em auto 1em auto; width: 100%;"> <tbody><tr> <td style="width: 60%; text-align: left;"><big><center><b><a href="/wiki/RationalWiki:Fundraiser" title="RationalWiki:Fundraiser">2025 RationalWiki 'Oregon Plan' Fundraiser</a></b></center></big> <p><b>There is no RationalWiki without you.</b> We are a small non-profit with no staff—we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but <a href="/wiki/RationalWiki:Fundraiser" title="RationalWiki:Fundraiser">we believe we play an important role in defending truth and objectivity</a>. </p> </td> <td style="width: 40%; text-align: center;"><big><b><a href="/wiki/RationalWiki:Fundraiser" title="RationalWiki:Fundraiser">Fighting pseudoscience isn't free</a>.<br />We are 100% user-supported! Help and donate $5, $10, $20 or whatever you can today with <img alt="PayPal Logo.png" src="/w/images/thumb/f/fb/PayPal_Logo.png/61px-PayPal_Logo.png" decoding="async" width="61" height="17" srcset="/w/images/thumb/f/fb/PayPal_Logo.png/92px-PayPal_Logo.png 1.5x, /w/images/thumb/f/fb/PayPal_Logo.png/122px-PayPal_Logo.png 2x" data-file-width="883" data-file-height="244" />!</b></big><a href="https://www.paypal.com/donate/?hosted_button_id=67BJMQC85CUFW" title="Donate via PayPal" rel="nofollow"><img alt="" src="/w/images/thumb/1/10/DonateButton.png/100px-DonateButton.png" decoding="async" width="100" height="32" srcset="/w/images/thumb/1/10/DonateButton.png/150px-DonateButton.png 1.5x, /w/images/thumb/1/10/DonateButton.png/200px-DonateButton.png 2x" data-file-width="759" data-file-height="241" /></a> </td></tr></tbody></table> <div role="progressbar" style="width: 100%; border: 2px solid black; position: relative; padding: 2px; border-radius: 18px;"> <a href="/wiki/RationalWiki:Fundraiser" title="RationalWiki:Fundraiser"><span style="text-shadow: -1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF; color: black; font-size: 125%; position: absolute; left: 0%; margin: 0 0 0 10px"><b>Donations so far: $2973.89</b></span></a><a href="/wiki/RationalWiki:Fundraiser" title="RationalWiki:Fundraiser"><span style="text-shadow: -1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF; color: black; font-size: 125%; position: absolute; right: 0%; margin: 0 10px 0 0"><b>Goal: $10000</b></span></a><div style="height: 28px; border-radius: 14px; background-color: hsl(23.79112,100%,45%); width: 29.7389%;"></div> </div></div></div></div> <div class="mw-indicators mw-body-content"> <div id="mw-indicator-bronze" class="mw-indicator"><a href="/wiki/Category:Bronze-level_articles" title="Category:Bronze-level articles"><img alt="Bronze-level article" src="/w/images/thumb/3/3d/Copperbrain.png/25px-Copperbrain.png" decoding="async" width="25" height="25" style="vertical-align: baseline" srcset="/w/images/thumb/3/3d/Copperbrain.png/38px-Copperbrain.png 1.5x, /w/images/thumb/3/3d/Copperbrain.png/50px-Copperbrain.png 2x" data-file-width="800" data-file-height="800" /></a></div> </div> <h1 id="firstHeading" class="firstHeading" lang="en">Sensitivity and specificity</h1> <div id="bodyContent" class="mw-body-content"> <div id="siteSub" class="noprint">From RationalWiki</div> <div id="contentSub"></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="infobox" cellpadding="1" cellspacing="0" style="float: right; margin: 0 0 0.5em 0.5em; text-align:left; border: 1px solid #00B0F0; width:175px;"> <tbody><tr> <td style="font-size: 95%; text-align:center; color:white; background-color:#00B0F0"><b>Poetry of reality</b><br /><a href="/wiki/Science" title="Science"><font size="5" color="white"><b>Science</b></font></a> </td></tr> <tr> <td style="background-color:#CCEFFC;" align="center"><a href="/wiki/Category:Science" title="Category:Science"><img alt="Icon science.svg" src="/w/images/thumb/a/ab/Icon_science.svg/100px-Icon_science.svg.png" decoding="async" width="100" height="100" srcset="/w/images/thumb/a/ab/Icon_science.svg/150px-Icon_science.svg.png 1.5x, /w/images/thumb/a/ab/Icon_science.svg/200px-Icon_science.svg.png 2x" data-file-width="200" data-file-height="200" /></a> </td></tr> <tr> <td style="font-size: 95%; color:white; background-color:#00B0F0; text-align:center;"><b>We must know. <br /> We will know.</b> </td></tr> <tr> <td style="font-size: 95%; background-color:#CCEFFC;"> <ul><li><a href="/wiki/Physics" title="Physics">Physics</a></li> <li><a href="/wiki/Chemistry" title="Chemistry">Chemistry</a></li> <li><a href="/wiki/Biology" title="Biology">Biology</a></li> <li><a href="/wiki/Astronomy" title="Astronomy">Astronomy</a></li> <li><a href="/wiki/Geology" title="Geology">Geology</a></li></ul> </td></tr> <tr> <td style="font-size: 95%; color:white; background-color:#00B0F0; text-align:center;"><b>A view from the<br />shoulders of giants.</b> </td></tr> <tr> <td style="font-size: 95%; background-color:#CCEFFC;"> <ul><li><a href="/wiki/Monkey_typewriter_theory" title="Monkey typewriter theory">Monkey typewriter theory</a></li> <li><a href="/wiki/Antibiotic-resistant_bacteria" title="Antibiotic-resistant bacteria">Antibiotic-resistant bacteria</a></li> <li><a href="/wiki/Herd_immunity" title="Herd immunity">Herd immunity</a></li> <li><a href="/wiki/Emergence" title="Emergence">Emergence</a></li> <li><a href="/wiki/God_of_the_gaps" title="God of the gaps">God of the gaps</a></li> <li><a href="/wiki/Meta-analysis" title="Meta-analysis">Meta-analysis</a></li> <li><a href="/wiki/The_dose_makes_the_poison" title="The dose makes the poison">The dose makes the poison</a></li> <li><a href="/wiki/Unguided_evolution" title="Unguided evolution">Unguided evolution</a></li></ul> <div class="vte plainlinks" style="font-size:smaller; text-align:center;"><a href="/wiki/Template:Sciencenav" title="Template:Sciencenav">v</a> - <a href="/wiki/Template_talk:Sciencenav" title="Template talk:Sciencenav">t</a> - <a rel="nofollow" class="external text" href="https://rationalwiki.org/w/index.php?title=Template:Sciencenav&action=edit">e</a></div> </td></tr></tbody></table> <p><b>Sensitivity and specificity</b> are <a href="/wiki/Statistic" class="mw-redirect" title="Statistic">statistical</a> measures of the sensitivity of a test — or how well it works in <a href="/wiki/Reality" title="Reality">reality</a>. These measures are important because the effectiveness of a test may actually be very counter-intuitive. So while <a href="/wiki/Common_sense" title="Common sense">common sense</a> says a positive <a href="/wiki/HIV" class="mw-redirect" title="HIV">HIV</a> blood test or a shop-lifting alarm going off is sure to be right, the reality is that it may actually be <i>wrong</i> most of the time. </p> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Definitions"><span class="tocnumber">1</span> <span class="toctext">Definitions</span></a></li> <li class="toclevel-1 tocsection-2"><a href="#Counter-intuitive_false_positives"><span class="tocnumber">2</span> <span class="toctext">Counter-intuitive false positives</span></a> <ul> <li class="toclevel-2 tocsection-3"><a href="#Example"><span class="tocnumber">2.1</span> <span class="toctext">Example</span></a></li> <li class="toclevel-2 tocsection-4"><a href="#Dangers"><span class="tocnumber">2.2</span> <span class="toctext">Dangers</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-5"><a href="#Relationship_to_statistics"><span class="tocnumber">3</span> <span class="toctext">Relationship to statistics</span></a> <ul> <li class="toclevel-2 tocsection-6"><a href="#Log_odds"><span class="tocnumber">3.1</span> <span class="toctext">Log odds</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-7"><a href="#Visualisation"><span class="tocnumber">4</span> <span class="toctext">Visualisation</span></a></li> <li class="toclevel-1 tocsection-8"><a href="#See_also"><span class="tocnumber">5</span> <span class="toctext">See also</span></a></li> <li class="toclevel-1 tocsection-9"><a href="#External_links"><span class="tocnumber">6</span> <span class="toctext">External links</span></a></li> <li class="toclevel-1 tocsection-10"><a href="#References"><span class="tocnumber">7</span> <span class="toctext">References</span></a></li> </ul> </div> <h2><span class="mw-headline" id="Definitions">Definitions</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=1" title="Edit section: Definitions">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <ul><li><b>Sensitivity</b> is essentially how good a test is at finding something if it's there. It is a measure of how often the test will correctly identify a positive among all positive by the <a href="/wiki/Gold_standard" title="Gold standard">gold standard</a> test. For example, a blood test for a <a href="/wiki/Virus" title="Virus">virus</a> may have sensitivity as high as 99% or more — meaning that for every 100 infected people testing, 99 or more of them will be correctly identified. This is a good figure to take note of, but doesn't necessarily reflect a test's true effectiveness, as will become apparent.</li></ul> <ul><li><b>Specificity</b> is a measure of how accurate a test is against false positives. A sniffer <a href="/wiki/Dog" class="mw-redirect" title="Dog">dog</a> looking for <a href="/wiki/Drugs" class="mw-redirect" title="Drugs">drugs</a> would have a <i>low</i> specificity if it is often led astray by things that aren't drugs — cosmetics or food, for example. Specificity can be considered as the percentage of times a test will correctly identify a negative result. Again, this can be 99% or more for good tests, although a particularly unruly and easily distracted sniffer dog would be much, much lower.</li></ul> <p>Both of these figures and the rates of false positives and false negatives are established against a "gold standard". This is a test that is unambiguous or so close to unambiguous that it makes no difference. In the sniffer dog case, this could be a through examination by a trained human police officer; for medical diagnosis, it can be further and more intensive tests and observations such as biopsies. These "gold standard" tests may be too costly or time-consuming to carry out all the time — hence why you do other tests that may not be 100% effective. </p><p>These stats may also be subject to what is known as a "window period" — that is, a time when the ability for the test to be successful is either significantly better or much more diminished. The HIV anti-body blood test is a common example, with a window period of up to three months where it will not work, while nucleic acid testing has a window period of around 12 days. </p><p>Sensitivity and specificity can be easily confused with positive predictive value (PPV) and negative predictive value (NPV), which indicate the proportion of positive tests that are true positives and the proportion of negative tests that are true negatives, respectively. Sensitivity and specificity are useful in evaluating the value of a test applied to many, while PPV and NPV are useful to assess the merit of a specific test result. </p> <h2><span class="mw-headline" id="Counter-intuitive_false_positives">Counter-intuitive false positives</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=2" title="Edit section: Counter-intuitive false positives">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>High sensitivity and specificity may be good, but as anyone who has been buzzed at airport security <i>without</i> carrying a bomb will tell you, they produce a disproportionate number of false positives — their effectiveness is counter-intuitively low. This is because the natural rate of positives (according to a gold standard described above) has a massive effect on the percentage of false positives and a test's apparent effectiveness. In short, if this natural rate is high, the test appears better, but if the rate is low, the number of false positives may well exceed the number of real positives — making the test almost useless. A sensitivity of 100% can be achieved by assuming everyone has a bomb, while a specificity of 100% follows from assuming no one has a bomb. </p> <h3><span class="mw-headline" id="Example">Example</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=3" title="Edit section: Example">edit</a><span class="mw-editsection-bracket">]</span></span></h3> <p>The concept is best illustrated and described by an example. Imagine a book shop installing an anti-theft device — a scanner at the entrance that looks for magnetic tags on stolen goods. Out of all the potential thieves that would walk through the scanner with stolen goods, the scanner will buzz 99.9% of the time (this is the <b>sensitivity</b>). Only 1 in a 1000 thieves will ever get away with it, which is quite good. Every so often, it will buzz someone who is innocent; they didn't deactivate a tag, their phone set off the scanner, it just went crazy, or for whatever reason. Assume a specificity that has a similar level of 99.9% - for every 1000 innocent people walking through the scanner, it will buzz once (this is <b>specificity</b>). </p><p>If the shoplifting rate is reasonably low, it can be assumed that sensitivity is pretty much 100% - so every shop-lifter will be caught. But immediately, it becomes apparent that not everyone is out to steal goods, and this must be factored in to the evaluation of the scanner's performance! What if the shop is in a high crime area? 1 in every 100 visitors to the store tries to steal something; that's 10 in 1000. As the sensitivity is above 99%, all 10 thieves will be caught, but out of those innocent thousand or so, one will trigger a false positive; 10 sticky fingered bandits and 1 innocent bystander will set off the alarm. It can be seen that this 99.9% sensitive test is actually only, really, ~90% accurate when it comes to the results it produces. </p><p>If the background rate was <i>lower</i>, the test becomes more ineffective - if 1 in 1000 customers are actually shop-lifters, then the rate of true positives is equal to the rate of false positives. The alarm will still buzz for every 1 in 1000 people innocently and with near certainty grab the thief. In this case, only 50% of the alarms are real. If the rate of shop-lifting is even lower, if it is less than the false positive rate, it can easily be the case that the vast majority of alarms are, in fact, false positives. This is usually the case in airport security where, despite scaremongering, terrorism is remarkably rare — and the vast majority of alarms will be due to keys, belt buckles, and steel capped boots and very few, if any, will be due to weapons. This doesn't negate the deterrent effect of such devices, but it does mean their practical use "as intended" is significantly lower (see <a href="/wiki/Security_theatre" class="mw-redirect" title="Security theatre">Security theatre</a>). </p> <h3><span class="mw-headline" id="Dangers">Dangers</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=4" title="Edit section: Dangers">edit</a><span class="mw-editsection-bracket">]</span></span></h3> <p>The problem is that this is very, very counter-intuitive. Not everyone will be able to realise and calculate the real effectiveness of a test; whether it be a <a href="/wiki/Medical" class="mw-redirect" title="Medical">medical</a> diagnosis or a forensic instrument. It is easy to determine the sensitivity of a test — they're often evaluated in controlled conditions that make this easier. Often products and procedures will be marketed on just their sensitivity alone, so their rate of false positives may be high and no one is aware of it. This problem has also made its way into some political or crime policy, and as a result more innocent than guilty people can be adversely affected. </p><p>Often, tests are only improved by working on their <i>sensitivity</i> alone. But as was shown in the example above, when the background rate of positives is low, the sensitivity is almost meaningless. Some may prefer the increased number of false positives, however, as they can prompt people to go for additional or more thorough testing. This is usually the case with medical diagnosis. </p><p>It is also important to remember that for every testing application, there is an optimal point (which varies with the specifics of the application) beyond which sensitivity and specificity become a tradeoff, and neither can be increased without sacrificing the other. Very few, if any, tests applied to subjects as complex as <a href="/wiki/Human_being" class="mw-redirect" title="Human being">human beings</a> can ever exclude <i>both</i> false positives and false negatives to a high degree of completeness. </p><p>This can lead to strong value conflicts. Consider a test which identifies sexual offenders for registry. Few would contest the argument that a low rate of false negatives is desirable; equally few would contest the argument that a low rate of false positives is desirable. Once such a test passes its optimal point, though, registering more genuine sex offenders entails branding more innocent people with the label. </p><p>Examples of where this can apply are also numerous. Airport security, medical testing, computer security, spam filtering, psychological evaluation, parole evaluation, anti-bacterial products… all these areas of life are at the mercy of the problems posed by not correctly understanding sensitivity and specificity and how they relate to real world results. </p> <h2><span class="mw-headline" id="Relationship_to_statistics">Relationship to statistics</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=5" title="Edit section: Relationship to statistics">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>In statistical terminology, specificity and sensitivity are related to the main types of error in <a href="/wiki/Statistical_significance" title="Statistical significance">hypothesis testing</a>. The sensitivity of a test controls the rate of false negatives, which are known as <b>Type II</b> errors. The specificity, on the other hand, controls the rate of false positives, known as <b>Type I</b> errors. </p> <h3><span class="mw-headline" id="Log_odds">Log odds</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=6" title="Edit section: Log odds">edit</a><span class="mw-editsection-bracket">]</span></span></h3> <p>The calculations can be simplified, to a degree, by expressing the odds as "log odds", that is, a formulation of probability that works logarithmically — like the decibel scale. Repeating a test multiple times allows you to increase your confidence interval by a certain amount (the likelihood ratio), and expressed logarithmically — this is akin to simply adding the likelihood ratio each time the test is taken rather than multiplying and having to repeat the calculations multiple times.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup> </p><p>In the example given by Brian Lee and Jacob Sanders, a hypothetical test correctly diagnoses (<b>sensitivity</b>) 99% of the time and gives a false positive (<b>specificity</b>) 3% of the time, with a background incidence of 1 in 10,000 — translated in real numbers as 1 correctly identified individual and 300 false positives for a single test. The application of multiple tests is pretty much <a href="/wiki/Bayesian" title="Bayesian">Bayes' theorem</a> being applied repeatedly, known as an "update", as the probability is being updated based on new evidence or a new iteration of a test. This simple likelihood ratio works out as 33 (99/3), and 10 × log<sub>10</sub>(33) = 15.19. Each iteration of the test adds 15.19 to the log odds of a person being correctly diagnosed. </p> <ul><li>-40.00 dB = .01% (1 in 10,000)</li> <li>-40.00 dB + 15.19 dB = -24.81 dB,</li> <li>-24.81 dB + 15.19 dB = -9.62 dB.</li> <li>-9.62 dB + 15.19 dB = 5.57 dB = 78.3%</li></ul> <p>So we need three iterations of the test to reach 78.3% certainty. </p> <h2><span class="mw-headline" id="Visualisation">Visualisation</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=7" title="Edit section: Visualisation">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <div class="center"><div class="floatnone"><a href="/wiki/File:Selectivity.svg" class="image"><img alt="Selectivity.svg" src="/w/images/thumb/c/c9/Selectivity.svg/428px-Selectivity.svg.png" decoding="async" width="428" height="204" srcset="/w/images/thumb/c/c9/Selectivity.svg/642px-Selectivity.svg.png 1.5x, /w/images/thumb/c/c9/Selectivity.svg/856px-Selectivity.svg.png 2x" data-file-width="428" data-file-height="204" /></a></div></div> <p>Assume you want to locate all the blue dots in the above diagram. It makes sense to have a test that correctly identifies them as blue — imagine they represent people infected with a disease for example. The ones identified as such are grouped within the smaller, darker red circle. But the background incidence and the rate of false positives affects the true effectiveness of the test. On both diagrams, roughly 1 in 10 white spots are <i>incorrectly</i> grouped in with the blue — the false positives. On the left-hand side, the incidence of blue spots is low, so only 50% of those that pass the test and are grouped in the dark red circle are <i>actually blue</i>. On the right-hand diagram, even though the specificity and selectivity hasn't changed (1 in 10 white spots are incorrectly identified and almost all blue ones are) the relative incidence of false positives is much lower, and 85% of those passing the test have been correctly identified. </p> <h2><span class="mw-headline" id="See_also">See also</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=8" title="Edit section: See also">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <ul><li><a href="/wiki/Signal_detection_theory" title="Signal detection theory">Signal detection theory</a></li> <li><a href="/wiki/Bayesian" title="Bayesian">Bayesian</a></li> <li><a href="/wiki/Absence_of_evidence" title="Absence of evidence">Absence of evidence</a></li></ul> <h2><span class="mw-headline" id="External_links">External links</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=9" title="Edit section: External links">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <ul><li><a rel="nofollow" class="external text" href="http://www.fallacyfiles.org/baserate.html">The Fallacy Files - The Base Rate Fallacy</a></li></ul> <h2><span class="mw-headline" id="References">References</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit&section=10" title="Edit section: References">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <div class="references-small" style="font-size:90%;"> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/34547557/log-probability.pdf">Log Odds -Brian Lee, Jacob Sanders</a></span> </li> </ol></div></div> <!-- NewPP limit report Parsed by apache5 Cached time: 20250225052042 Cache expiry: 86400 Dynamic content: false Complications: [] CPU time usage: 0.036 seconds Real time usage: 0.057 seconds Preprocessor visited node count: 206/1000000 Post‐expand include size: 4710/2097152 bytes Template argument size: 1226/2097152 bytes Highest expansion depth: 10/40 Expensive parser function count: 0/100 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 420/5000000 bytes --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 40.099 1 -total 72.23% 28.965 1 Template:Sciencenav 66.08% 26.499 1 Template:Navsidebar 53.46% 21.437 1 Template:Navsidebar2 47.70% 19.126 1 Template:Randomarticles 18.07% 7.245 1 Template:Bronze 6.91% 2.770 1 Template:Reflist 5.29% 2.120 1 Template:Vte 3.92% 1.571 1 Template:Extension_DPL --> <!-- Saved in parser cache with key rationalwiki:pcache:idhash:106030-0!canonical and timestamp 20250225052042 and revision id 2695285 --> </div></div><div class="printfooter">Retrieved from "<a dir="ltr" href="https://rationalwiki.org/w/index.php?title=Sensitivity_and_specificity&oldid=2695285">https://rationalwiki.org/w/index.php?title=Sensitivity_and_specificity&oldid=2695285</a>"</div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Bronze-level_articles" title="Category:Bronze-level articles">Bronze-level articles</a></li><li><a href="/wiki/Category:Science" title="Category:Science">Science</a></li><li><a href="/wiki/Category:Statistics" title="Category:Statistics">Statistics</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden category: <ul><li><a href="/wiki/Category:Pages_using_DynamicPageList_parser_function" title="Category:Pages using DynamicPageList parser function">Pages using DynamicPageList parser function</a></li></ul></div></div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-personal" class="vector-menu" aria-labelledby="p-personal-label" role="navigation" > <h3 id="p-personal-label"> <span>Personal tools</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="pt-anonuserpage">Not logged in</li><li id="pt-anontalk"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n">Talk</a></li><li id="pt-anoncontribs"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y">Contributions</a></li><li id="pt-createaccount"><a href="/w/index.php?title=Special:CreateAccount&returnto=Sensitivity+and+specificity" title="You are encouraged to create an account and log in; however, it is not mandatory">Create account</a></li><li id="pt-login"><a href="/w/index.php?title=Special:UserLogin&returnto=Sensitivity+and+specificity" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li></ul> </div> </nav> <div id="left-navigation"> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-namespaces" class="vector-menu vector-menu-tabs vectorTabs" aria-labelledby="p-namespaces-label" role="navigation" > <h3 id="p-namespaces-label"> <span>Namespaces</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="ca-nstab-main" class="selected"><a href="/wiki/Sensitivity_and_specificity" title="View the content page [c]" accesskey="c">Page</a></li><li id="ca-talk"><a href="/wiki/Talk:Sensitivity_and_specificity" rel="discussion" title="Discussion about the content page [t]" accesskey="t">Talk</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-variants" class="vector-menu-empty emptyPortlet vector-menu vector-menu-dropdown vectorMenu" aria-labelledby="p-variants-label" role="navigation" > <input type="checkbox" class="vector-menu-checkbox vectorMenuCheckbox" aria-labelledby="p-variants-label" /> <h3 id="p-variants-label"> <span>Variants</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="menu vector-menu-content-list"></ul> </div> </nav> </div> <div id="right-navigation"> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-views" class="vector-menu vector-menu-tabs vectorTabs" aria-labelledby="p-views-label" role="navigation" > <h3 id="p-views-label"> <span>Views</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="ca-view" class="collapsible selected"><a href="/wiki/Sensitivity_and_specificity">Read</a></li><li id="ca-edit" class="collapsible"><a href="/w/index.php?title=Sensitivity_and_specificity&action=edit" title="Edit this page [e]" accesskey="e">Edit</a></li><li id="ca-history" class="collapsible"><a href="/w/index.php?title=Sensitivity_and_specificity&action=history" title="Past revisions of this page [h]" accesskey="h">Fossil record</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-cactions" class="vector-menu-empty emptyPortlet vector-menu vector-menu-dropdown vectorMenu" aria-labelledby="p-cactions-label" role="navigation" > <input type="checkbox" class="vector-menu-checkbox vectorMenuCheckbox" aria-labelledby="p-cactions-label" /> <h3 id="p-cactions-label"> <span>More</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="menu vector-menu-content-list"></ul> </div> </nav> <div id="p-search" role="search"> <h3 > <label for="searchInput">Search</label> </h3> <form action="/w/index.php" id="searchform"> <div id="simpleSearch"> <input type="search" name="search" placeholder="Search RationalWiki" title="Search RationalWiki [f]" accesskey="f" id="searchInput"/> <input type="hidden" name="title" value="Special:Search"> <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton mw-fallbackSearchButton"/> <input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchButton" class="searchButton"/> </div> </form> </div> </div> </div> <div id="mw-panel"> <div id="p-logo" role="banner"> <a title="Visit the main page" class="mw-wiki-logo" href="/wiki/Main_Page"></a> </div> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-navigation" class="vector-menu vector-menu-portal portal portal-first" aria-labelledby="p-navigation-label" role="navigation" > <h3 id="p-navigation-label"> <span>Navigation</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-mainpage-description"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li><li id="n-recentchanges"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li><li id="n-randompage"><a href="/wiki/Special:Random" title="Load a random mainspace article [x]" accesskey="x">Random page</a></li><li id="n-New-pages"><a href="/wiki/Special:NewPages">New pages</a></li><li id="n-All-logs"><a href="/wiki/Special:Log">All logs</a></li><li id="n-help"><a href="/wiki/Help:Contents" title="RTFM">Help</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-support" class="vector-menu vector-menu-portal portal" aria-labelledby="p-support-label" role="navigation" > <h3 id="p-support-label"> <span>Support</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-Donate"><a href="/wiki/RationalWiki:Site_support">Donate</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-community" class="vector-menu vector-menu-portal portal" aria-labelledby="p-community-label" role="navigation" > <h3 id="p-community-label"> <span>Community</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-Saloon-bar"><a href="/wiki/RationalWiki:Saloon_bar">Saloon bar</a></li><li id="n-To-do-list"><a href="/wiki/RationalWiki:To_do_list">To do list</a></li><li id="n-What-is-going-on.3F"><a href="/wiki/WIGO">What is going on?</a></li><li id="n-Best-of-RationalWiki"><a href="/wiki/RationalWiki:Contents">Best of RationalWiki</a></li><li id="n-About-RationalWiki"><a href="/wiki/RationalWiki">About RationalWiki</a></li><li id="n-Technical-support"><a href="/wiki/RationalWiki:Technical_support">Technical support</a></li><li id="n-Mod-noticeboard"><a href="/wiki/RationalWiki_talk:All_things_in_moderation">Mod noticeboard</a></li><li id="n-RMF-noticeboard"><a href="/wiki/RationalWiki_talk:RationalMedia_Foundation">RMF noticeboard</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-Social media" class="vector-menu vector-menu-portal portal" aria-labelledby="p-Social media-label" role="navigation" > <h3 id="p-Social media-label"> <span>Social media</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-Twitter"><a href="https://twitter.com/RationalWiki" rel="nofollow">Twitter</a></li><li id="n-Mastodon"><a href="https://mstdn.social/@rationalwiki" rel="nofollow">Mastodon</a></li><li id="n-Facebook"><a href="https://www.facebook.com/pages/Rationalwiki/226614404019306" rel="nofollow">Facebook</a></li><li id="n-Discord"><a href="/wiki/RationalWiki:Discord">Discord</a></li><li id="n-Reddit"><a href="/wiki/RationalWiki:Reddit">Reddit</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-tb" class="vector-menu vector-menu-portal portal" aria-labelledby="p-tb-label" role="navigation" > <h3 id="p-tb-label"> <span>Tools</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="t-whatlinkshere"><a href="/wiki/Special:WhatLinksHere/Sensitivity_and_specificity" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li><li id="t-recentchangeslinked"><a href="/wiki/Special:RecentChangesLinked/Sensitivity_and_specificity" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li><li id="t-specialpages"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li><li id="t-print"><a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li><li id="t-permalink"><a href="/w/index.php?title=Sensitivity_and_specificity&oldid=2695285" title="Permanent link to this revision of the page">Permanent link</a></li><li id="t-info"><a href="/w/index.php?title=Sensitivity_and_specificity&action=info" title="More information about this page">Page information</a></li></ul> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" role="contentinfo" > <ul id="footer-info" > <li id="footer-info-lastmod"> This page was last edited on 17 November 2024, at 05:15.</li> <li id="footer-info-copyright">Unless explicitly noted otherwise, all content licensed as indicated by <a name="Copyright" href="//rationalwiki.org/wiki/RationalWiki:Copyrights">RationalWiki:Copyrights</a>. <br> For concerns on copyright infringement please see: <a name="Copyright infringement" href="//rationalwiki.org/wiki/RationalWiki:Copyright_violations">RationalWiki:Copyright violations</a></li> </ul> <ul id="footer-places" > <li id="footer-places-privacy"><a href="/wiki/RationalWiki:Privacy_policy" title="RationalWiki:Privacy policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/RationalWiki:About" class="mw-redirect" title="RationalWiki:About">About RationalWiki</a></li> <li id="footer-places-disclaimer"><a href="/wiki/RationalWiki:General_disclaimer" title="RationalWiki:General disclaimer">Disclaimers</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://creativecommons.org/licenses/by-sa/3.0/"><img src="/w/88x31.png" alt="CC-BY-SA 3.0, or any later version" width="88" height="31" loading="lazy"/></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/"><img src="/w/resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="/w/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /w/resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31" loading="lazy"/></a></li> </ul> <div style="clear: both;"></div> </footer> <script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.036","walltime":"0.057","ppvisitednodes":{"value":206,"limit":1000000},"postexpandincludesize":{"value":4710,"limit":2097152},"templateargumentsize":{"value":1226,"limit":2097152},"expansiondepth":{"value":10,"limit":40},"expensivefunctioncount":{"value":0,"limit":100},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":420,"limit":5000000},"timingprofile":["100.00% 40.099 1 -total"," 72.23% 28.965 1 Template:Sciencenav"," 66.08% 26.499 1 Template:Navsidebar"," 53.46% 21.437 1 Template:Navsidebar2"," 47.70% 19.126 1 Template:Randomarticles"," 18.07% 7.245 1 Template:Bronze"," 6.91% 2.770 1 Template:Reflist"," 5.29% 2.120 1 Template:Vte"," 3.92% 1.571 1 Template:Extension_DPL"]},"cachereport":{"origin":"apache5","timestamp":"20250225052042","ttl":86400,"transientcontent":false}}});mw.config.set({"wgBackendResponseTime":64,"wgHostname":"apache5"});});</script></body></html>