Evaluates the cumulative distribution function of the Binomial distribution.
3
is given then the probability of 0
, 1
, 2
, or 3
success is evaluated and the sum of these probabilities is returned.Before this method is called it is necesary to set the total number of trials and the probability of each of the trials being a successes using SetNumberOfTrials and SetProbabilityOfASuccess, respectively.
This cumulative distribution function evaluates the probability of 0
or
1
or ... or numberOfSuccesses
successes occuring during the
trials, where the number of trials considered is set using SetNumberOfTrials, and
the probability of each of these trials being a success is set using SetProbabilityOfASuccess.
Exception Type | Condition |
---|---|
BinomialProbabilityDistributionException | Thrown if numberOfSuccesses does not lie within the interval [0,n] . |
BinomialProbabilityDistribution Class | WebCab.COM.Statistics.PDistributions Namespace