WebCab Probability and Statistics for COM v3.3 Demo

BinomialProbabilityDistribution.SetProbabilityOfASuccess Method 

Sets the probability of a success on any one trial.

public void SetProbabilityOfASuccess(
   double probabilityOfASuccess
);

Parameters

probabilityOfASuccess

Remarks

Note that the probability of a success is expressed as a decimal (i.e. 1 percent = 0.01) and hence is chosen from the closed interval [0,1].

Remark: Note that the probability of a failure of any of the trials is 1-(probSuccess), where probSuccess is the probability of a success.

Exceptions

Exception TypeCondition
BinomialProbabilityDistributionExceptionThrown if the given probability given lies outside the interval [0.1].

See Also

BinomialProbabilityDistribution Class | WebCab.COM.Statistics.PDistributions Namespace