Description Usage Arguments Value Examples
View source: R/FUN-cstat-ver003b.R
Performes the inference for the difference in C between two competing risk prediction models
1 | Inf.Cval.Delta(mydata, covs0, covs1, tau, itr = 1000, seed = NULL)
|
mydata |
Input data. The 1st column should be time-to-event, and the 2nd column is event indicator (1=event, 0=censor). |
covs0 |
A matrix that consists of a set of predictors for a base model (Model 0) |
covs1 |
A matrix that consists of a set of predictors for a new model (Model 1) |
tau |
Truncation time. The resulting C tells how well the given prediction model works in predicting events that occur in the time range from 0 to |
itr |
Iteration of perturbation-resampling. |
seed |
A seed for generating random numbers for the resampling. The default is NULL. |
A 4x3 matrix that consists of point estimates, standard error estiamtes, and lower and upper limits of 0.95 two-sided intervals for C of Model 1, Model 0 and that for the difference of C
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.