public class NormalApproximationInterval extends Object implements BinomialConfidenceInterval
| Constructor and Description | 
|---|
| NormalApproximationInterval() | 
| Modifier and Type | Method and Description | 
|---|---|
| ConfidenceInterval | createInterval(int numberOfTrials,
              int numberOfSuccesses,
              double confidenceLevel)Create a confidence interval for the true probability of success
 of an unknown binomial distribution with the given observed number
 of trials, successes and confidence level. | 
public ConfidenceInterval createInterval(int numberOfTrials, int numberOfSuccesses, double confidenceLevel)
Preconditions:
numberOfTrials must be positivenumberOfSuccesses may not exceed numberOfTrialsconfidenceLevel must be strictly between 0 and 1 (exclusive)createInterval in interface BinomialConfidenceIntervalnumberOfTrials - number of trialsnumberOfSuccesses - number of successesconfidenceLevel - desired probability that the true probability of
        success falls within the returned intervalconfidenceLevelCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.