Other packages > Find by keyword >

CompareTests  

Correct for Verification Bias in Diagnostic Accuracy & Agreement
View on CRAN: Click here


Download and install CompareTests package within the R console
Install from CRAN:
install.packages("CompareTests")

Install from Github:
library("remotes")
install_github("cran/CompareTests")

Install by package version:
library("remotes")
install_version("CompareTests", "1.3")



Attach the package and use:
library("CompareTests")
Maintained by
Hormuzd Katki
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2012-10-29
Latest Update: 2024-12-12
Description:
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) .
How to cite:
Hormuzd Katki (2012). CompareTests: Correct for Verification Bias in Diagnostic Accuracy & Agreement. R package version 1.3, https://cran.r-project.org/web/packages/CompareTests. Accessed 07 Aug. 2026.
Previous versions and publish date:
1.0 (2012-10-29 08:56), 1.1 (2015-07-12 17:53), 1.2 (2017-02-06 16:37), (2026-07-09 08:00)
Other packages that cited CompareTests R package
View CompareTests citation profile
Other R packages that CompareTests depends, imports, suggests or enhances
Complete documentation for CompareTests
Functions, R codes and Examples using the CompareTests R package
Some associated functions: CompareTests-package . CompareTests . fulltable . specimens . 
Some associated R codes: CompareTests.R . fulltable.R .  Full CompareTests package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  
bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA