CompareTests
CompareTests is an R package to estimate agreement and diagnostic accuracy statistics for two diagnostic tests when one is conducted on only a subsample of specimens. 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. 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), and symmetry tests (reduces to McNemar's test for binary tests)).
Download Software:
- UNIX O/S- CompareTests_1.0.tar.gz
- Windows O/S - CompareTests_1.0.zip
- Mac O/S - CompareTests_1.0.tgz
Save this file in an appropriate folder on your disk.
Reference:
- 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
Support:
Questions? Contact: Dr. Hormuzd Katki