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(
IntervalIndex<double> index,
double numberOfSamples
)
Public Function GetExpectedHistogram (
index As IntervalIndex(Of Double),
numberOfSamples As Double
) As Histogram(Of Interval(Of Double))
public:
Histogram<Interval<double>>^ GetExpectedHistogram(
IntervalIndex<double>^ index,
double numberOfSamples
)
member GetExpectedHistogram :
index : IntervalIndex<float> *
numberOfSamples : float -> Histogram<Interval<float>>
Parameters
- index
- Type: Extreme.DataAnalysisIntervalIndexDouble
An interval index that
specifies the bins for the histogram. - numberOfSamples
- Type: SystemDouble
The total number of samples.
Return Value
Type:
HistogramIntervalDoubleA vector.
This method constructs a vector with bounds specified by the
index parameter.
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