/** * 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)); }
public double getVariance() { return NegativeBinomialDist.getVariance(n, p); }
public double getStandardDeviation() { return NegativeBinomialDist.getStandardDeviation(n, p); }
public double getMean() { return NegativeBinomialDist.getMean(n, p); }