wc.fit(x,tvals)
This estimator removes the bias noted for the produc-limit estimator developed by Pea, Strawderman and Hollander (PSH, 2001) when interrocurence times are correlated within units. However, when applied to i.i.d. interocurrence times, this estimator is not expected to perform as well as the PSH estimator, especially with regard to efficiency.
Wang, M.-C. and Chang, S.-H. (1999). Nonparametric Estimation of a Recurrent Survival Function. J. Amer. Statist. Assoc 94, 146-153.
survfitr
Survr
data(MMC)
fit<-wc.fit(Survr(MMC$id,MMC$time,MMC$event))
fit
plot(fit,conf.int=FALSE)
# compare with pena-straderman-hollander
fit<-psh.fit(Survr(MMC$id,MMC$time,MMC$event))
fit
lines(fit,lty=2)
# and with MLE frailty
fit<-mlefrailty.fit(Survr(MMC$id,MMC$time,MMC$event))
fit
lines(fit,lty=3)
Run the code above in your browser using DataLab