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 04 Jun. 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

AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
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  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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