LocalControlCompetingRisksConfidence: Calculate confidence intervals around the cumulative...

Description Usage Arguments References Examples

Description

Given the output of LocalControl, this function produces pointwise standard error estimates for the cumulative incidence functions (CIFs) using a modified version of Choudhury's approach (2002). This function currently supports the creation of 90%, 95%, 98%, and 99% confidence intervals with linear, log(-log), and arcsine transformations of the estimates.

Usage

1
2
LocalControlCompetingRisksConfidence(LCCompRisk, confLevel = "95%",
  confTransform = "asin")

Arguments

LCCompRisk

Output from a successful call to LocalControl with outcomeType = "survival".

confLevel

Level of confidence with which the confidence intervals will be formed. Choices are: "90%", "95%", "98%", "99%".

confTransform

Transformation of the confidence intervals, defaults to arcsin ("asin"). "log" and "linear" are also implemented.

References

Choudhury JB (2002) Non-parametric confidence interval estimation for competing risks analysis: application to contraceptive data. Stat Med 21:1129-1144. doi: 10.1002/sim.1070

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 data(cardSim)
 results = LocalControl(data = cardSim,
                        outcomeType = "survival",
                        outcomeColName = "status",
                        timeColName = "time",
                        treatmentColName = "drug",
                        treatmentCode = 1,
                        clusterVars = c("age", "bmi"))

 conf = LocalControlCompetingRisksConfidence(results)

LocalControl documentation built on May 2, 2019, 7:29 a.m.