Discrete Distribution<T>.Get Expected Histogram 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.4
C#
A histogram.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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.