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

Probability.EventProbability Method 

Applies intersection law of discrete probability to find the probability of a collection of events.

public double EventProbability(
   double probabilityOfB,
   double probabilityOfUnion,
   double probabilityOfIntersection
);

Parameters

probabilityOfB
The probability of an event B.
probabilityOfUnion
The probability of the union of events A and B.
probabilityOfIntersection

Return Value

The probability of event within A.

Remarks

That is, we calculate the probability of an event A when the probabilities of following events are known:

  1. Probability of another event B
  2. Probability of the union the events with A and B (i.e. A U B)
  3. Probability of the events within the intersection (i.e. A \cap B)

Exceptions

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

See Also

Probability Class | DiscreteProbability Namespace