Learn R Programming

longevity (version 1.2.1)

turnbull_intervals: 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)

Value

a matrix with two columns containing the left and right bounds Of Turnbull sets

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 NULL

rtrunc

upper truncation limit, default to NULL

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.