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 25 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

sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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