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

Probability.ProbabilityOfIntersection Method 

Applies the intersection law to find the find the probability of intersection of two sets of events.

public double ProbabilityOfIntersection(
   double firstProbability,
   double secondProbability,
   double unionProbability
);

Parameters

firstProbability
The probability of the first event.
secondProbability
The probability of the second event.
unionProbability
The probability of the union between the first and the second event.

Return Value

The probability of the union between the two events.

Remarks

That is, we calculates the probability of an event occurring which is contained within the intersection of two sets of events for which the probability and the probability of the union is known.

Exceptions

Exception TypeCondition
WrongProbabilityExceptionThrown if any of the measures of probability is not within [0,1].

See Also

Probability Class | DiscreteProbability Namespace