DiscreteDistribution<T>.GetExpectedHistogram Method

Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Histogram<T> GetExpectedHistogram(
	double numberOfSamples
)

Parameters

numberOfSamples  Double
The total number of samples.

Return Value

Histogram<T>
A histogram.

Remarks

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

See Also