Skip to content

wevid

Weight of Evidence for Quantifying Performance of a Binary Classifier

v0.7.0 · May 10, 2026 · GPL-3

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.

Downloads

CRAN

492

Last 30 days

7633rd

1.1K

Last 90 days

2.7K

Last year

Trend: +28.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

29

Last 90 days

89

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for unstated dependencies in examples

Fatal error: cannot create 'R_TempDir'
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 13, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 12, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Marco Colombo <mar.colombo13@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
WARNING 10 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 11, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Marco Colombo <mar.colombo13@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Marco Colombo <mar.colombo13@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
WARNING r-devel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: S3 methods '$<-.grouped_df', '[.fun_list', '[.grouped_df', '[.rowwise_df', '[<-.grouped_df', '[<-.rowwise_df', '[[<-.grouped_df', 'names<-.grouped_df', 'names<-.rowwise_df', 'add_count.data.frame',
...[truncated]...
'dplyr_col_modify.rowwise_df', 'dplyr_reconstruct.data.frame', 'dplyr_reconstruct.grouped_df', 'dplyr_reconstruct.rowwise_df', 'dplyr_row_slice.data.frame', ' [... truncated]
See 'd:/Rcompile/CRANpkg/local/4.7/wevid.Rcheck/00install.out' for details.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Marco Colombo <mar.colombo13@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Marco Colombo <mar.colombo13@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Code

Code metrics have not been computed for this package yet.

Dependency Network

Dependencies Reverse dependencies ggplot2 pROC reshape2 zoo wevid

Version History

8 tracked
updated 0.7.0 ← 0.6.2 diff May 11, 2026
new 0.6.2 Mar 10, 2026
updated 0.6.2 ← 0.6.1 diff Sep 11, 2019
updated 0.6.1 ← 0.6 diff May 12, 2019
updated 0.6 ← 0.5.2 diff Apr 3, 2019
updated 0.5.2 ← 0.5.1 diff Dec 15, 2018
updated 0.5.1 ← 0.4.2 diff Oct 10, 2018
new 0.4.2 Jun 14, 2018