예제 #1
0
 /// <summary>
 /// Returns the cumulative distribution function. </summary>
 /// <param name="x"> x </param>
 /// <returns> result </returns>
 public virtual double cdf(double x)
 {
     return(Probability.normal(mean, variance, x));
 }
예제 #2
0
 /// <summary>
 /// Returns the cumulative distribution function. </summary>
 /// <param name="x"> x </param>
 /// <returns> result </returns>
 public virtual double cdf(double x)
 {
     return(Probability.chiSquare(freedom, x));
 }