Package: CompareTests 1.2

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>.

Authors:Hormuzd A. Katki and David W. Edelstein

CompareTests_1.2.tar.gz
CompareTests_1.2.zip(r-4.5)CompareTests_1.2.zip(r-4.4)CompareTests_1.2.zip(r-4.3)
CompareTests_1.2.tgz(r-4.4-any)CompareTests_1.2.tgz(r-4.3-any)
CompareTests_1.2.tar.gz(r-4.5-noble)CompareTests_1.2.tar.gz(r-4.4-noble)
CompareTests_1.2.tgz(r-4.4-emscripten)CompareTests_1.2.tgz(r-4.3-emscripten)
CompareTests.pdf |CompareTests.html
CompareTests/json (API)
NEWS

# Install 'CompareTests' in R:
install.packages('CompareTests', repos = c('https://hkatki.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • specimens - Fictitious data on specimens tested by two methods

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 5 scripts 159 downloads 1 mentions 2 exports 0 dependencies

Last updated 8 years agofrom:4e39f6f955. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winOKNov 05 2024
R-4.5-linuxOKNov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:CompareTestsfulltable

Dependencies: