Calculate positive percent agreement (PPA) from agreements and discordant pairs, or PPA, NPA and overall agreement from a 2×2 table of two tests.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Positive agreement | Finds the symmetric positive agreement between two readers or tests | Requires the number of pairs both rated positive and the number of discordant pairs |
| Positive agreements (PA) | Finds the number of both-positive pairs that gives a chosen agreement | Requires the agreement as a percent or proportion and the number of discordant pairs |
| Discordant pairs (PD) | Finds the number of discordant pairs that gives a chosen agreement | Requires the agreement as a percent or proportion and the number of both-positive pairs |
| PPA, NPA and overall agreement (2×2 table) | Finds positive, negative and overall agreement from a full 2×2 table | Requires the two discordant counts b and c, plus the both-positive count a, the both-negative count d or both |
Counts are whole numbers of paired results. A discordant pair is one where exactly one reader is positive. The 2×2 table function has three example tables that fill in the counts, and a blank a or d is treated as unknown, not as zero.
Percent Positive Agreement Formulas
(2PA + PD) × 100 [1]
| PPA | Symmetric positive agreement (%) |
| PA | Pairs both readers rated positive |
| PD | Discordant pairs: one reader positive, the other negative |
This is positive specific agreement: the chance that one reader calls a case positive given that the other did, with neither reader treated as the reference. It equals the balanced F-measure and does not need the number of pairs both readers rated negative [1].
Positive agreement
With 80 both-positive pairs and 20 discordant pairs, the agreement is 2 × 80 ÷ (2 × 80 + 20) × 100 = 88.889%. The result can also be shown as a proportion, 0.8889.
Positive agreements (PA)
Here p is the agreement as a proportion. An agreement of 80% with 20 discordant pairs needs 0.8 × 20 ÷ (2 × 0.2) = 40 both-positive pairs. An answer that is not a whole number is a mathematical figure only, since real counts are whole.
Discordant pairs (PD)
An agreement of 90% with 80 both-positive pairs allows 2 × 80 × 0.1 ÷ 0.9 = 17.78 discordant pairs.
PPA, NPA and overall agreement (2×2 table)
NPA = d ÷ (b + d) × 100 [2]
In the table, a is both positive, b is reader A positive and B negative, c is A negative and B positive, and d is both negative. The two formulas above treat reader B as the comparator: positive percent agreement is the share of B’s positives that A also called positive, and negative percent agreement is the share of B’s negatives that A also called negative [2]. Overall agreement is (a + d) ÷ (a + b + c + d) × 100 [2]. The function also gives the symmetric versions, 2a ÷ (2a + b + c) and 2d ÷ (2d + b + c). For a = 18, b = 2, c = 3 and d = 77, symmetric positive agreement is 87.805%, symmetric negative agreement is 96.855% and overall agreement is 95%, while the comparator figures are 85.714% and 97.468%.
Limits of This Estimate
- Agreement is not accuracy. Two tests can agree and both be wrong, and overall agreement can be high while positive agreement is low [2].
- The comparator figures change if the two readers swap roles [2]. The symmetric figures do not.
- No correction for chance agreement is applied, and no confidence interval is given.
- An agreement is undefined when its denominator is zero, for example when there are no positive and no discordant pairs.
Sources
- Hripcsak and Rothschild, Agreement, the F-Measure, and Reliability in Information Retrieval, Journal of the American Medical Informatics Association, 2005: positive specific agreement and its equality with the F-measure
- U.S. Food and Drug Administration, Statistical Guidance on Reporting Results from Studies Evaluating Diagnostic Tests, Section 7.2: positive, negative and overall percent agreement against a comparator, and their limits
