FUNCTION
CDF
Returns the area from zero to x under the beta density.
Interface
#include <codecogs/statistics/distributions/continuous/beta/cdf.h>
using namespace Statistics::Distributions::Continuous::Beta;
The CDF of the Beta distribution is identical to the regularized beta function:
$$CDF(x; a, b) = I(x; a, b) = \frac{B(x; a, b)} {B(a, b)}$$
(1)
where $B(x; a, b)$ is the incomplete beta function and $B(a, b)$ is the (complete) beta function.
As an illustration is given below: \graph x=0:1 a=2 b=1:5:5 .size=medium
References
Cephes Math Library Release 2.8: June, 2000
Parameters
x
a quantile in the range of 0<=x<=1
a
first shape parameter, a >0
b
second shape parameter, b >0
Interactive Calculator
x
a
b
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.