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 14 Mar. 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)
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  
modelROC  
Model Based ROC Analysis
The ROC curve method is one of the most important and commonly usedmethods for model accuracy assess ...
Download / Learn more Package Citations See dependency  
BeviMed  
Bayesian Evaluation of Variant Involvement in Mendelian Disease
A fast integrative genetic association test for rare diseases based on a model for disease status gi ...
Download / Learn more Package Citations See dependency  
POV  
Partition of Variation Variance Component Analysis Method
An implementation of the Partition Of variation (POV) method as developed by Dr. Thomas A Little ...
Download / Learn more Package Citations See dependency  
IMmailgun  
Send Emails using 'Mailgun'
Send emails using the 'mailgun' api. To use this package you will need an account from ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,526

Author Associations

26,294

Publication Badges

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