Displaying 1 result from an estimated 1 matches for "incbd".
Did you mean:
incb
1997 Apr 30
2
R-alpha: New Incomplete Beta Function
...Incomplete Beta Integral
*
* Taken from Cephes Math Library, Release 2.3: March, 1995
* Copyright 1984, 1995 by Stephen L. Moshier
* Changes for R : Copyright 1997 by Ross Ihaka
*/
#include <math.h>
#include <float.h>
#include <errno.h>
static double incbcf(), incbd(), pseries();
static double big = 4.503599627370496e15;
static double biginv = 2.22044604925031308085e-16;
double pbeta(double xx, double aa, double bb)
{
double a, b, t, x, xc, w, y;
int flag;
if (aa <= 0 || bb <= 0)
goto domerr;
if (xx <= 0 || xx >= 1) {
if (xx == 0)
r...