A utility function that returns the "maximal intersections" from a set
of censoring intervals in a given
type = "interval" or
type = "interval2"
maximalint(x, eps = 1e-7)
a two-column matrix or data frame giving the left- and
right-endpoints of the censoring intervals or, alternatively, a
a small value used to break ties in maximal intersection endpoints.
Note that a large time scale requires a larger epsilon in order to
Each censoring interval is assumed to exclude its left endpoint. Analogous to Maathuis (2005, Section 2.1) ties between the unique (open) left and (closed) right endpoints among the censoring intervals are broken by subtracting a small value from the right endpoint value before constructing the maximal intersections.
a two-column matrix whose rows give the maximal
intersections (Wong and Yu, 1999) of the censoring intervals
Maathuis, MH (2005) Reduction algorithm for the NPMLE for the distribution function of bivariate interval-censored data. Journal of Computational and Graphical Statistics 14, 352–362.
Wong, GYC. and Yu, Q. (1999) Generalized MLE of a joint distribution function with multivariate interval-censored data. Journal of Multivariate Analysis 69, 155–166.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.