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 (McKeigue (2019), <doi:10.1177/0962280218776989>). The package can be used with any test dataset on which you have observed case-control status and have computed prior and posterior probabilities of case status using a model learned on a training dataset. 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.
Package details |
|
---|---|
Author | Paul McKeigue [aut] (<https://orcid.org/0000-0002-5217-1034>), Marco Colombo [ctb, cre] (<https://orcid.org/0000-0001-6672-0623>) |
Maintainer | Marco Colombo <mar.colombo13@gmail.com> |
License | GPL-3 |
Version | 0.6.2 |
URL | http://www.homepages.ed.ac.uk/pmckeigu/preprints/classify/wevidtutorial.html |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.