AUCw {dynpred} | R Documentation |
Calculate dynamic AUC(t) curve
Description
Calculate dynamic model-free curve of Area Under the Curve values over time, based on the dynamic/incident AUC of Heagerty and Zheng.
Usage
AUCw(formula, data, width)
Arguments
formula |
Formula for prediction model to be used as in
|
data |
Data set in which to interpret the formula |
width |
Width of the window |
Value
A data frame with columns
time |
The time points t at which AUCw(t) changes value (either t or t+width is an event time point) |
AUCw |
The AUCw(t) function |
and with attribute "width"
given as
input.
Author(s)
Hein Putter H.Putter@lumc.nl
References
van Houwelingen HC, Putter H (2012). Dynamic Prediction in Clinical Survival Analysis. Chapman & Hall.
Examples
data(ova)
AUCw(Surv(tyears, d) ~ Karn + Broders + FIGO + Ascites + Diam, data = ova,
width = 2)
[Package dynpred version 0.1.2 Index]