Skip to the main content

Review article

https://doi.org/10.11613/BM.2022.020101

The apparent prevalence, the true prevalence

Farrokh Habibzadeh orcid id orcid.org/0000-0001-5360-2900 ; Global Virus Network, Middle East Region, Shiraz, Iran
Parham Habibzadeh orcid id orcid.org/0000-0002-2086-0425 ; Research Center for Health Sciences, Institute of Health, Shiraz University of Medical Sciences, Shiraz, Iran
Mahboobeh Yadollahie orcid id orcid.org/0000-0002-1730-3863 ; Freelance Researcher, Shiraz, Iran


Full text: english pdf 594 Kb

page 163-167

downloads: 275

cite

Download JATS file

Supplements: bm-32-163-s.pdf


Abstract

Serologic tests are important for conducting seroepidemiologic and prevalence studies. However, the tests used are typically imperfect and produce false-positive and false-negative results. This is why the seropositive rate (apparent prevalence) does not typically reflect the true prevalence of the disease or condition of interest. Herein, we discuss the way the true prevalence could be derived from the apparent prevalence and test sensitivity and specificity. A computer simulation based on the Monte-Carlo algorithm was also used to further examine a situation where the measured test sensitivity and specificity are also uncertain. We then complete our review with a real example. The apparent prevalence observed in many prevalence studies published in medical literature is a biased estimation and cannot be interpreted correctly unless we correct the value.

Keywords

seroepidemiologic studies; prevalence; sensitivity; specificity; diagnostic tests

Hrčak ID:

279429

URI

https://hrcak.srce.hr/279429

Publication date:

15.6.2022.

Visits: 916 *




Introduction

Serologic tests are commonly used in seroepidemiologic and prevalence studies (1). The design is typically conducted to understand the current situation of a condition of interest, say a disease. For example, over the past two years, soon after the announcement of the coronavirus disease pandemic, many serologic tests have been developed for diagnosis of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2); numerous seroepidemiologic studies have been conducted to determine the prevalence of the disease in various parts of the world. For example, a population-based seroprevalence study revealed a SARS-CoV-2 seroprevalence of 9.7% in the Principality of Andorra (2). The results obtained from seroepidemiologic studies are generally used by health care researchers to understand where we do stand by estimating the health burden and the economic impact of a disease, and policy-makers to better identify the priorities and planning (3). But, are the values obtained from these studies valid?

At the heart of the design is the method by means of which we identify the condition of interest. We usually use a diagnostic test to detect the condition (e.g., a disease). However, a diagnostic test is usually not perfect; it may give false-positive and false-negative results; not all people with positive tests are diseased, and not all with negative tests are disease-free (4). This is why the prevalence derived from these studies, the so-called “apparent prevalence” (pr), is not necessarily an unbiased estimation of the true prevalence (π), the true proportion of diseased people in the population or the study sample. Herein, we are going to discuss how we can derive an unbiased estimation of π from the obtained pr and the test sensitivity (Se) and specificity (Sp). We also used a computer simulation program to better investigate the situation.

Prevalence

The pr (the apparent prevalence) is defined as the portion of tested people with a positive test (T +) (5). Therefore:

bm-32-2-020101-e1.jpg

where TPR and FPR are true-positive and false-positive rates, respectively. Substituting the TPR and FPR, we have (4):

bm-32-2-020101-e2.jpg

Solving the above equation for π (the true prevalence), yields:

bm-32-2-020101-e3.jpg

This shows that the true prevalence (π) and the apparent prevalence (pr) are linearly related (Figure 1). If we take into account the uncertainty existing in the measured estimates of pr, Se, and Sp, Eq. 3 becomes:

bm-32-2-020101-e4.jpg
Figure 1 The linear relationship (Eq. 3) between the true and the apparent prevalence for a number of combinations of the test sensitivities and specificities.
bm-32-2-020101-f1

where x (any variable with a hat, e.g., or pr) represents an estimation for x (e.g., π or pr). Assuming that pr and the test Se and Sp are independent, employing basic calculus and using a first-order Taylor series expansion, we have (6,7):

bm-32-2-020101-e5.jpg

where σ2x represents the variance of x. Based on the results, we can calculate the 95% confidence interval (CI) of the true prevalence (8-10). To portray the effect of variations in estimates of pr, Se, and Sp on the π, we conducted a Monte-Carlo simulation program.

Computer simulation

We assumed that the Se and Sp of a diagnostic test were measured in a hypothetical validity study on 225 individuals: 75 in whom the disease was confirmed and 150 without the disease (Table 1). The results gave a Se of 93% (95% Cl 88% to 99%,
σ2Se = 8.3 x10-4) and a Sp of 90% (85% to 95%, σ2Se = 6.0 x10-4).

Table 1 Results of the hypothetical test validity study
DiseaseTotal
PresentAbsent
TestPositive70
(TP)
15
(FP)
85
Negative5
(FN)
135
(TN)
140
Total75150225
TP - True positive. FP - False positive. FN - False negative. TN - True negative. N = TP + FP + FN + TN = 225. Se = TP/(TP + FN) = 0.93. Sp = TN/(TN + FP) = 0.90. TPR = TP/N = 0.31. FPR = FP/N = 0.07. FNR = FN/N = 0.02. Apparent prevalence = TPR + FPR = 0.31 + 0.07 = 0.38. True prevalence = TPR + FNR = 0.31 + 0.02 = 0.33. Using Eq. 4. it can be calculated: True prevalence = (Apparent prevalence + Sp - 1)/(Se + Sp - 1) = (0.38 + 0.90 -1)/(0.93 + 0.90 - 1) = 0.33.

To further investigate the situation, we used a Monte-Carlo simulation (Table 2, Supplementary material). We assumed an arbitrarily chosen population size of 1,000,000 people and assumed that 200,000 of whom had a disease - i.e., a population true prevalence of 0.20. We randomly selected a sample of 300 individuals from the population. Each person in the study sample was then tested with a diagnostic test with Se and Sp values randomly selected from the above-mentioned distributions (supposed to be Gaussian with a mean of 93% and variance of 8.3 x10-4 for the Se, and a mean of 90% and variance of 6.0 x10-4 for the Sp) (Table 2). The πs, the proportion of individuals in the sample with the disease (true prevalence of the disease in the sample); the prs, the proportion of people in the sample with a positive test (apparent prevalence of the disease in the sample); and the calculated true prevalence (in the sample), πc, derived from Eq. 4 and 5, were then estimated for each sample. The above steps were repeated for an arbitrarily chosen 200,000 samples. The frequency distributions of πs, prs, and πc were then plotted and compared. Linear regression analysis (no intercept model) was used to determine the relationship between the πs and πc.

Table 2 Pseudocode of the simulation program
Begin
Determine the Se and Sp distribution from a validation study
Construct a Population of 1,000,000 people; 200,000 of whom are diseased
Loop for 200,000 times
Choose a random sample (N = 300) from the Population
Choose a Se and Sp from the Se and Sp distributions
Calculate πs = P(D+), prs = P(T +), and πc (Eq. 4 and 5)
EndLoop
Draw the frequency distributions of πs, prs, and πc
End
D+ - Having the disease. T + - Test-positive. P(x) - Probability of x. Se - sensitivity. Sp - specificity. πs - true prevalence. prs - apparent prevalence. πc - calculated true prevalence.
For more details, see the R codes in the Supplementary materials.

Simulation results and discussion

The mean true prevalence (πs) was 0.20 (95% CI 0.16 to 0.25) – as expected, equal to the population true prevalence (π) of 0.20. The mean apparent prevalence (prs) was 0.27 (0.20 to 0.33), a biased estimate of the true prevalence (πs) (Figure 1). The mean calculated true prevalence (πc), 0.20 (0.14 to 0.26), however, was an unbiased estimation for the true prevalence (πs) (Figure 2). The slope of the regression line was almost 1; the model could explain almost all of the variance observed in the πc (Figure 3). The observed variance of the πs distribution was less than that of the prs (Figure 2). The former was attributed to the sampling variation; the second, to the sampling variation and variability in the test Se and Sp distribution used for each sample. The variance of the πc distribution (similar to that of the prs) was also due to the variations in estimating the prs and the test Se and Sp (Eq. 4). It is important to note that the term “test” in this context should be construed in a general way as any means for classifying individuals, either a laboratory test for checking a biomarker, an imaging procedure examination, or a physical examination to check presence or absence of a sign (11,12). To elaborate on the topic presented, let us examine the following example.

Figure 2 The frequency distribution of the true prevalence (πs, solid curve), seroprevalence (prs, dotted gray curve), and the calculated true prevalence (πc, dashed gray curve) derived in 200,000 rounds of simulation on 300 individual samples. The black vertical line is the population true prevalence (π) of 0.2.
bm-32-2-020101-f2
Figure 3 The scatter plot of true prevalence (πs) against the calculated prevalence (πc). The solid line is the linear regression line (no intercept model); dashed lines represent the regression 95% confidence interval.
bm-32-2-020101-f3

Example

In the first round of a population-based seroprevalence study on SARS-CoV-2 serological screening, conducted in the Principality of Andorra, the researchers found that 6816 of 70,389 tested people were seropositive, translating into a seroprevalence, prs, of 9.7% (95% CI 9.5% to 9.9%) (2). The Se and Sp of the diagnostic test they used (Livzon rapid test, Zhuhai Livzon Diagnostics Inc, Guangdong, China) were 92% (84% to 96%) and 100% (95% to 100%). The values were derived from a validation study conducted on 48 diseased and 48 disease-free individuals (2). Here, the prs, of 9.7% does not reflect the correct portion of the population with previous exposure to SARS-CoV-2; there might be several people with false-positive test results due to cross-reacting antibodies, technical issues, etc., some people might have false-negative tests, on the other hand (13). The seroprevalence (the apparent prevalence, prs) was an unbiased estimation of the true prevalence, only if the Se and Sp of the test used would have been equal to 100%, the gold standard test.

Based on the provided data, it is possible to calculate the variances of the seroprevalence, and the test Se and Sp, which are 1.2 x10-6, 8.9 x10-4, and 1.5 x10-4, respectively. Substituting the values in Eq. 4 and 5, the estimated true prevalence (πs) is 10.5% (95% CI 8.2% to 12.9%), the correct proportion of the population with previous exposure to SARS-CoV-2. Had merely binomial distribution been used for the calculation of the 95% confidence interval (ignoring the uncertainty in the estimated Se and Sp) instead of Eq. 5, we would have come to a 95% confidence interval of 10.3% to 10.8%, a much narrower interval.

Conclusion

Depending on the Se and Sp of the diagnostic test used in a given prevalence study, the results obtained are generally biased estimates of the true prevalence of the condition of interest (e.g., a disease). The derived apparent prevalence values should therefore be corrected. Based on the variances of the seroprevalence, and the test Se and Sp, it is possible to calculate an unbiased estimation of the true prevalence.

Data availability statement

The R codes are available from the journal website as Supplementary material. Running the codes results in the data file.

Notes

[1] Conflicts of interest Potential conflict of interest

None declared.

References

1 

Gambino CM, Lo Sasso B, Colomba C, Giglio RV, Agnello L, Bivona G, et al. Comparison of a rapid immunochromatographic test with a chemiluminescence immunoassay for detection of anti-SARS-CoV-2 IgM and IgG. Biochem Med (Zagreb). 2020;30:030901. https://doi.org/10.11613/BM.2020.030901 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/33071558

2 

Royo-Cebrecos C, Vilanova D, Lopez J, Arroyo V, Pons M, Francisco G, et al. Mass SARS-CoV-2 serological screening, a population-based study in the Principality of Andorra. Lancet Reg Health Eur. 2021;5:100119. https://doi.org/10.1016/j.lanepe.2021.100119 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/34557824

3 

Harder T. Some notes on critical appraisal of prevalence studies: Comment on: “The development of a critical appraisal tool for use in systematic reviews addressing questions of prevalence. Int J Health Policy Manag. 2014;3:289–90. https://doi.org/10.15171/ijhpm.2014.99 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/25337603

4 

Habibzadeh F, Habibzadeh P, Yadollahie M. On determining the most appropriate test cut-off value: the case of tests with continuous results. Biochem Med (Zagreb). 2016;26:297–307. https://doi.org/10.11613/BM.2016.034 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/27812299

5 

Habibzadeh F, Habibzadeh P. The mean prevalence. Epidemiol Methods. 2020;9:20190033. https://doi.org/10.1515/em-2019-0033

6 

Champac V, Gervacio JG. Appendix A: Variance of a Function of Random Variables Approximated with Taylor’s Theorem. In: Champac V, Gervacio JG, eds. Timing Performance of Nanometer Digital Circuits Under Process Variations. Springer; 2018. https://doi.org/10.1007/978-3-319-75465-9 https://doi.org/10.1007/978-3-319-75465-9

7 

Rogan WJ, Gladen B. Estimating prevalence from the results of a screening test. Am J Epidemiol. 1978;107:71–6. https://doi.org/10.1093/oxfordjournals.aje.a112510 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/623091

8 

Reiczigel J, Foldi J, Ozsvari L. Exact confidence limits for prevalence of a disease with an imperfect diagnostic test. Epidemiol Infect. 2010;138:1674–8. https://doi.org/10.1017/S0950268810000385 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/20196903

9 

Greiner M, Gardner IA. Application of diagnostic tests in veterinary epidemiologic studies. Prev Vet Med. 2000;45:43–59. https://doi.org/10.1016/S0167-5877(00)00116-1 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/10802333

10 

Brown LD, Cai TT, DasGupta A. Interval estimation for a binomial proportion. Stat Sci. 2001;16:101–33. https://doi.org/10.1214/ss/1009213286

11 

Habibzadeh F, Habibzadeh P, Yadollahie M, Roozbehi H. On the information hidden in a classifier distribution. Sci Rep. 2021;11:917. https://doi.org/10.1038/s41598-020-79548-9 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/33441644

12 

Habibzadeh F, Habibzadeh P, Shakibafard A, Saidi F. Predicting the outcome of asymptomatic univesicular liver hydatids: diagnostic accuracy of unenhanced CT. Eur Radiol. 2021;31:5812–7. https://doi.org/10.1007/s00330-020-07681-0 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/33452910

13 

Rikhtegaran Tehrani Z, Saadat S, Saleh E, Ouyang X, Constantine N, DeVico AL, et al. Performance of nucleocapsid and spike-based SARS-CoV-2 serologic assays. PLoS One. 2020;15:e0237828. https://doi.org/10.1371/journal.pone.0237828 PubMed: http://www.ncbi.nlm.nih.gov/pubmed/33137138


This display is generated from NISO JATS XML with jats-html.xsl. The XSLT engine is libxslt.