﻿{"id":2382,"date":"2013-03-29T13:32:57","date_gmt":"2013-03-29T04:32:57","guid":{"rendered":"http:\/\/fujiitoshiki.com\/improvesociety\/?p=2382"},"modified":"2013-03-29T13:32:57","modified_gmt":"2013-03-29T04:32:57","slug":"how-to-calculate-sensitivity-specificity-positive-predictive-value-negative-predictive-value-positive-likelihood-ratio-and-negative-likelihood-ratio-and-their-95-confidence-interval-with-cross-ta","status":"publish","type":"post","link":"https:\/\/www.fujiitoshiki.com\/improvesociety\/?p=2382","title":{"rendered":"How to calculate sensitivity, specificity, positive predictive value, negative predictive value, positive likelihood ratio and negative likelihood ratio and their 95 % confidence interval with cross tabulation?"},"content":{"rendered":"<div class=\"theContentWrap-ccc\"><p>You can calculate 95 % confidence interval of probability as formula below. <\/p>\n<p><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+p+%5Cpm+1.96+%5Csqrt%7B%5Cfrac%7Bp%281+-+p%29%7D%7Bn%7D%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle p \\pm 1.96 \\sqrt{\\frac{p(1 - p)}{n}}' title='\\displaystyle p \\pm 1.96 \\sqrt{\\frac{p(1 - p)}{n}}' class='latex' \/><\/p>\n<\/p>\n<p>In this article, I&#8217;d like to describe how to calculate sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), positive likelihood ratio (LR+) and negative likelihood ratio (LR-) and their 95 % confidence interval with cross tabulation. <\/p>\n<table border=\"0\" align=\"left\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\">\u00a0<\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">TRUE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">FALSE<\/span><\/strong><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">POSITIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">a<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-family: georgia, palatino; font-size: small;\"><span style=\"line-height: 19px;\">b<\/span><\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">a + b<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><strong><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">NEGATIVE<\/span><\/strong><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">c<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino;\">d<\/span><\/td>\n<td style=\"background-color: #a9a9a9;\" align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">c + d<\/span><\/td>\n<\/tr>\n<tr style=\"background-color: #a9a9a9;\">\n<td style=\"background-color: #a9a9a9;\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">Marginal total<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">a + c<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">b + d<\/span><\/td>\n<td align=\"center\" valign=\"middle\"><span style=\"font-size: small; font-family: georgia, palatino; color: #ffffff;\">N<\/span>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Sensitivity, specificity, PPV, NPV, LR+ and LR- and their 95 % confidence interval are shown as following table. &#8216;Exp()&#8217; means exponential with Napier&#8217;s constant and &#8216;LN()&#8217; means natural logarithmic function, respectively. <\/p>\n<table dir=\"ltr\" border=\"0\" frame=\"void\" rules=\"none\">\n<tbody>\n<tr style=\"background-color: #a9a9a9;\">\n<td>\u00a0<\/td>\n<td><strong><span style=\"font-family: georgia, palatino; font-size: small; color: #ffffff;\">\u00a0Formula<\/span><\/strong><\/td>\n<td><strong><span style=\"font-family: georgia, palatino; font-size: small; color: #ffffff;\">95% Confidence Interval<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><span style=\"color: #ffffff;\"><strong><span style=\"font-family: georgia, palatino; font-size: small;\">Sensitivity<\/span><\/strong><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Ba%7D%7Ba+%2B+c%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{a}{a + c}' title='\\displaystyle \\frac{a}{a + c}' class='latex' \/><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+Sensitivity%5Cpm1.96%5Csqrt%7B%5Cfrac%7BSensitivity%281+-+Sensitivity%29%7D%7Ba+%2B+c%7D%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle Sensitivity\\pm1.96\\sqrt{\\frac{Sensitivity(1 - Sensitivity)}{a + c}}' title='\\displaystyle Sensitivity\\pm1.96\\sqrt{\\frac{Sensitivity(1 - Sensitivity)}{a + c}}' class='latex' \/><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><span style=\"color: #ffffff;\"><strong><span style=\"font-family: georgia, palatino; font-size: small;\">Specificity<\/span><\/strong><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Bd%7D%7Bb+%2B+d%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{d}{b + d}' title='\\displaystyle \\frac{d}{b + d}' class='latex' \/><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+Specificity%5Cpm1.96%5Csqrt%7B%5Cfrac%7BSpecificity%281+-+Specificity%29%7D%7Bb+%2B+d%7D%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle Specificity\\pm1.96\\sqrt{\\frac{Specificity(1 - Specificity)}{b + d}}' title='\\displaystyle Specificity\\pm1.96\\sqrt{\\frac{Specificity(1 - Specificity)}{b + d}}' class='latex' \/><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><span style=\"color: #ffffff;\"><strong><span style=\"font-family: georgia, palatino; font-size: small;\">PPV<\/span><\/strong><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Ba%7D%7Ba+%2B+b%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{a}{a + b}' title='\\displaystyle \\frac{a}{a + b}' class='latex' \/><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+PPV+%5Cpm+1.96%5Csqrt%7B%5Cfrac%7BPPV%281+-+PPV%29%7D%7Ba+%2B+b%7D%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle PPV \\pm 1.96\\sqrt{\\frac{PPV(1 - PPV)}{a + b}}' title='\\displaystyle PPV \\pm 1.96\\sqrt{\\frac{PPV(1 - PPV)}{a + b}}' class='latex' \/><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><span style=\"color: #ffffff;\"><strong><span style=\"font-family: georgia, palatino; font-size: small;\">NPV<\/span><\/strong><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Bd%7D%7Bc+%2B+d%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{d}{c + d}' title='\\displaystyle \\frac{d}{c + d}' class='latex' \/><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+NPV+%5Cpm+1.96%5Csqrt%7B%5Cfrac%7BNPV%281+-+NPV%29%7D%7Bc+%2B+d%7D%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle NPV \\pm 1.96\\sqrt{\\frac{NPV(1 - NPV)}{c + d}}' title='\\displaystyle NPV \\pm 1.96\\sqrt{\\frac{NPV(1 - NPV)}{c + d}}' class='latex' \/><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><span style=\"color: #ffffff;\"><strong><span style=\"font-family: georgia, palatino; font-size: small;\">LR+<\/span><\/strong><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Ba%7D%7Ba+%2B+c%7D%5Cbigg%2F%5Cfrac%7Bb%7D%7Bb+%2B+d%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{a}{a + c}\\bigg\/\\frac{b}{b + d}' title='\\displaystyle \\frac{a}{a + c}\\bigg\/\\frac{b}{b + d}' class='latex' \/><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+Exp+%5Cleft%5BLN%5Cleft%28+%5Cfrac%7BSensitivity%7D%7B1+-+Specificity%7D%5Cright%29%5Cpm1.96%5Cleft%28%5Cfrac%7B1+-+Sensitivity%7D%7Ba%7D+%2B+%5Cfrac%7BSpecificity%7D%7Bb%7D%5Cright%29+%5Cright%5D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle Exp \\left[LN\\left( \\frac{Sensitivity}{1 - Specificity}\\right)\\pm1.96\\left(\\frac{1 - Sensitivity}{a} + \\frac{Specificity}{b}\\right) \\right]' title='\\displaystyle Exp \\left[LN\\left( \\frac{Sensitivity}{1 - Specificity}\\right)\\pm1.96\\left(\\frac{1 - Sensitivity}{a} + \\frac{Specificity}{b}\\right) \\right]' class='latex' \/>\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\"><span style=\"color: #ffffff;\"><strong><span style=\"font-family: georgia, palatino; font-size: small;\">LR-<\/span><\/strong><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Bc%7D%7Ba+%2B+c%7D%5Cbigg%2F%5Cfrac%7Bd%7D%7Bb+%2B+d%7D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle \\frac{c}{a + c}\\bigg\/\\frac{d}{b + d}' title='\\displaystyle \\frac{c}{a + c}\\bigg\/\\frac{d}{b + d}' class='latex' \/><\/span><\/td>\n<td><span style=\"font-family: georgia, palatino; font-size: small;\"><img src='https:\/\/s0.wp.com\/latex.php?latex=%5Cdisplaystyle+Exp%5Cleft%5B+LN%5Cleft%28%5Cfrac%7B1+-+Sensitivity%7D%7BSpecificity%7D%5Cright%29+%5Cpm1.96%5Cleft%28+%5Cfrac%7BSensitivity%7D%7Bc%7D+%2B+%5Cfrac%7B1+-+Specificity%7D%7Bd%7D+%5Cright%29%5Cright%5D&#038;bg=T&#038;fg=000000&#038;s=0' alt='\\displaystyle Exp\\left[ LN\\left(\\frac{1 - Sensitivity}{Specificity}\\right) \\pm1.96\\left( \\frac{Sensitivity}{c} + \\frac{1 - Specificity}{d} \\right)\\right]' title='\\displaystyle Exp\\left[ LN\\left(\\frac{1 - Sensitivity}{Specificity}\\right) \\pm1.96\\left( \\frac{Sensitivity}{c} + \\frac{1 - Specificity}{d} \\right)\\right]' class='latex' \/>\u00a0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>You can calculate 95 % confidence interval of probability as formula below. In this article, I&#8217;d like to &hellip; <a href=\"https:\/\/www.fujiitoshiki.com\/improvesociety\/?p=2382\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;How to calculate sensitivity, specificity, positive predictive value, negative predictive value, positive likelihood ratio and negative likelihood ratio and their 95 % confidence interval with cross tabulation?&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-2382","post","type-post","status-publish","format-standard","hentry","category-statistics"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts\/2382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2382"}],"version-history":[{"count":12,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts\/2382\/revisions"}],"predecessor-version":[{"id":2395,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=\/wp\/v2\/posts\/2382\/revisions\/2395"}],"wp:attachment":[{"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fujiitoshiki.com\/improvesociety\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}