BinomialDistribution.GetExpectedHistogram Method

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

GetExpectedHistogram(Double) Gets a vector whose bins contain the expected number of samples for a given total number of samples.
GetExpectedHistogram(Index<Interval<Int32>>, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetExpectedHistogram(Index<Int32>, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetExpectedHistogram(Int32, Int32, Double) 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.
C#
public Histogram<int> GetExpectedHistogram(
	double numberOfSamples
)

Parameters

numberOfSamples  Double
The total number of samples.

Return Value

Histogram<Int32>
A vector.

Remarks

The vector returned by this method has unit-size bins, with the lowest bin corresponding to 0 and the highest bin corresponding to NumberOfTrials.

See Also