Package: wevid
Type: Package
Title: Weight of Evidence for Quantifying Performance of a Binary
        Classifier
Version: 0.7.0
Date: 2026-05-10
Authors@R: c(person("Paul", "McKeigue",
                    email="paul.mckeigue@ed.ac.uk", role=c("aut", "cre")),
             person("Marco", "Colombo",
                    email="m.colombo@ed.ac.uk", role=c("ctb")))
Description: 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.  
Depends: R (>= 2.10)
License: GPL-3
URL:
        https://precmed.cphs.mvm.ed.ac.uk/pmckeigue/preprints/cstatistic.pdf
LazyData: true
Imports: ggplot2, pROC, reshape2, zoo
ByteCompile: TRUE
Encoding: UTF-8
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-05-10 09:59:07 UTC; paul
Author: Paul McKeigue [aut, cre],
  Marco Colombo [ctb]
Maintainer: Paul McKeigue <paul.mckeigue@ed.ac.uk>
Repository: CRAN
Date/Publication: 2026-05-11 06:50:02 UTC
Built: R 4.5.2; ; 2026-05-11 07:53:24 UTC; unix
