question: public static double tTest ( double t , double nu ) { double a = nu / 2.0 ; double b = 0.5 ; double x = nu / ( nu + t * t ) ; return 1.0 - betai ( a , b , x ) ; }
target:  Applies the two-sided t-test given the value of t and nu. To do this it calls betai.