| emplik2.internal | R Documentation |
These are internal functions called by el2.test.wts and el2.test.wtm. They are not intended
to be called by the user.
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)))
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.