Gets a Histogram whose bins contain the expected number of samples for a given total number of samples.

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function GetExpectedHistogram ( _
	lowerBound As Integer, _
	upperBound As Integer, _
	numberOfSamples As Double _
) As Histogram
C#
public Histogram GetExpectedHistogram (
	int lowerBound,
	int upperBound,
	double numberOfSamples
)
C++
public:
Histogram^ GetExpectedHistogram (
	int lowerBound, 
	int upperBound, 
	double numberOfSamples
)

Parameters

lowerBound (System.Int32)
The lower bound of the histogram.
upperBound (System.Int32)
The exclusive upper bound of the histogram.
numberOfSamples (System.Double)
The total number of samples.

Return Value

A Histogram.

Remarks

This method constructs a histogram with unit bins from lowerBound up to upperBound.

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.