CUC_table {CUtools} | R Documentation |
Clinical utility tools to analyze a predictive model
Description
Efficacy of a biomarker defined by the treatment saved below a cut-off point minus the missclasified events.
Usage
CUC_table(Th,Prob,yt)
Arguments
Th |
The vector of cutoff points used to estimate efficacy at those points. |
Prob |
A vector with the event probability values provided by the biomarker. |
yt |
A vector with the actual event values |
Details
Prob must be a numeric vector with values between 0 and 1, yt a numeric vector with dichotomic values 0/1 and z a numeric value between 0 and 100
Value
The returned object contains the following components:
CUC_table |
A data frame with three columns, the threshold points, the rate of missing events and the rate of avoided treatments |
Author(s)
Maria Escorihuela, Luis Mariano Esteban, Gerardo Sanz, Angel Borque
Examples
###We generate a marker to serve as an example
Prob<-c(rnorm(1000,0.4,0.1),rnorm(1000,0.5,0.05))
yt<-rep(c(0,1),c(1000,1000))
#We choose a grid of threshold points.
Th<-seq(1,100)
#Estimte the Clinical utility table
CUC_table(Th, Prob, yt)
[Package CUtools version 0.1.0 Index]