Hypergeometric Distribution.Get Expected Histogram Method
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Get | Gets a vector whose bins contain the expected number of samples for a given total number of samples. |
Get | Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples. |
Get | Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples. |
Get | 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.
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 zero up to and including the smaller of TaggedPopulation and the NumberOfSamples property of the distribution.
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.