WebCab Probability and Statistics for COM v3.3 Demo

Probability.GetProbability Method 

Returns an array where the k-th term corresponds to the value of the set probability measure on the k-th event.

public double[] GetProbability();

Remarks

Recall that the probability measure has already been set using the methods SetProbability or SetProbability.

Example

If we set the probability of the occurrence of four events to be: 0.25, 0.20, 0.30, 0.25, set using one (or both) of the methods SetProbability or SetProbability. Then by calling this method will return an array of doubles containing the probabilities of the four events, namely: {0.25, 0.30, 0.30, 0.25}.

See Also

Probability Class | WebCab.COM.Statistics.DiscretePrb Namespace | SetProbability | SetProbability | Gets the reference numbers used to identify the events.