BETAINV Function
Returns a quantile from the beta distribution.
| Categories: | Quantile |
| CAS |
Syntax
Required Arguments
p
is a numeric probability.
| Range | 0 ≤ p ≤ 1 |
a
is a numeric shape parameter.
| Range | a > 0 |
b
is a numeric shape parameter.
| Range | b > 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:
Copyright © SAS Institute Inc. All Rights Reserved.
Last updated: March 16, 2017