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 16 Jul. 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

Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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