emplik2-internal: Internal emplik2 functions

Description Usage Details

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

1
2
3
4
myWCY(x, d, zc = rep(1, length(d)), wt = rep(1, length(d)), maxit = 25, 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.


emplik2 documentation built on Jan. 4, 2022, 5:08 p.m.