Gets a vector whose bins contain the expected number of samples
for a given total number of samples.
Namespace:
Extreme.Statistics.Distributions
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Histogram<Interval<double>> GetExpectedHistogram(
double lowerBound,
double upperBound,
int numberOfBins,
double numberOfSamples
)
Public Function GetExpectedHistogram (
lowerBound As Double,
upperBound As Double,
numberOfBins As Integer,
numberOfSamples As Double
) As Histogram(Of Interval(Of Double))
public:
Histogram<Interval<double>>^ GetExpectedHistogram(
double lowerBound,
double upperBound,
int numberOfBins,
double numberOfSamples
)
member GetExpectedHistogram :
lowerBound : float *
upperBound : float *
numberOfBins : int *
numberOfSamples : float -> Histogram<Interval<float>>
Parameters
- lowerBound
- Type: SystemDouble
The lower bound of the histogram. - upperBound
- Type: SystemDouble
The upper bound of the histogram. - numberOfBins
- Type: SystemInt32
The number of bins. - numberOfSamples
- Type: SystemDouble
The total number of samples.
Return Value
Type:
HistogramIntervalDoubleA vector.
This method constructs a vector with the specified
number of bins divided equaly from lowerBound 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.
Reference