예제 #1
0
 public double cdf(double x) {
   if (x < 0.0) {
     throw new IllegalArgumentException("x value out of range");
   }
   return 2.0 * (Probability.normal(0.0, Math.PI / (2.0 * mTheta * mTheta), x) - 0.5);
 }
예제 #2
0
파일: Normal.java 프로젝트: enenuki/phd
 public double cdf(double paramDouble) {
   return Probability.normal(this.mean, this.variance, paramDouble);
 }