Gets a vector containing a histogram of 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[] bounds,
double numberOfSamples
)
Public Function GetExpectedHistogram (
bounds As Double(),
numberOfSamples As Double
) As Histogram(Of Interval(Of Double))
public:
Histogram<Interval<double>>^ GetExpectedHistogram(
array<double>^ bounds,
double numberOfSamples
)
member GetExpectedHistogram :
bounds : float[] *
numberOfSamples : float -> Histogram<Interval<float>>
Parameters
- bounds
- Type: SystemDouble
An array of double-precision
floating-point numbers specifying the lower bounds of
the bins and the upper bound of the last bin. - numberOfSamples
- Type: SystemDouble
The total number of samples.
Return Value
Type:
HistogramIntervalDoubleA vector.
This method constructs a vector with bounds specified by the
bounds parameter. The elements of this array must be in ascending order.
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