Template:DiagnosticTesting Diagram: Difference between revisions
Appearance
Content deleted Content added
Fix {{vte}} |
Note superseded |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{superseded|template:diagnostic_testing_diagram}} |
|||
{| class="wikitable" align="center" style="text-align:center; border:none; background:transparent;" |
{| class="wikitable" align="center" style="text-align:center; border:none; background:transparent;" |
||
|style="border:none;" colspan="2"| |
|style="border:none;" colspan="2"| |
||
Line 7: | Line 8: | ||
|style="background:#ffffcc;"|Condition positive |
|style="background:#ffffcc;"|Condition positive |
||
|style="background:#ddddaa;"|Condition negative |
|style="background:#ddddaa;"|Condition negative |
||
|style="background:#eeeecc;font-size:90%;"|[[Prevalence]] <span style="font-size:118%;white-space:nowrap;">= {{sfrac|Σ Condition positive|Σ Total population}}</span> |
|style="background:#eeeecc;font-size:90%;" colspan="2"|[[Prevalence]] <span style="font-size:118%;white-space:nowrap;">= {{sfrac|Σ Condition positive|Σ Total population}}</span> |
||
|style="background:#cceecc;border-left:double silver;font-size:90%;" colspan="2"|[[Accuracy and precision|Accuracy]] (ACC) = <span style="font-size:118%;">{{sfrac|Σ True positive + Σ True negative |Σ Total population}}</span> |
|style="background:#cceecc;border-left:double silver;font-size:90%;" colspan="2"|[[Accuracy and precision|Accuracy]] (ACC) = <span style="font-size:118%;">{{sfrac|Σ True positive + Σ True negative |Σ Total population}}</span> |
||
|- |
|- |
||
Line 14: | Line 15: | ||
|style="background:#ccffcc;"|<span style="color:#006600;">'''[[True positive]]'''</span> |
|style="background:#ccffcc;"|<span style="color:#006600;">'''[[True positive]]'''</span> |
||
|style="background:#eedddd;"|<span style="color:#cc0000;">'''[[False positive]]''',<br />[[Type I error]]</span> |
|style="background:#eedddd;"|<span style="color:#cc0000;">'''[[False positive]]''',<br />[[Type I error]]</span> |
||
|style="background:#ccffee;border-top:double silver;font-size:90%;"|[[Positive predictive value]] (PPV), [[Precision (information retrieval)|Precision]] = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ True positive|Σ Predicted condition positive}}</span> |
|style="background:#ccffee;border-top:double silver;font-size:90%;" colspan="2"|[[Positive predictive value]] (PPV), [[Precision (information retrieval)|Precision]] = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ True positive|Σ Predicted condition positive}}</span> |
||
|style="background:#cceeff;border-top:double silver;font-size:90%;" colspan="2"|[[False discovery rate]] (FDR) = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ False positive|Σ Predicted condition positive}}</span> |
|style="background:#cceeff;border-top:double silver;font-size:90%;" colspan="2"|[[False discovery rate]] (FDR) = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ False positive|Σ Predicted condition positive}}</span> |
||
|- |
|- |
||
Line 20: | Line 21: | ||
|style="background:#ffdddd;"|<span style="color:#cc0000;">'''[[False negative]]''',<br />[[Type II error]]</span> |
|style="background:#ffdddd;"|<span style="color:#cc0000;">'''[[False negative]]''',<br />[[Type II error]]</span> |
||
|style="background:#bbeebb;"|<span style="color:#006600;">'''[[True negative]]'''</span> |
|style="background:#bbeebb;"|<span style="color:#006600;">'''[[True negative]]'''</span> |
||
|style="background:#eeddee;border-bottom:double silver;font-size:90%;"|[[False omission rate]] (FOR) = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ False negative|Σ Predicted condition negative}}</span> |
|style="background:#eeddee;border-bottom:double silver;font-size:90%;" colspan="2"|[[False omission rate]] (FOR) = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ False negative|Σ Predicted condition negative}}</span> |
||
|style="background:#aaddcc;border-bottom:double silver;font-size:90%;" colspan="2"|[[Negative predictive value]] (NPV) = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ True negative|Σ Predicted condition negative}}</span> |
|style="background:#aaddcc;border-bottom:double silver;font-size:90%;" colspan="2"|[[Negative predictive value]] (NPV) = <span style="font-size:118%;white-space:nowrap;">{{sfrac|Σ True negative|Σ Predicted condition negative}}</span> |
||
|- style="font-size:90%;" |
|- style="font-size:90%;" |
||
Line 27: | Line 28: | ||
|style="background:#eeddbb;"|[[False positive rate]] (FPR), [[Information retrieval|{{nowrap|Fall-out}}]], probability of false alarm <span style="font-size:118%;white-space:nowrap;">= {{sfrac|Σ False positive|Σ Condition negative}}</span> |
|style="background:#eeddbb;"|[[False positive rate]] (FPR), [[Information retrieval|{{nowrap|Fall-out}}]], probability of false alarm <span style="font-size:118%;white-space:nowrap;">= {{sfrac|Σ False positive|Σ Condition negative}}</span> |
||
|style="background:#eeeeee;"|[[Positive likelihood ratio]] {{nowrap|(LR+)}} <span style="font-size:118%;white-space:nowrap;">= {{sfrac|TPR|FPR}}</span> |
|style="background:#eeeeee;"|[[Positive likelihood ratio]] {{nowrap|(LR+)}} <span style="font-size:118%;white-space:nowrap;">= {{sfrac|TPR|FPR}}</span> |
||
|style="background:#dddddd;" rowspan="2"|[[Diagnostic odds ratio]] (DOR) <span style="font-size:118%;white-space:nowrap;">= {{sfrac|LR+|LR−}}</span> |
|style="background:#dddddd;" rowspan="2"|[[Diagnostic odds ratio|Diagnostic {{nowrap|odds ratio}}]] (DOR) <span style="font-size:118%;white-space:nowrap;">= {{sfrac|LR+|LR−}}</span> |
||
|style="background:# |
|style="background:#ddeedd;border-left:double silver;line-height:1.2;" rowspan="2"|[[Matthews correlation coefficient|Matthews correlation]] {{nowrap|1=[[Matthews correlation coefficient|coefficient]] (MCC) =}}<br /><span style="line-height:1.5;">{{sqrt|TPR·TNR·PPV·NPV}} − {{sqrt|FNR·FPR·FOR·FDR}}</span> |
||
|style="background:#ddffdd;border-left:double silver;line-height:2;" rowspan="2"|[[F1 score|F<sub>1</sub> score]] = <span style="font-size:118%;white-space:nowrap;">{{sfrac|2 · PPV · TPR|PPV + TPR}}</span> = <span style="font-size:118%;white-space:nowrap;">{{sfrac|2 · Precision · Recall|Precision + Recall}}</span> |
|||
|- style="font-size:90%;" |
|- style="font-size:90%;" |
||
|style="background:#ffeecc;"|[[False negative rate]] (FNR), Miss rate <span style="font-size:118%;white-space:nowrap;">= {{sfrac|Σ False negative|Σ Condition positive}}</span> |
|style="background:#ffeecc;"|[[False negative rate]] (FNR), Miss rate <span style="font-size:118%;white-space:nowrap;">= {{sfrac|Σ False negative|Σ Condition positive}}</span> |
Latest revision as of 20:55, 13 May 2021
This Wikipedia page has been superseded by template:diagnostic_testing_diagram and is retained primarily for historical reference. |
True condition | |||||||
Total population | Condition positive | Condition negative | Prevalence = Σ Condition positive/Σ Total population | Accuracy (ACC) = Σ True positive + Σ True negative/Σ Total population | |||
Predicted condition
|
Predicted condition positive |
True positive | False positive, Type I error |
Positive predictive value (PPV), Precision = Σ True positive/Σ Predicted condition positive | False discovery rate (FDR) = Σ False positive/Σ Predicted condition positive | ||
Predicted condition negative |
False negative, Type II error |
True negative | False omission rate (FOR) = Σ False negative/Σ Predicted condition negative | Negative predictive value (NPV) = Σ True negative/Σ Predicted condition negative | |||
True positive rate (TPR), Recall, Sensitivity (SEN), probability of detection, Power = Σ True positive/Σ Condition positive | False positive rate (FPR), Fall-out, probability of false alarm = Σ False positive/Σ Condition negative | Positive likelihood ratio (LR+) = TPR/FPR | Diagnostic odds ratio (DOR) = LR+/LR− | Matthews correlation coefficient (MCC) = √TPR·TNR·PPV·NPV − √FNR·FPR·FOR·FDR |
F1 score = 2 · PPV · TPR/PPV + TPR = 2 · Precision · Recall/Precision + Recall | ||
False negative rate (FNR), Miss rate = Σ False negative/Σ Condition positive | Specificity (SPC), Selectivity, True negative rate (TNR) = Σ True negative/Σ Condition negative | Negative likelihood ratio (LR−) = FNR/TNR |