Пример #1
0
 /**
  * Computes and returns the standard deviation of the negative binomial distribution with
  * parameters <SPAN CLASS="MATH"><I>n</I></SPAN> and <SPAN CLASS="MATH"><I>p</I></SPAN>.
  *
  * @return the standard deviation of the negative binomial distribution
  */
 public static double getStandardDeviation(double n, double p) {
   return Math.sqrt(NegativeBinomialDist.getVariance(n, p));
 }
Пример #2
0
 public double getVariance() {
   return NegativeBinomialDist.getVariance(n, p);
 }
Пример #3
0
 public double getStandardDeviation() {
   return NegativeBinomialDist.getStandardDeviation(n, p);
 }
Пример #4
0
 public double getMean() {
   return NegativeBinomialDist.getMean(n, p);
 }