View source: R/betafunctions.R
qBeta.4P | R Documentation |
Function for calculating the quantile (i.e., value of x
) for a given proportion (i.e., the value of y
) under the Four-Parameter Beta Distribution.
qBeta.4P(p, l, u, alpha, beta, lower.tail = TRUE)
p |
A vector (or single value) of proportions or probabilities for which the corresponding value of |
l |
The first (lower) location parameter. |
u |
The second (upper) location parameter. |
alpha |
The first shape parameter. |
beta |
The second shape parameter. |
lower.tail |
Logical. Whether the quantile(s) to be calculated is to be under the lower or upper tail. Default is |
A vector of quantiles for specified probabilities or proportions of observations under the four-parameter Beta distribution.
# Assume some variable follows a four-parameter Beta distribution with
# location parameters l = 0.25 and u = 0.75, and shape parameters alpha = 5
# and beta = 3. To compute the quantile at a specific point of the
# distribution (e.g., 0.5) using qBeta.4P():
qBeta.4P(p = 0.5, l = 0.25, u = 0.75, alpha = 5, beta = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.