Click or drag to resize
ArrayStatistics Class
Statistics operating on arrays assumed to be unsorted. WARNING: Methods with the Inplace-suffix may modify the data array by reordering its entries.
Inheritance Hierarchy
SystemObject
  MathNet.Numerics.StatisticsArrayStatistics

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static class ArrayStatistics

The ArrayStatistics type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCovariance
Estimates the unbiased population covariance from the provided two sample arrays. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN if data has less than two entries or if any entry is NaN.
Public methodStatic memberFiveNumberSummaryInplace
Estimates {min, lower-quantile, median, upper-quantile, max} from the unsorted data array. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberInterquartileRangeInplace
Estimates the inter-quartile range from the unsorted data array. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberLowerQuartileInplace
Estimates the first quartile value from the unsorted data array. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberMaximum(Double)
Returns the smallest value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMaximum(Single)
Returns the smallest value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMean
Estimates the arithmetic sample mean from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMeanStandardDeviation
Estimates the arithmetic sample mean and the unbiased population standard deviation from the provided samples as unsorted array. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN for mean if data is empty or any entry is NaN and NaN for standard deviation if data has less than two entries or if any entry is NaN.
Public methodStatic memberMeanVariance
Estimates the arithmetic sample mean and the unbiased population variance from the provided samples as unsorted array. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN for mean if data is empty or any entry is NaN and NaN for variance if data has less than two entries or if any entry is NaN.
Public methodStatic memberMedianInplace
Estimates the median value from the unsorted data array. WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberMinimum(Double)
Returns the smallest value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMinimum(Single)
Returns the smallest value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberOrderStatisticInplace
Returns the order statistic (order 1..N) from the unsorted data array. WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberPercentileInplace
Estimates the p-Percentile value from the unsorted data array. If a non-integer Percentile is needed, use Quantile instead. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberPopulationCovariance
Evaluates the population covariance from the full population provided as two arrays. On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset. Returns NaN if data is empty or if any entry is NaN.
Public methodStatic memberPopulationStandardDeviation
Evaluates the population standard deviation from the full population provided as unsorted array. On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset. Returns NaN if data is empty or if any entry is NaN.
Public methodStatic memberPopulationVariance
Evaluates the population variance from the full population provided as unsorted array. On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset. Returns NaN if data is empty or if any entry is NaN.
Public methodStatic memberQuantileCustomInplace(Double, Double, QuantileDefinition)
Estimates the tau-th quantile from the unsorted data array. The tau-th quantile is the data value where the cumulative distribution function crosses tau. The quantile definition can be specified to be compatible with an existing system. WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberQuantileCustomInplace(Double, Double, Double, Double, Double, Double)
Estimates the tau-th quantile from the unsorted data array. The tau-th quantile is the data value where the cumulative distribution function crosses tau. The quantile defintion can be specified by 4 parameters a, b, c and d, consistent with Mathematica. WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberQuantileInplace
Estimates the tau-th quantile from the unsorted data array. The tau-th quantile is the data value where the cumulative distribution function crosses tau. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberRanksInplace
Evaluates the rank of each entry of the unsorted data array. The rank definition can be specified to be compatible with an existing system. WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberRootMeanSquare
Estimates the root mean square (RMS) also known as quadratic mean from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberStandardDeviation
Estimates the unbiased population standard deviation from the provided samples as unsorted array. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN if data has less than two entries or if any entry is NaN.
Public methodStatic memberUpperQuartileInplace
Estimates the third quartile value from the unsorted data array. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberVariance
Estimates the unbiased population variance from the provided samples as unsorted array. On a dataset of size N will use an N-1 normalizer (Bessel's correction). Returns NaN if data has less than two entries or if any entry is NaN.
Top
See Also