mcmapper: Mapping First Moment and C-Statistic to the Parameters of Distributions for Risk

Provides a series of numerical methods for extracting parameters of distributions for risks based on knowing the expected value and c-statistics (e.g., from a published report on the performance of a risk prediction model). This package implements the methodology described in Sadatsafavi et al (2024) <doi:10.48550/arXiv.2409.09178>. The core of the package is mcmap(), which takes a pair of (mean, c-statistic) and the distribution type requested. This function provides a generic interface to more customized functions (mcmap_beta(), mcmap_logitnorm(), mcmap_probitnorm()) for specific distributions.

Getting started

Package details

AuthorMohsen Sadatsafavi [aut, cre] (<https://orcid.org/0000-0002-0419-7862>)
MaintainerMohsen Sadatsafavi <mohsen.sadatsafavi@ubc.ca>
LicenseMIT + file LICENSE
Version0.0.11
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("mcmapper")

Try the mcmapper package in your browser

Any scripts or data that you put into this service are public.

mcmapper documentation built on Nov. 4, 2024, 5:07 p.m.