WebCab Probability and Statistics for COM v3.3 Demo

Probability Class

Within the Probability class we provide functionality for the study of the probabilistic properties of a discrete set of events.

For a list of all members of this type, see Probability Members.

System.Object
   Probability

public class Probability

Remarks

This class is stateful in that (most) methods require that the probability measure is set to private fields before qualitative properties of the set are evaluated.

Applying this class

Generally speaking before applying the business methods contained within this class you will need to set the probability measure.

Setting the Probability Measure

Once the probability measure on the set of possible events has been set using one of the methods:

  1. SetProbability - Sets the probability measure when the frequency of each event is known.
  2. SetProbability - Sets the probability measure when the frequency of each event is known.

Applying the Business Methods

We are able to evaluate a number of qualitative measures concerning the probabilities of sets of events. In particular, once the probability measure has been set we are able to evaluate:

  1. GetProbability - Calculates the probability of a number of independent events.
  2. ProbabilityUnion - Calculates the probability of one of the events from two collections of events.
  3. ProbabilityIntersection - Calculates the probability of the intersection of two sets of events occurring.
  4. ConditionalProbability
  5. ComplementaryProbability

The following three methods implement the intersection law and do not require the probability measure to be set:

  1. EventProbability - Probability of a set of events when the probability of another set of events and the probability of this set intersection and union with the set being considered is known.
  2. (double, double, double) - Probability of the union of two sets of events.
  3. (double, double, double) - Probability of the intersection of two sets of events.

Requirements

Namespace: WebCab.COM.Statistics.DiscretePrb

Assembly: WebCab.COM.StatisticsDemo (in WebCab.COM.StatisticsDemo.dll)

See Also

Probability Members | WebCab.COM.Statistics.DiscretePrb Namespace