elife | R Documentation |
Quantile, distribution, density and hazard functions of excess lifetime distribution for threshold exceedances.
qelife(
p,
rate,
scale,
shape,
family = c("exp", "gp", "weibull", "gomp", "gompmake", "extgp", "extweibull", "perks",
"perksmake", "beard", "beardmake"),
lower.tail = TRUE
)
pelife(
q,
rate,
scale,
shape,
family = c("exp", "gp", "weibull", "gomp", "gompmake", "extgp", "extweibull", "perks",
"perksmake", "beard", "beardmake"),
lower.tail = TRUE,
log.p = FALSE
)
relife(
n,
scale = 1,
rate,
shape,
family = c("exp", "gp", "weibull", "gomp", "gompmake", "extgp", "extweibull", "perks",
"perksmake", "beard", "beardmake")
)
delife(
x,
scale = 1,
rate,
shape,
family = c("exp", "gp", "weibull", "gomp", "gompmake", "extgp", "extweibull", "perks",
"perksmake", "beard", "beardmake"),
log = FALSE
)
helife(
x,
scale = 1,
rate,
shape,
family = c("exp", "gp", "weibull", "gomp", "gompmake", "extgp", "extweibull", "perks",
"perksmake", "beard", "beardmake"),
log = FALSE
)
p |
vector of probabilities |
rate |
rate parameter(s); for models with Makeham component, the last entry should be part of the rate vector |
scale |
scale parameter |
shape |
vector of shape parameter(s). |
family |
string indicating the parametric model, one of |
lower.tail |
logical; if |
q |
vector of quantiles. |
n |
sample size |
log, log.p |
logical; if |
depending on the function type, a vector of probabilities (pelife
), quantiles (qelife
), density (delife
), or hazard (helife
). The function relife
returns a random sample of size n
from the distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.