39  Diagnostic Performance

A 2022 review pooled 152 evaluations of rapid antigen tests for COVID-19. The tests called fewer than 1% of uninfected people positive, and they detected 73.0% of infections in people with symptoms and 54.7% in people without symptoms (Dinnes et al. 2022). Why does the same strip miss more infections in one group than in another?

Laboratory studies on prepared samples measure a test’s analytical performance: how little analyte it detects, how close its readings fall to the true value and how closely they repeat, and whether it responds to other substances. A clinical study measures its clinical performance: how often its result on a patient agrees with a reference method (Saah and Hoover 1997).

Limit of detection

A blank, a sample with no analyte, still gives a signal: the 0 ng/mL standard in calibration reads 0.050 AU. Repeated blank readings scatter about a mean \(\bar S_\text{blank}\) with standard deviation \(\sigma_\text{blank}\), the spread of all the readings the blank could give. From \(n\) readings \(x_i\) with mean \(\bar x\), a standard deviation is estimated by the sample standard deviation, which divides by \(n - 1\) (numerical data):

\[s = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n} (x_i - \bar x)^2} .\]

The limit of detection (LoD), also called analytical sensitivity, is the smallest amount of analyte that an assay can detect (Saah and Hoover 1997). Two other quantities are also called sensitivity: the calibration slope (Harvey 2016) and the clinical sensitivity defined below. Here, analytical sensitivity means the LoD. The statistical LoD, which sets the lower end of the working range, is the concentration whose mean signal exceeds the mean blank signal by three blank standard deviations (Harvey 2016). On the calibration line \(S = a + b\,c\), with the intercept \(a\) equal to the mean blank signal, a concentration \(c\) raises the mean signal by \(b\,c\), so the statistical LoD is

\[c_\text{LoD} = \frac{3\,\sigma_\text{blank}}{b} .\]

A smaller \(\sigma_\text{blank}\) or a steeper line lowers the LoD. A reading counts as a detection only if it exceeds the mean signal at \(c_\text{LoD}\), the threshold

\[S_\text{LoD} = \bar S_\text{blank} + 3\,\sigma_\text{blank} .\]

The factor 3 is conventional: a normally distributed blank exceeds this threshold with probability \(1 - \Phi(3) = 0.00135\), or 0.135% of the time (Harvey 2016). Here \(\Phi(z)\) is the standard normal cumulative probability, the fraction of the area under the standard normal curve that lies below \(z\) (normal distribution). The curve is symmetric, so the fraction above \(-z\) is also \(\Phi(z)\). The values needed here are \(\Phi(1) = 0.84\), \(\Phi(2) = 0.977\), and \(\Phi(3) = 0.9987\).

For the same assay (\(a = 0.049\) AU, \(b = 0.0118\) AU per ng/mL), blank strips that average 0.049 AU with a standard deviation of 0.010 AU give \(c_\text{LoD} = 0.030/0.0118 = 2.5\) ng/mL and \(S_\text{LoD} = 0.079\) AU (Figure 39.1). Low concentrations are also written in picograms per milliliter: 1 ng/mL = 1000 pg/mL, so 2.5 ng/mL = 2500 pg/mL.

Left: a sideways bell curve of blank signals centered at 0.049 AU, with a dashed threshold three standard deviations higher at 0.079 AU. Right: the threshold meets the rising calibration line at 2.5 ng/mL.
Figure 39.1: Left: blank readings scatter about their mean (dotted). Right: the threshold (dashed) meets the calibration line at \(c_\text{LoD} = 2.5\) ng/mL.

A sample at concentration \(c\) gives readings that scatter like the blank’s about the mean \(m = a + b\,c\). By the symmetry of the normal curve, a fraction \(\Phi\big((m - S_\text{LoD})/\sigma_\text{blank}\big)\) of them exceed the threshold. A sample at \(c_\text{LoD}\) has \(m = S_\text{LoD}\), so about half of its repeated tests read positive (Harvey 2016).

Under FDA guidance for COVID-19 antigen tests, the regulatory LoD is the lowest concentration detected in at least 95% of at least 20 replicates (U.S. Food and Drug Administration 2021; Blommel et al. 2023). Problem 2 tests a result by pooling a retest at that concentration with the first 20 replicates. The regulatory LoD is higher than \(c_\text{LoD}\) because it requires 95% detection, while a sample at \(c_\text{LoD}\) is detected about half the time. It needs no numeric reading, so it also applies to a strip read by eye.

Accuracy and precision

Three readers each measure a reference sample of known concentration, 20.0 ng/mL, eight times (Figure 39.2). Their readings are judged by accuracy and precision (Harvey 2016):

  • Accuracy is how close the mean reading \(\bar x\) falls to the true value. It is measured by the bias, \(\bar x\) minus the true value, often given as a percentage of the true value.
  • Precision is how closely the readings agree with one another. It is measured by the sample standard deviation \(s\) of the readings or by the coefficient of variation, \(\text{CV} = (s/\bar x) \times 100\%\).

Bias comes from systematic error, an error that shifts every reading the same way, as in a biased reader. Imprecision comes from random error, scatter that changes from reading to reading and averages out, so a test can have one without the other (Harvey 2016). Recalibration removes a constant bias. Averaging \(n\) readings does not remove bias, but the mean of \(n\) readings has a standard deviation of \(s/\sqrt n\) (sampling distributions). Precision within one analyst’s session is the repeatability; across analysts, days, or laboratories it is the reproducibility (Harvey 2016). The blank’s \(\sigma_\text{blank}\) is a precision at zero concentration, so a less precise reader has a higher \(c_\text{LoD}\).

Three rows of eight dots on a concentration axis with a dashed line at the true value of 20 ng/mL: a tight cluster centered on 20, a tight cluster centered on 17, and a wide spread centered on 20.
Figure 39.2: Readings of a 20.0 ng/mL reference sample by three hypothetical readers; black ticks mark the means.

Analytical specificity

An antibody can cross-react: it binds a molecule that resembles its target and produces signal with no analyte present. Other components of a real sample, such as the patient’s own antibodies or blood lipids, can interfere by adding signal or by blocking capture of the analyte. Either effect can make a result falsely high or falsely low (Tate and Ward 2004). Analytical specificity is the ability of an assay to measure its analyte and not these other substances (Saah and Hoover 1997). It is tested by adding related and interfering substances to samples and showing that they cause no false positives and do not prevent detection.

Clinical sensitivity and specificity

A clinical study tests each person with the new test and with a reference method, a laboratory test accepted as the standard of truth, usually costlier or slower. For COVID-19 antigen tests the reference is usually a test for the virus’s genetic material (Dinnes et al. 2022). Suppose 10,000 people with symptoms are tested, and the reference method finds 1,000 of them infected. Each person falls into one cell of a \(2\times2\) contingency table (Table 39.1) (Shreffler and Huecker 2023).

Table 39.1: Outcomes of an antigen test against the reference method in 10,000 people with symptoms.
Reference positive Reference negative Total
Test positive 730 true positives (TP) 81 false positives (FP) 811
Test negative 270 false negatives (FN) 8919 true negatives (TN) 9189
Total 1000 9000 10000

Clinical sensitivity is the fraction of infected people that the test calls positive, and clinical specificity is the fraction of uninfected people that it calls negative (Saah and Hoover 1997):

\[\begin{aligned} \text{sensitivity} &= \frac{TP}{TP + FN} = \frac{730}{1000} = 0.730 , \\[6pt] \text{specificity} &= \frac{TN}{TN + FP} = \frac{8919}{9000} = 0.991 . \end{aligned}\]

These values match the review’s summary estimates for people with symptoms (Dinnes et al. 2022). Each uses one column of the table, so neither depends on the prevalence, the fraction of the tested group that is infected (here 10%) (Shreffler and Huecker 2023). A low limit of detection does not guarantee a high clinical sensitivity (Saah and Hoover 1997), and cross-reactivity lowers clinical specificity by adding false positives (Tate and Ward 2004).

The positive predictive value (PPV) is the fraction of positive results that are correct, and the negative predictive value (NPV) is the fraction of negative results that are correct (Shreffler and Huecker 2023):

\[\begin{aligned} \text{PPV} &= \frac{TP}{TP + FP} = \frac{730}{811} = 0.900 , \\[6pt] \text{NPV} &= \frac{TN}{TN + FN} = \frac{8919}{9189} = 0.971 . \end{aligned}\]

Each uses one row, which holds both infected and uninfected people, so both depend on prevalence.

Prevalence and predictive value

Let a test have clinical sensitivity \(\text{sens}\) and clinical specificity \(\text{spec}\). In a group of \(N\) people with prevalence \(p\), it gives on average \(\text{sens}\cdot pN\) true positives and \((1-\text{spec})(1-p)N\) false positives, so

\[\text{PPV} = \frac{\text{sens}\cdot p}{\text{sens}\cdot p + (1-\text{spec})(1-p)} .\]

When the infection is rare, the few false positives from the large uninfected group can outnumber the true positives. The strip above has a PPV of 0.90 at 10% prevalence but 0.45 at 1%, where more than half of positive results are false (Figure 39.3).

Positive predictive value rises in an S-shaped curve from about 0.08 at 0.1% prevalence to nearly 1 at 100% prevalence on a logarithmic axis, passing 0.45 at 1% and 0.90 at 10%, with a dotted horizontal line at 0.5.
Figure 39.3: Positive predictive value against prevalence for a strip with clinical sensitivity 73.0% and clinical specificity 99.1% (Dinnes et al. 2022). The dotted line marks PPV = 0.5; below it, most positive results are false.

Infected people below the limit of detection

Each infected person carries a different amount of antigen. If the LoD is treated as a sharp cutoff, the strip reads positive whenever the antigen exceeds it. The clinical sensitivity is then the fraction of infected people above the LoD, and every infected person below it is a false negative (Figure 39.4). In the review, clinical sensitivity fell from 80.9% in the first week after symptoms began to 53.8% in the second. It also fell with the amount of virus in the sample, from about 98% for the samples with the most virus to under 10% for those with the least (Dinnes et al. 2022). For people without symptoms, the review suggests that part of their lower clinical sensitivity comes from timing: the period of high viral load may be shorter (Dinnes et al. 2022); a shorter window puts more of them below the LoD at testing.

Two stacked bell curves of the relative number of infected people against antigen on a log scale, with a dashed vertical line at the limit of detection; the shaded area below the line, the people missed, is 19% in the first week and 46% in the second.
Figure 39.4: Schematic of antigen among infected people in the first and second week after symptoms begin. The vertical axis is the relative number of people. Each curve is placed so that the fraction above the LoD equals that week’s summary clinical sensitivity (Dinnes et al. 2022).

Exercises

TipProblem 1

Blank strips on a reader average 0.120 AU with a standard deviation of 0.006 AU. Its calibration line is \(S = 0.120 + 0.016\,c\) (\(S\) in AU, \(c\) in ng/mL).

  1. Find \(S_\text{LoD}\) and \(c_\text{LoD}\).
  2. A brighter label doubles the slope and leaves the blank unchanged. Find the new \(c_\text{LoD}\).
  3. With the original line, and a sample whose readings scatter like the blank’s, what fraction of replicate tests read positive at \(c_\text{LoD}\) and at \(2\,c_\text{LoD}\)?
  1. \(S_\text{LoD} = 0.120 + 3(0.006) = \mathbf{0.138}\) AU; \(c_\text{LoD} = 0.018/0.016 = \mathbf{1.13}\) ng/mL.

  2. \(0.018/0.032 = \mathbf{0.56}\) ng/mL: doubling the slope halves the LoD.

  3. At \(c_\text{LoD}\) the mean reading equals the threshold, so 50%. At \(2\,c_\text{LoD} = 2.25\) ng/mL the mean reading is \(m = 0.156\) AU, \((m - S_\text{LoD})/\sigma_\text{blank} = (0.156 - 0.138)/0.006 = 3\), and \(\Phi(3) = 0.9987\): 99.9%.

TipProblem 2

A different assay from the calibration example, a strip read by eye, is tested on a dilution series with 20 replicates per concentration.

\(c\) (pg/mL) 31 62 125 250 500
positive (of 20) 3 9 17 19 20
  1. From these replicates, what is the regulatory LoD?
  2. A retest of 60 more replicates at that concentration gives 56 positives. Pooled with the first 20, do the 80 replicates confirm the regulatory LoD?
  1. On the first 20 replicates alone, 250 pg/mL, the lowest concentration with at least 19 of 20 positive. This is provisional until the retest in (b).

  2. The pooled replicates give \((19 + 56)/80 = 75/80 = 93.75\% < 95\%\): not confirmed. The strip detects 250 pg/mL in fewer than 95% of replicates, so the regulatory LoD is above 250 pg/mL. The next concentration tested, 500 pg/mL, gave 20 of 20 positive, so the regulatory LoD is provisionally 500 pg/mL, pending the same pooled test at that concentration.

TipProblem 3

Two readers each measure a 20.0 ng/mL reference sample five times: reader A gives 18.1, 18.3, 18.0, 18.2, 18.4 ng/mL, and reader B gives 21.5, 17.9, 20.8, 19.0, 20.3 ng/mL.

  1. For each, compute the mean, the bias in percent, the sample standard deviation, and the CV.
  2. Which reader is more accurate, and which more precise? Which reader’s error does recalibration remove?
  1. A: mean 18.20 ng/mL, bias \(\mathbf{-9.0\%}\), \(s = 0.158\) ng/mL, \(\text{CV} = \mathbf{0.87\%}\). B: mean 19.90 ng/mL, bias \(\mathbf{-0.5\%}\), \(s = 1.444\) ng/mL, \(\text{CV} = \mathbf{7.3\%}\).

  2. B is more accurate and A more precise. Recalibration removes A’s constant bias but not B’s random error, which averaging reduces: the mean of B’s five readings has a standard deviation of \(1.444/\sqrt 5 = 0.646\) ng/mL.

TipProblem 4

A clinical study of 1000 people gives \(TP = 188\), \(FN = 12\), \(FP = 16\), \(TN = 784\).

  1. Compute the prevalence, clinical sensitivity, clinical specificity, PPV, and NPV.
  2. Compute the PPV if the same strip screens a population with 1% prevalence.
  1. Prevalence \(200/1000 = \mathbf{0.20}\); clinical sensitivity \(188/200 = \mathbf{0.94}\); clinical specificity \(784/800 = \mathbf{0.98}\); PPV \(188/204 = \mathbf{0.922}\); NPV \(784/796 = \mathbf{0.985}\).

  2. \(\text{PPV} = \dfrac{(0.94)(0.01)}{(0.94)(0.01) + (0.02)(0.99)} = \dfrac{0.0094}{0.0292} = \mathbf{0.32}\): about two in three positive results are false.

TipProblem 5

Suppose \(\log_{10}\) of the antigen concentration (pg/mL) in infected people is normally distributed with standard deviation 1.0, and mean 3.0 for people with symptoms and 2.0 for people without. A strip detects every sample above its LoD of 100 pg/mL and none below.

  1. Estimate the clinical sensitivity in each group.
  2. Repeat for a redesigned strip with an LoD of 10 pg/mL.
  1. The LoD is at \(\log_{10} 100 = 2\) on the log scale, since a concentration exceeds 100 pg/mL exactly when its \(\log_{10}\) exceeds 2. With symptoms its z-score is \(z = (2 - 3.0)/1.0 = -1\), so the fraction above it is \(\Phi(1) = \mathbf{0.84}\). Without symptoms \(z = (2 - 2.0)/1.0 = 0\), giving \(\mathbf{0.50}\).

  2. The LoD is at \(\log_{10} 10 = 1\). With symptoms \(z = (1 - 3.0)/1.0 = -2\), giving \(\Phi(2) = \mathbf{0.98}\); without, \(z = (1 - 2.0)/1.0 = -1\), giving \(\Phi(1) = \mathbf{0.84}\).

References

Blommel, J. H., G. Jenkinson, M. J. Binnicker, et al. 2023. “Authorized SARS-CoV-2 Molecular Methods Show Wide Variability in the Limit of Detection.” Diagnostic Microbiology and Infectious Disease 105 (3): 115880. https://doi.org/10.1016/j.diagmicrobio.2022.115880.
Dinnes, J., P. Sharma, S. Berhane, et al. 2022. “Rapid, Point-of-Care Antigen Tests for Diagnosis of SARS-CoV-2 Infection.” Cochrane Database of Systematic Reviews, no. 7: CD013705. https://doi.org/10.1002/14651858.CD013705.pub3.
Harvey, David. 2016. Analytical Chemistry 2.1. DePauw University. https://chem.libretexts.org/Bookshelves/Analytical_Chemistry/Analytical_Chemistry_2.1_(Harvey).
Saah, Alfred J., and Donald R. Hoover. 1997. “‘Sensitivity’ and ‘Specificity’ Reconsidered: The Meaning of These Terms in Analytical and Diagnostic Settings.” Annals of Internal Medicine 126 (1): 91–94. https://doi.org/10.7326/0003-4819-126-1-199701010-00026.
Shreffler, Jacob, and Martin R. Huecker. 2023. “Diagnostic Testing Accuracy: Sensitivity, Specificity, Predictive Values and Likelihood Ratios.” In StatPearls. StatPearls Publishing. https://www.ncbi.nlm.nih.gov/books/NBK557491/.
Tate, Jill, and Greg Ward. 2004. “Interferences in Immunoassay.” The Clinical Biochemist Reviews 25 (2): 105–20. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1904417/.
U.S. Food and Drug Administration. 2021. Template for Developers of Antigen Tests. Emergency Use Authorization (EUA) template for SARS-CoV-2 antigen tests, version of October 6, 2021. Center for Devices and Radiological Health. https://www.fda.gov/media/137907/download.