.turnbull_em | R Documentation |
Turnbull EM algorithm (low storage implementation)
.turnbull_em(
tsets,
lcens,
rcens,
ltrunc,
rtrunc,
weights,
cens = TRUE,
trunc = TRUE,
tol = 1e-12,
zerotol = 1e-10,
maxiter = 100000L
)
tsets |
Turnbull's sets |
lcens |
numeric vector of left censoring |
rcens |
numeric vector of right censoring |
ltrunc |
numeric vector of left truncation |
rtrunc |
numeric vector of right truncation |
weights |
vector of weights for observations |
cens |
logical; if |
tol |
tolerance level for terminating the EM algorithm |
maxiter |
maximum number of iteration for the EM algorithm |
a list with the probabilities and the standard errors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.