WebCab Probability and Statistics for COM v3.3 Demo

NormalApproximationOfTheBinomialDistribution.SetProbabilityOfASuccess Method 

Sets the probability of a success on any one trial.

public void SetProbabilityOfASuccess(
   double probabilityOfASuccess
);

Parameters

probabilityOfASuccess
The probability of a success of any given trial. Note that the probability of any event must lie in the interval [0,1].

Exceptions

Exception TypeCondition
BinomialProbabilityDistributionExceptionThrown if the given probability is greater than 1 or less than 0.

See Also

NormalApproximationOfTheBinomialDistribution Class | WebCab.COM.Statistics.PDistributions Namespace