qtweibull {iclogcondist} | R Documentation |
Quantile Function of a Truncated Weibull Distribution
Description
This function computes the quantiles of a truncated Weibull distribution for a given probability vector.
Usage
qtweibull(q, shape = 1, scale = 1, upper_bound = Inf)
Arguments
q |
A numeric vector of probabilities for which to calculate the quantiles. |
shape |
A positive numeric value representing the shape parameter of the Weibull distribution. Default is |
scale |
A positive numeric value representing the scale parameter of the Weibull distribution. Default is |
upper_bound |
A positive numeric value indicating the upper truncation point. Default is |
Value
A numeric vector of quantiles corresponding to the given probabilities in q
.
Examples
# Calculate the 0.5 quantile of a truncated Weibull distribution
qtweibull(0.5, shape = 2, scale = 1, upper_bound = 5)
[Package iclogcondist version 1.0.1 Index]