DiscreteUniformDistribution.GetExpectedHistogram Method

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

GetExpectedHistogram(Double) Gets a vector whose bins contain the expected number of samples for a given total number of samples.
GetExpectedHistogram(Index<Interval<Int32>>, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetExpectedHistogram(Index<Int32>, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetExpectedHistogram(Int32, Int32, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.

GetExpectedHistogram(Double)

Gets a vector whose bins contain the expected number of samples for a given total number of samples.
C#
public Histogram<int> GetExpectedHistogram(
	double numberOfSamples
)

Parameters

numberOfSamples  Double
The total number of samples.

Return Value

Histogram<Int32>
A vector.

Remarks

This method constructs a histogram with unit bins from MinValue up to MaxValue.

The total in each bin is the expectation value of the number of samples in the bin when numberOfSamples samples are taken from the distribution.

See Also