Learn R Programming

APtools (version 6.8.8)

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

Description

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).

Copy Link

Version

Install

install.packages('APtools')

Monthly Downloads

267

Version

6.8.8

License

LGPL-3

Maintainer

Hengrui Cai

Last Published

September 21st, 2018

Functions in APtools (6.8.8)

APBinary

Estimating the AP and the AUC for Binary Outcome Data.
APSurv

Estimating the Time-dependent AP and AUC for Censored Time to Event Outcome Data.
CompareAP

Comparison of two risk scores based on the differences and ratio of their APs.
mayo

Mayo Marker data