APtools: Average Positive Predictive Values (AP) for Binary Outcomes and Censored Event Times

We provide tools to estimate two prediction accuracy metrics, the average positive predictive values (AP) as well as the well-known AUC (the area under the receiver operator characteristic curve) for risk scores. The outcome of interest is either binary or censored event time. Note that for censored event time, our functions' estimates, the AP and the AUC, are time-dependent for pre-specified time interval(s). A function that compares the APs of two risk scores/markers is also included. Optional outputs include positive predictive values and true positive fractions at the specified marker cut-off values, and a plot of the time-dependent AP versus time (available for event time data).

Getting started

Package details

AuthorHengrui Cai <hengruicai@gmail.com>, Yan Yuan <yyuan@ualberta.ca>, Qian Michelle Zhou <qz70@msstate.edu>, Bingying Li<dorisli1120@gmail.com>
MaintainerHengrui Cai <hengruicai@gmail.com>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the APtools package in your browser

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

APtools documentation built on May 1, 2019, 9:10 p.m.