(double t)
| 56 | |
| 57 | |
| 58 | @Override |
| 59 | public double cdf(double t) |
| 60 | { |
| 61 | double x = df/(df + pow((t-mu)/sig, 2)); |
| 62 | |
| 63 | double p = betaIncReg(x, df/2, 0.5)/2; |
| 64 | |
| 65 | if( t > mu) |
| 66 | return 1 - p; |
| 67 | else |
| 68 | return p; |
| 69 | } |
| 70 | |
| 71 | @Override |
| 72 | public double invCdf(double p) |
nothing calls this directly
no test coverage detected