Compbdt: an R program to compare two binary diagnostic tests subject to a paired design
Abstract Background The comparison of the performance of two binary diagnostic tests is an important topic in Clinical Medicine. The most frequent type of sample design to compare two binary diagnostic tests is the paired design. This design consists of applying the two binary diagnostic tests to al...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
BMC
2020-06-01
|
Series: | BMC Medical Research Methodology |
Subjects: | |
Online Access: | http://link.springer.com/article/10.1186/s12874-020-00988-y |
_version_ | 1819045849356828672 |
---|---|
author | J. A. Roldán-Nofuentes |
author_facet | J. A. Roldán-Nofuentes |
author_sort | J. A. Roldán-Nofuentes |
collection | DOAJ |
description | Abstract Background The comparison of the performance of two binary diagnostic tests is an important topic in Clinical Medicine. The most frequent type of sample design to compare two binary diagnostic tests is the paired design. This design consists of applying the two binary diagnostic tests to all of the individuals in a random sample, where the disease status of each individual is known through the application of a gold standard. This article presents an R program to compare parameters of two binary tests subject to a paired design. Results The “compbdt” program estimates the sensitivity and the specificity, the likelihood ratios and the predictive values of each diagnostic test applying the confidence intervals with the best asymptotic performance. The program compares the sensitivities and specificities of the two diagnostic tests simultaneously, as well as the likelihood ratios and the predictive values, applying the global hypothesis tests with the best performance in terms of type I error and power. When the global hypothesis test is significant, the causes of the significance are investigated solving the individual hypothesis tests and applying the multiple comparison method of Holm. The most optimal confidence intervals are also calculated for the difference or ratio between the respective parameters. Based on the data observed in the sample, the program also estimates the probability of making a type II error if the null hypothesis is not rejected, or estimates the power if the if the alternative hypothesis is accepted. The “compbdt” program provides all the necessary results so that the researcher can easily interpret them. The estimation of the probability of making a type II error allows the researcher to decide about the reliability of the null hypothesis when this hypothesis is not rejected. The “compbdt” program has been applied to a real example on the diagnosis of coronary artery disease. Conclusions The “compbdt” program is one which is easy to use and allows the researcher to compare the most important parameters of two binary tests subject to a paired design. The “compbdt” program is available as supplementary material. |
first_indexed | 2024-12-21T10:35:06Z |
format | Article |
id | doaj.art-9bca3ecf2ed8452bac67a9b4b3089558 |
institution | Directory Open Access Journal |
issn | 1471-2288 |
language | English |
last_indexed | 2024-12-21T10:35:06Z |
publishDate | 2020-06-01 |
publisher | BMC |
record_format | Article |
series | BMC Medical Research Methodology |
spelling | doaj.art-9bca3ecf2ed8452bac67a9b4b30895582022-12-21T19:07:05ZengBMCBMC Medical Research Methodology1471-22882020-06-0120111110.1186/s12874-020-00988-yCompbdt: an R program to compare two binary diagnostic tests subject to a paired designJ. A. Roldán-Nofuentes0Department of Statistics (Biostatistics), School of Medicine, University of GranadaAbstract Background The comparison of the performance of two binary diagnostic tests is an important topic in Clinical Medicine. The most frequent type of sample design to compare two binary diagnostic tests is the paired design. This design consists of applying the two binary diagnostic tests to all of the individuals in a random sample, where the disease status of each individual is known through the application of a gold standard. This article presents an R program to compare parameters of two binary tests subject to a paired design. Results The “compbdt” program estimates the sensitivity and the specificity, the likelihood ratios and the predictive values of each diagnostic test applying the confidence intervals with the best asymptotic performance. The program compares the sensitivities and specificities of the two diagnostic tests simultaneously, as well as the likelihood ratios and the predictive values, applying the global hypothesis tests with the best performance in terms of type I error and power. When the global hypothesis test is significant, the causes of the significance are investigated solving the individual hypothesis tests and applying the multiple comparison method of Holm. The most optimal confidence intervals are also calculated for the difference or ratio between the respective parameters. Based on the data observed in the sample, the program also estimates the probability of making a type II error if the null hypothesis is not rejected, or estimates the power if the if the alternative hypothesis is accepted. The “compbdt” program provides all the necessary results so that the researcher can easily interpret them. The estimation of the probability of making a type II error allows the researcher to decide about the reliability of the null hypothesis when this hypothesis is not rejected. The “compbdt” program has been applied to a real example on the diagnosis of coronary artery disease. Conclusions The “compbdt” program is one which is easy to use and allows the researcher to compare the most important parameters of two binary tests subject to a paired design. The “compbdt” program is available as supplementary material.http://link.springer.com/article/10.1186/s12874-020-00988-yBinary diagnostic testLikelihood ratiosPaired designPredictive valuesSensitivity and specificity |
spellingShingle | J. A. Roldán-Nofuentes Compbdt: an R program to compare two binary diagnostic tests subject to a paired design BMC Medical Research Methodology Binary diagnostic test Likelihood ratios Paired design Predictive values Sensitivity and specificity |
title | Compbdt: an R program to compare two binary diagnostic tests subject to a paired design |
title_full | Compbdt: an R program to compare two binary diagnostic tests subject to a paired design |
title_fullStr | Compbdt: an R program to compare two binary diagnostic tests subject to a paired design |
title_full_unstemmed | Compbdt: an R program to compare two binary diagnostic tests subject to a paired design |
title_short | Compbdt: an R program to compare two binary diagnostic tests subject to a paired design |
title_sort | compbdt an r program to compare two binary diagnostic tests subject to a paired design |
topic | Binary diagnostic test Likelihood ratios Paired design Predictive values Sensitivity and specificity |
url | http://link.springer.com/article/10.1186/s12874-020-00988-y |
work_keys_str_mv | AT jaroldannofuentes compbdtanrprogramtocomparetwobinarydiagnostictestssubjecttoapaireddesign |