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: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
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