BinomialDistribution.GetExpectedHistogram Method

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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.

BinomialDistribution.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