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
  Altaxo.Calc.StatisticsArrayStatistics

Namespace: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static class ArrayStatistics

The ArrayStatistics type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCovariance(Double, Double) 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 memberCovariance(Int32, Int32) 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 memberCovariance(Single, Single) 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(Double) 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 memberFiveNumberSummaryInplace(Single) 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 memberGeometricMean(Double) Evaluates the geometric mean of the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberGeometricMean(Int32) Evaluates the geometric mean of the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberGeometricMean(Single) Evaluates the geometric mean of the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberHarmonicMean(Double) Evaluates the harmonic mean of the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberHarmonicMean(Int32) Evaluates the harmonic mean of the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberHarmonicMean(Single) Evaluates the harmonic mean of the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberInterquartileRangeInplace(Double) 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 memberInterquartileRangeInplace(Single) 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(Double) 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 memberLowerQuartileInplace(Single) 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 largest 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 memberMaximumAbsolute(Double) Returns the largest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMaximumAbsolute(Single) Returns the largest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMaximumMagnitudePhase(Complex) Returns the largest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMaximumMagnitudePhase(Complex32) Returns the largest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMean(Double) Estimates the arithmetic sample mean from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMean(Int32) Estimates the arithmetic sample mean from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMean(Single) Estimates the arithmetic sample mean from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMeanStandardDeviation(Double) 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 memberMeanStandardDeviation(Int32) 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 memberMeanStandardDeviation(Single) 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(Double) 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 memberMeanVariance(Int32) 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 memberMeanVariance(Single) 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(Double) Estimates the median value from the unsorted data array. WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberMedianInplace(Single) 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 memberMinimumAbsolute(Double) Returns the smallest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMinimumAbsolute(Single) Returns the smallest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMinimumMagnitudePhase(Complex) Returns the smallest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberMinimumMagnitudePhase(Complex32) Returns the smallest absolute value from the unsorted data array. Returns NaN if data is empty or any entry is NaN.
Public methodStatic memberOrderStatisticInplace(Double, Int32) 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 memberOrderStatisticInplace(Single, Int32) 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(Double, Int32) 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 memberPercentileInplace(Single, Int32) 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(Double, Double) 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 memberPopulationCovariance(Int32, Int32) 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 memberPopulationCovariance(Single, Single) 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(Double) 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 memberPopulationStandardDeviation(Int32) 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 memberPopulationStandardDeviation(Single) 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(Double) 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 memberPopulationVariance(Int32) 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 memberPopulationVariance(Single) 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(Single, 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 definition 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 memberQuantileCustomInplace(Single, 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 definition 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(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. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.
Public methodStatic memberQuantileInplace(Single, 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. 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(Double, RankDefinition) 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 memberRanksInplace(Single, RankDefinition) 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(Double) 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 memberRootMeanSquare(Int32) 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 memberRootMeanSquare(Single) 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(Double) 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 memberStandardDeviation(Int32) 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 memberStandardDeviation(Single) 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(Double) 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 memberUpperQuartileInplace(Single) 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(Double) 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.
Public methodStatic memberVariance(Int32) 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.
Public methodStatic memberVariance(Single) 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