turnbull_intervals {longevity} | R Documentation |
Turnbull's sets
Description
Given censoring and truncation set, compute the regions of the real line that get positive mass and over which the distribution function is well-defined.
Usage
turnbull_intervals(time, time2 = NULL, status, ltrunc = NULL, rtrunc = NULL)
Arguments
time |
excess time of the event of follow-up time, depending on the value of event |
time2 |
ending excess time of the interval for interval censored data only. |
ltrunc |
lower truncation limit, default to |
rtrunc |
upper truncation limit, default to |
Value
a matrix with two columns containing the left
and right
bounds Of Turnbull sets
Note
The function adds the square root of the machine tolerance to left bounds of interval censored data so they are open.
References
Frydman, H. (1994). A Note on Nonparametric Estimation of the Distribution Function from Interval-Censored and Truncated Observations, Journal of the Royal Statistical Society. Series B (Methodological) 56(1), 71-74.
Turnbull, B. W. (1976). The Empirical Distribution Function with Arbitrarily Grouped, Censored and Truncated Data. Journal of the Royal Statistical Society, Series B 38, 290-295.