Description Usage Arguments Details Value Author(s) References Examples
View source: R/kmweight.corr.R
Provide adjusted Kaplan-Meier weights for Stute's weighted least squares method.
1 | kmweight.corr(Y, delta)
|
Y |
survival time. |
delta |
status. |
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).
The corrected Kaplan-Meier weights are obtainable if the underlying censoring is the right censoring.
kmwts |
corrected Kaplan-Meier weights |
Hasinur Rahaman Khan and Ewart Shaw
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.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.