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:
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')) |
- specimens - Fictitious data on specimens tested by two methods
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 8 years agofrom:4e39f6f955. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | OK | Nov 05 2024 |
R-4.5-linux | OK | Nov 05 2024 |
R-4.4-win | OK | Nov 05 2024 |
R-4.4-mac | OK | Nov 05 2024 |
R-4.3-win | OK | Nov 05 2024 |
R-4.3-mac | OK | Nov 05 2024 |
Exports:CompareTestsfulltable
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Correct for Verification Bias in Diagnostic Accuracy & Agreement | CompareTests-package |
Correct for Verification Bias in Diagnostic Accuracy & Agreement | CompareTests |
fulltable attaches margins and NA/NaN category to the output of table() | fulltable |
Fictitious data on specimens tested by two methods | specimens |