Binomial distribution cdf
double binocdf( const int iK, int n, double p, int iTail = TAILED_TEST_DISC_LOWER, int * nFail = NULL )
Returns Binomial distribution cdf
Ex1
void binocdf_ex1() { int iK[]= {99, 60, 75}; int n=100; double p=0.75; for(int ii = 0; ii<3; ii++) printf("%d: %f\n", iK[ii], binocdf(iK[ii],n,p)); }
origin.h