np_nll {longevity} | R Documentation |
Marginal log likelihood function of the nonparametric multinomial with censoring and truncation
Description
Marginal log likelihood function of the nonparametric multinomial with censoring and truncation
Usage
np_nll(par, cens_lb, cens_ub, trunc_lb, trunc_ub, cens, trunc, weights)
Arguments
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 |
Value
a scalar, the negative log likelihood value
[Package longevity version 1.2.1 Index]