CompareTests: Correct for Verification Bias in Diagnostic Accuracy & Agreement

A standard test is observed on all specimens. We treat the second test (or sampled test) as being conducted on only a stratified sample of specimens. Verification Bias is this situation when the specimens for doing the second (sampled) test is not under investigator control. We treat the total sample as stratified two-phase sampling and use inverse probability weighting. We estimate diagnostic accuracy (category-specific classification probabilities; for binary tests reduces to specificity and sensitivity, and also predictive values) and agreement statistics (percent agreement, percent agreement by category, Kappa (unweighted), Kappa (quadratic weighted) and symmetry tests (reduces to McNemar's test for binary tests)). See: Katki HA, Li Y, Edelstein DW, Castle PE. Estimating the agreement and diagnostic accuracy of two diagnostic tests when one test is conducted on only a subsample of specimens. Stat Med. 2012 Feb 28; 31(5) <doi:10.1002/sim.4422>.

Version: 1.2
Published: 2017-02-06
DOI: 10.32614/CRAN.package.CompareTests
Author: Hormuzd A. Katki and David W. Edelstein
Maintainer: Hormuzd Katki <katkih at mail.nih.gov>
License: GPL-3
URL: http://dceg.cancer.gov/about/staff-directory/biographies/A-J/katki-hormuzd
NeedsCompilation: no
Materials: NEWS
CRAN checks: CompareTests results

Documentation:

Reference manual: CompareTests.pdf

Downloads:

Package source: CompareTests_1.2.tar.gz
Windows binaries: r-devel: CompareTests_1.2.zip, r-release: CompareTests_1.2.zip, r-oldrel: CompareTests_1.2.zip
macOS binaries: r-release (arm64): CompareTests_1.2.tgz, r-oldrel (arm64): CompareTests_1.2.tgz, r-release (x86_64): CompareTests_1.2.tgz, r-oldrel (x86_64): CompareTests_1.2.tgz
Old sources: CompareTests archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=CompareTests to link to this page.