Skip to main content
Wiley Open Access Collection logoLink to Wiley Open Access Collection
letter
. 2020 Aug 25;93(2):639–640. doi: 10.1002/jmv.26405

Bayesian latent class models to estimate diagnostic test accuracies of COVID‐19 tests

Sonja Hartnack 1,, Paolo Eusebi 2, Polychronis Kostoulas 3
PMCID: PMC7436623  PMID: 32770741

To the Editor,

With great interest we read the article from Dramé et al 1 “Should RT‐PCR be considered as gold standard in the diagnosis of COVID‐19” questioning the conclusions from Cassaniti et al. 2 We agree with the argument that considering reverse transcription‐polymerase chain reaction (RT‐PCR) as gold standard when evaluating a new test will inevitably lead to biased test accuracy estimates of the new test. 1 However, we disagree that it is impossible to “demonstrate that a new test might be better than the old‐test” and propose using Bayesian latent class models (BLCMs) to estimate the sensitivity and specificity in the absence of a gold standard. “Latent” means here that the true disease/infection status is not observed, but can be estimated from the data. BLCMs have been applied widely, reporting guidelines have been developed, 3 and currently an European Union‐funded initiative aims to expand their application in the evaluation of diagnostic tests (www.harmony-net.eu).

For showcasing BLCMs, we used the data from Cassaniti et al, 2 although the keys to validity in diagnostic test studies are not respected, that is, “a consecutive series of patients suspected (but not known) to have the target disorder,” 4 which precludes the generalizability of the findings. We considered a model with three tests for the diagnosis of coronavirus disease‐2019 (COVID‐19) in one population (110 patients), and extracted the following data of cross‐classified test results (RT‐PCR, IgG, and IgM) 2 : +++ 28, ++− 1, +−+ 3, +−− 36, −++ 0, −+− 0, −−+ 1, and −−− 41. We aim to estimate the prevalence, the sensitivities, and the specificities of three tests, and potential conditional dependencies (correlations) between tests. Since the maximum number of estimable parameters for three tests in one population is seven, 5 this model is not identifiable. Therefore, in a Bayesian framework, we rely on prior information for the specificities of all three tests similar to a previous analysis with two tests and four populations. 6 We assume that they are close to 100%. Further technical details about the model and Markov Chain Monte Carlo simulation, including the code to reproduce the results, are available on (https://github.com/shartn/BLCM-COVID19). In Table 1 the posteriors resulting from a model with conditional dependency between the IgG and IgM test sensitivities are displayed.

Table 1.

Posterior medians and 95% probability intervals for the sensitivities and specificities of three tests, prevalence and the correlation between the sensitivities of the IgM and the IgG test resulting from BLCM analysis

Parameter Posterior median (95% probability interval)
Prevalence 87.9 (72.2‐99.0)
RT‐PCR sensitivity 55.2 (49.7‐65.6)
RT‐PCR specificity 99.0 (97.7‐99.7)
IgG sensitivity 31.3 (21.9‐42.4)
IgG specificity 98.2 (94.8‐99.6)
IgM sensitivity 33.2 (23.8‐44.1)
IgM specificity 98.1 (94.4‐99.6)
Correlation IgG/IgM 8.6 (6.3‐10.4)

Abbreviations: BLCM, Bayesian latent class model; Ig, immunoglobulin; RT‐PCR, reverse transcription‐polymerase chain reaction.

In contrast to the previous analysis, 2 which used the RT‐PCR as a gold standard, implicitly assuming 100% sensitivity and specificity, the RT‐PCR sensitivity based on our BLCM analysis is lower, while the specificity of all three tests is close to 100%. The estimated sensitivity of the combined IgM/IgG in the study from Cassaniti et al 2 was 18.4%, being outside the 95% probability interval of our BLCM estimates for both the IgM and IgG. Although, based on our BLCM analysis, we cannot state “that the new test might be better,” 1 we are confident that BLCMs allow estimation of sensitivities and specificities in an unbiased way without needing a gold standard. Since this data set—with the exception of the 50 emergency patients—does not comply with the key aspects of validity, 4 it is not possible to generalize the results of our BLCM beyond the study population of the 110 patients.

Despite enormous COVID‐19 research activities, the application of BLCMs and suitable data sets are virtually absent. For the preparedness of future pandemics, we suggest to include the design of appropriate diagnostic test accuracy studies, which will also be suitable for BLCMs.

DATA AVAILABILITY STATEMENT

We used for our BLCM analysis data which have been published by the journal, and extracted the data directly from this publication: https://doi.org/10.1002/jmv.25800.

REFERENCES

  • 1. Dramé M, Tabue Teguo M, Proye E, et al. Should RT‐PCR be considered a gold standard in the diagnosis of Covid‐19? [published online ahead of print May 18, 2020]. J Med Virol. 2020:0‐2. 10.1002/jmv.25996 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Cassaniti I, Novazzi F, Giardina F, et al. Performance of VivaDiag COVID‐19 IgM/IgG rapid test is inadequate for diagnosis of COVID‐19 in acute patients referring to emergency room department. J Med Virol. 2020:1‐4. 10.1002/jmv.25800 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Kostoulas P, Nielsen SS, Branscum AJ, et al. STARD‐BLCM: standards for the reporting of diagnostic accuracy studies that use Bayesian latent class models. Prev Vet Med. 2017;138:37‐47. 10.1016/j.prevetmed.2017.01.006 [DOI] [PubMed] [Google Scholar]
  • 4. Sackett DL, Haynes RB. The architecture of diagnostic research. BMJ. 2002;324:539‐541. 10.1136/bmj.324.7337.602 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Berkvens D, Speybroeck N, Praet N, Adel A, Lesaffre E. Estimating disease prevalence in a Bayesian framework using probabilistic constraints. Epidemiology. 2006;17(2):145‐153. 10.1097/01.ede.0000198422.64801.8d [DOI] [PubMed] [Google Scholar]
  • 6. Kostoulas P, Eusebi P, Hartnack S Diagnostic accuracy estimates for COVID‐19 RT‐PCR and Lateral flow immunoassay tests with Bayesian latent class models.:1‐11. 10.21203/rs.3.rs-33243/v1 [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

We used for our BLCM analysis data which have been published by the journal, and extracted the data directly from this publication: https://doi.org/10.1002/jmv.25800.


Articles from Journal of Medical Virology are provided here courtesy of Wiley

RESOURCES