WebCab Probability and Statistics for .NET v3.3 Demo

NormalApproximationOfTheBinomialDistribution.SetProbabilityOfAFailure Method 

Sets the probability of a failure on any one trial.

public void SetProbabilityOfAFailure(
   double probabilityOfAFailure
);

Parameters

probabilityOfAFailure
The probability of a failure 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.Libraries.Statistics.PDistributions Namespace