CompetingRisk-package: The Semi-Parametric Cumulative Incidence Function

Description Details Author(s) References Examples

Description

Computing the point estimator and pointwise confidence interval of the cumulative incidence function from the cause-specific hazards model. This package contains generic methods (plot,summary) that can be invoked for an object fitted using est.CIF().

Details

This package was not yet installed at build time.

Author(s)

Jiayi Hou and Ronghui Xu

Maintainer: Jiayi Hou <jhou12@icloud.com>

References

Cheng, S. C., Jason P. Fine, and L. J. Wei. "Prediction of cumulative incidence function under the proportional hazards model." Biometrics (1998): 219-228. DOI: 10.2307/2534009

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data("train.data")
data("test.data2")

#1.Example: no group in training and test #
formulas <- list(as.formula("Surv(dtime, prostate) ~ AG + WT + PF + HX +HG + SZ + SG + RX"),
                 as.formula("Surv(dtime, cardio) ~ AG + WT + PF + HX +HG + SZ + SG + RX"),
                 as.formula("Surv(dtime, Other_causes) ~ AG + WT + PF + HX +HG + SZ + SG + RX"))
CIF.output <- est.CIF(formulas, data = train.data, newdata = test.data2,
                  group=NULL, compute.CI=T,save=F)
plot(CIF.output)

## End(Not run)

CompetingRisk documentation built on May 30, 2017, 2:54 a.m.