View source: R/doubletruncation.R
nll_ditrunc_elife | R Documentation |
Computes the log-likelihood for various parametric models suitable for threshold exceedances. If threshold is non-zero, then only right-censored, observed event time and interval censored data whose timing exceeds the thresholds are kept.
nll_ditrunc_elife(
par,
time,
ltrunc1 = NULL,
rtrunc1 = NULL,
ltrunc2 = NULL,
rtrunc2 = NULL,
family = c("exp", "gp", "gomp", "gompmake", "weibull", "extgp", "gppiece",
"extweibull", "perks", "beard", "perksmake", "beardmake"),
thresh = 0,
weights = rep(1, length(time)),
arguments = NULL,
...
)
par |
vector of parameters |
time |
excess time of the event of follow-up time, depending on the value of event |
ltrunc1 |
lower truncation limit, default to |
rtrunc1 |
upper truncation limit, default to |
ltrunc2 |
lower truncation limit, default to |
rtrunc2 |
upper truncation limit, default to |
family |
string; choice of parametric family, either exponential ( |
thresh |
vector of thresholds |
weights |
weights for observations |
arguments |
a named list specifying default arguments of the function that are common to all |
... |
additional arguments for optimization, currently ignored. |
log-likelihood value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.