wevid: Weight of Evidence for Quantifying Performance of a Binary Classifier

The distributions of the weight of evidence (log Bayes factor) favouring case over noncase status in a test dataset (or test folds generated by cross-validation) can be used to quantify the performance of a diagnostic test. This package can be used with any test dataset on which you have computed prior probabilities of case status, posterior probabilities of case status, and you have the observed case-control status. In comparison with the C-statistic (area under ROC curve), the expected weight of evidence (expected information for discrimination) has several advantages as a summary measure of predictive performance. To quantify how the predictor will behave as a risk stratifier, the quantiles of the distributions of weight of evidence in cases and controls can be calculated and plotted.

Version: 0.7.0
Depends: R (≥ 2.10)
Imports: ggplot2, pROC, reshape2, zoo
Published: 2026-05-11
DOI: 10.32614/CRAN.package.wevid
Author: Paul McKeigue [aut, cre], Marco Colombo [ctb]
Maintainer: Paul McKeigue <paul.mckeigue at ed.ac.uk>
License: GPL-3
URL: https://precmed.cphs.mvm.ed.ac.uk/pmckeigue/preprints/cstatistic.pdf
NeedsCompilation: no
CRAN checks: wevid results

Documentation:

Reference manual: wevid.html , wevid.pdf

Downloads:

Package source: wevid_0.7.0.tar.gz
Windows binaries: r-devel: wevid_0.7.0.zip, r-release: wevid_0.6.2.zip, r-oldrel: wevid_0.7.0.zip
macOS binaries: r-release (arm64): wevid_0.7.0.tgz, r-oldrel (arm64): wevid_0.7.0.tgz, r-release (x86_64): wevid_0.7.0.tgz, r-oldrel (x86_64): wevid_0.7.0.tgz
Old sources: wevid archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=wevid to link to this page.