predict_prob: Estimation of Failure Probabilities for Parametric Lifetime Distributions
Description
This function estimates the failure probabilities for a given set of
estimated location-scale parameters and specified quantiles.
Usage
predict_prob(q, loc_sc_params, distribution = c("weibull", "lognormal",
"loglogistic"))
Arguments
q
a numeric vector which consists of lifetime data.
loc_sc_params
a (named) numeric vector of estimated location
and scale parameters for a specified distribution. The order of
elements is important. First entry needs to be the location
parameter \(\mu\) and the second element needs to be the scale
parameter \(\sigma\).
distribution
supposed distribution of the random variable. The
value can be "weibull", "lognormal" or "loglogistic".
Other distributions have not been implemented yet.
Value
A vector containing the estimated failure probabilities for a given
set of quantiles and estimated parameters.