emplik2.internal {emplik2} | R Documentation |
Internal emplik2 functions
Description
These are internal functions called by el2.test.wts
and el2.test.wtm
. They are not intended
to be called by the user.
Usage
myWCY(x, d, zc = rep(1, length(d)), wt = rep(1, length(d)), maxit = 35, error = 1e-09)
myWKM(x, d, zc = rep(1, length(d)), w = rep(1, length(d)))
myWdataclean2(z, d, wt = rep(1, length(z)))
myWdataclean3(z, d, zc = rep(1, length(z)), wt = rep(1, length(z)))
Details
WCY
calculates the weighted Chang-Yang self-consistent estimator for doubly-censored data.
WKM
calculates the weighted Kaplan-Meier estimator for right-censored data.
myWdataclean2
sorts the data, collapses the true ties, and puts the number of tied values as the weights.
myWdataclean3
sorts the data, collapses the true ties, and puts the number of tied values as the weights. The extra
input zc controls if the tied data should be collapsed. If zc[i] not= zc[j] then x[i] and x[j] will not collapse.
[Package emplik2 version 1.33 Index]