WebCab Probability and Statistics Web Services for .NET v3.3 Demo

BinomialProbabilityDistribution.ProbabilityOfRange Method 

Calculates the probability of lowerBound or lowerBound + 1 or.

public double ProbabilityOfRange(
   int lowerBoundOnNumberOfSuccesses,
   int upperBoundOnNumberOfSuccesses
);

Parameters

lowerBoundOnNumberOfSuccesses
upperBoundOnNumberOfSuccesses

Remarks

.. or upperBound, successes from the total number of trials which is set using SetNumberOfTrials.

Remark: In addition to the total number of trials being set using SetNumberOfTrials, you are also required to set the probability that any of the trials will be a successes using SetProbabilityOfASuccess.

Exceptions

Exception TypeCondition
BinomialProbabilityDistributionExceptionThrown if lowerBound or upperBound, does not lie within the interval [0,n], or if lowerBound > upperBound.

See Also

BinomialProbabilityDistribution Class | ProbabilityDistributions Namespace