# qBeta.4P

From betafunctions v1.2.2
by Haakon Haakstad

##### Quantile Given Probability Under the Four-Parameter Beta Distribution.

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.

##### Usage

`qBeta.4P(p, l, u, alpha, beta, lt = TRUE)`

##### Arguments

- p
A vector (or single value) of proportions or probabilities for which the corresponding value of

`x`

(i.e., the quantiles) are to be calculated.- l
The first (lower) location parameter.

- u
The second (upper) location parameter.

- alpha
The first shape parameter.

- beta
The second shape parameter.

- lt
Logical. Whether the quantile(s) to be calculated is to be under the lower or upper tail. Default is

`TRUE`

(lower tail).

##### Value

A vector of quantiles for specified probabilities or proportions of observations under the four-parameter beta distribution.

##### Examples

```
# NOT RUN {
# Assume some variable follows a four-parameter beta distribution with
# location parameters l = 0.25 and u = .75, and shape
# parameters alpha = 5 and beta = 3. To compute the
# quantile at a specific point of the distribution (e.g., .5)
# using qBeta.4P():
qBeta.4P(p = .5, l = .25, u = .75, alpha = 5, beta = 3)
# }
```

*Documentation reproduced from package betafunctions, version 1.2.2, License: CC0*

### Community examples

Looks like there are no examples yet.