Package: CompareTests 1.3

Hormuzd Katki

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 [aut], David W. Edelstein [aut], Hormuzd Katki [cre]

CompareTests_1.3.tar.gz
CompareTests_1.3.zip(r-4.7)CompareTests_1.3.zip(r-4.6)CompareTests_1.3.zip(r-4.5)
CompareTests_1.3.tgz(r-4.6-any)CompareTests_1.3.tgz(r-4.5-any)
CompareTests_1.3.tar.gz(r-4.7-any)CompareTests_1.3.tar.gz(r-4.6-any)
CompareTests_1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
CompareTests/json (API)

# Install 'CompareTests' in R:
install.packages('CompareTests', repos = c('https://hkatki.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • specimens - Fictitious data on specimens tested by two methods

On CRAN:

Conda:

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 210 downloads 1 mentions 2 exports 0 dependencies

Last updated from:bf5bcde022. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK102
source / vignettesOK142
linux-release-x86_64OK99
macos-release-arm64OK83
macos-oldrel-arm64OK75
windows-develOK70
windows-releaseOK59
windows-oldrelOK60
wasm-releaseOK80

Exports:CompareTestsfulltable

Dependencies: