BETAINV Function

Returns a quantile from the beta distribution.

Categories:Quantile
CAS

Syntax

BETAINV(p, a, b)

Required Arguments

p

is a numeric probability.

Range0 ≤ p ≤ 1

a

is a numeric shape parameter.

Rangea > 0

b

is a numeric shape parameter.

Rangeb > 0

Details

The BETAINV function returns the pth quantile from the beta distribution with shape parameters a and b. The probability that an observation from a beta distribution is less than or equal to the returned quantile is p.
Note: BETAINV is the inverse of the PROBBETA function.

Example

The following SAS statements produce this result:
SAS Statement
Result
data_null_;
   x=betainv(0.001, 2, 4);
   put x=;
run;
0.0101017879

See Also

Functions:
Last updated: March 16, 2017