public class BinomialUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static double[] |
confidenceInterval95(int mean1,
int mean2)
Calculates the 95% confidence interval for the ratio of the two menas.
|
static double[] |
wilson(int total,
int correct)
Computes the Wilson Interval
(see http://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval#Wilson_score_interval)
Given the total number of events and the number of "correct" events, returns in a double-array
in the first component the center of the Wilson interval and in the second component the
width of the interval.
|
public static double[] wilson(int total,
int correct)
public static double[] confidenceInterval95(int mean1,
int mean2)
mean1 - mean 1mean2 - mean 2Copyright © 2016. All Rights Reserved.