lpost_elife | R Documentation |
Log of the posterior distribution for excess lifetime distribution with maximal data information priors.
lpost_elife(
par,
time,
time2 = NULL,
event = NULL,
type = c("right", "left", "interval", "interval2"),
ltrunc = NULL,
rtrunc = NULL,
family = c("exp", "gp", "gomp"),
thresh = 0,
weights = rep(1, length(time)),
status = NULL,
arguments = NULL,
...
)
par |
vector of parameters, in the following order: scale, rate and shape |
time |
excess time of the event of follow-up time, depending on the value of event |
time2 |
ending excess time of the interval for interval censored data only. |
event |
status indicator, normally 0=alive, 1=dead. Other choices are |
type |
character string specifying the type of censoring. Possible values are " |
ltrunc |
lower truncation limit, default to |
rtrunc |
upper truncation limit, default to |
family |
string; choice of parametric family |
thresh |
vector of thresholds |
weights |
weights for observations |
status |
integer vector giving status of an observation. If |
arguments |
a named list specifying default arguments of the function that are common to all |
... |
additional arguments for optimization, currently ignored. |
a vector proportional to the log posterior (the sum of the log likelihood and log prior)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.