These are internal functions called by el2.test.wts
and el2.test.wtm
. They are not intended
to be called by the user.
1 2 3 4 |
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.