View source: R/nonparametric.R
np_nll | R Documentation |
Marginal log likelihood function of the nonparametric multinomial with censoring and truncation
np_nll(par, cens_lb, cens_ub, trunc_lb, trunc_ub, cens, trunc, weights)
par |
vector of |
cens_lb |
index of interval in which death occurs |
cens_ub |
index of interval in which death occurs (if death is observed), or else the largest interval. |
trunc_lb |
vector of largest index for the lower truncation |
trunc_ub |
vector of smallest index for the upper truncation |
a scalar, the negative log likelihood value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.