kmweight.corr: Compute corrected Kaplan-Meier weights for jackknifing

Description Usage Arguments Details Value Author(s) References Examples

View source: R/kmweight.corr.R

Description

Provide adjusted Kaplan-Meier weights for Stute's weighted least squares method.

Usage

1
kmweight.corr(Y, delta)

Arguments

Y

survival time.

delta

status.

Details

These are the adjusted Kaplan-Meier weights. The adjustment is made to the original Kaplan-Meier weights for being used in jackknifing to estimate Kaplan-Meier estimators. The adjustment is ocurred if and only if delta_(n-1)=0 and delta_(n)=1. For details see Stute and Wang (1994), Khan and Shaw (2015).

Value

The corrected Kaplan-Meier weights are obtainable if the underlying censoring is the right censoring.

kmwts

corrected Kaplan-Meier weights

Author(s)

Hasinur Rahaman Khan and Ewart Shaw

References

Khan and Shaw. (2015). Robust bias estimation for Kaplan-Meier Survival Estimator with Jackknifing. Journal of Statistical Theory and Practice, (published online; DOI:10.1080/15598608.2015.1062833). Also available in http://arxiv.org/abs/1312.4058.

Stute, W. and Wang, J. (1994). The jackknife estimate of a Kaplan-Meier integral. Biometrika 81, 602-606.

Examples

1
2
3
4
#Using simdata function. Censoring level is 50%.
data1<-simdata(n = 100,lambda = 2.04) 
kmwc<-kmweight.corr(data1$Y, data1$delta)
kmwc

jackknifeKME documentation built on May 2, 2019, 5:27 a.m.