From: Understanding test accuracy research: a test consequence graphic
 | Target condition present | Target condition absent | Total |
---|---|---|---|
Test positive | TP = x × sens | FP = y − (y × spec) | TP + FP |
Test negative | FN = x − (x × sens) | TN = y × spec | FN + TN |
 | x = 1000 × p | y = 1000 − (1000 × p) | 1000 |