View source: R/supportHudgens.R
existenceNPMLE | R Documentation |
Using Theorem 1 from Hudgens (2005) we can check whether an NPMLE exists. This procedure is implemented in this function.
existenceNPMLE(intervals, supportdf)
intervals |
A data.frame with 4 columns containing half-open intervals (left open, right closed) and an indicator whether the interval results from a censored transition or truncation:
Note that the truncation intervals need to be in the form (N, Inf] with N a numeric value. |
supportdf |
A data from containing 2 columns indicating the support intervals:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.