WebCab Probability and Statistics for .NET v3.3 Demo

RandomVariables.ExpectedValue Method

Evaluate the expected value of a random variable which is provided to the method directly rather than set within the internal table.

Overload List

Evaluate the expected value of a random variable which is provided to the method directly rather than set within the internal table.

public double ExpectedValue(double[],int[]);

Calculates the expected value of a random variable within the table of random variables set.

public double ExpectedValue(int);

See Also

RandomVariables Class | WebCab.Libraries.Statistics.DiscretePrb Namespace | Allowing the probabilities of the events to be evaluated when the total number of occurrences within the considered experiment is known.