Inverse Beta cumulative distribution function
double betainv( const double dP, double a, double b, int * nFail = NULL )
Returns the value of inverse Beta cumulative distribution function for probability, dP
EX1
void betainv_ex1() { double x[]= {0.25, 0.5, 0.75}; double a = 1.0, b =3; for(int ii = 0; ii<3; ii++) printf("%f %f %f: %f\n", x[ii], a, b, betainv(x[ii], a, b)); }
betacdf
origin.h