Hypergeometric Distribution.Get Expected Histogram Method
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.