Stats Methods

Methods

Autocorrelation(Double[]) Gets the lag-1 auto-correlation of the elements of an array.
Autocorrelation(Vector<Double>) Gets the lag-1 auto-correlation of the elements of a vector.
Autocorrelation(Double[], Int32) Gets the auto-correlation of the elements of an array.
Autocorrelation(Vector<Double>, Int32) Gets the auto-correlation of the elements of a vector.
AverageAbsoluteDeviation Returns the mean absolute deviation from the mean of a variable.
BlomScores(IList<Double>) Returns the Blom scores corresponding to the specified ranks.
BlomScores(IList<Int32>) Returns the Blom scores corresponding to the specified ranks.
CentralMoment<T>(T[], Int32) Returns the specified central moment of the elements of an array.
CentralMoment<T>(Vector<T>, Int32) Returns the specified central moment of the elements of a vector.
CoefficientOfVariation Gets the coefficient of variation of a variable, if it exists.
ColumnMeans<T> Returns a vector containing the means of the columns of a matrix.
ColumnStandardDeviations Returns a vector containing the standard deviations of the columns of a matrix.
ColumnVariances Returns a vector containing the variances of the columns of a matrix.
Correlation<T>(ValueTuple<Vector<T>, Vector<T>>) Gets the Pearson correlation coefficient between two sets of values.
Correlation<T>(Vector<T>, Vector<T>) Gets the Pearson correlation coefficient between two sets of values.
Correlation<T>(T[], T[], Boolean) Gets the Pearson correlation coefficient between two arrays.
Correlation<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Boolean) Gets the Pearson correlation coefficient between two arrays.
CorrelationAs<T, TResult>(Vector<T>, Vector<T>) Gets the Pearson correlation coefficient between two sets of values.
CorrelationAs<T, TResult>(ReadOnlySpan<T>, ReadOnlySpan<T>, Boolean) Gets the Pearson correlation coefficient between two arrays.
CorrelationMatrix(IList<Vector<Double>>) Returns the correlation matrix for a list of numerical variables.
CorrelationMatrix(ReadOnlySpan<Vector<Double>>) Returns the correlation matrix for an array of numerical variables.
CorrelationMatrix(Vector<Double>[]) Returns the correlation matrix for an array of numerical variables.
CorrelationMatrix<T>(Matrix<T>) Returns the correlation matrix for the columns in a matrix.
Covariance<T>(ValueTuple<Vector<T>, Vector<T>>) Gets the covariance between two sets of values.
Covariance<T>(Vector<T>, Vector<T>) Gets the covariance between two sets of values.
Covariance<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Boolean) Gets the covariance between two sets of values.
CovarianceAs<T, TResult>(Vector<T>, Vector<T>) Gets the covariance between two sets of values.
CovarianceAs<T, TResult>(ReadOnlySpan<T>, ReadOnlySpan<T>, Boolean) Gets the covariance between two sets of values.
CovarianceMatrix(IList<Vector<Double>>) Returns the covariance matrix for a list of numerical variables.
CovarianceMatrix(ReadOnlySpan<Vector<Double>>) Returns the covariance matrix for an array of numerical variables.
CovarianceMatrix(Vector<Double>[]) Returns the covariance matrix for an array of numerical variables.
CovarianceMatrix<T>(Matrix<T>, MultipleMissingValueAction) Returns the covariance matrix for the columns in a matrix.
GeometricMean(Double[]) Returns the geometric mean of the elements of an array.
GeometricMean(Int32[]) Returns the geometric mean of the elements of an array.
GeometricMean(Vector<Double>) Returns the geometric mean of the elements of a vector.
GeometricMean<T>(Vector<T>) Returns the geometric mean of the elements of a numerical variable.
GetKurtosisEstimate(Vector<Double>) Returns an estimate for the kurtosis of the variable.
GetKurtosisEstimate(ReadOnlySpan<Double>, Boolean) Returns an estimate for the kurtosis of the elements of a span.
GetMeanEstimate(Vector<Double>) Returns an estimate for the mean of the variable.
GetMeanEstimate(ReadOnlySpan<Double>, Boolean) Returns an estimate for the mean of the values in a span.
GetSkewnessEstimate(Vector<Double>) Returns an estimate for the skewness of a variable.
GetSkewnessEstimate(ReadOnlySpan<Double>, Boolean) Returns an estimate for the skewness of the elements of a span.
GetStandardDeviationEstimate(Vector<Double>) Returns an estimate for the standard deviation of the variable.
GetStandardDeviationEstimate(ReadOnlySpan<Double>, Boolean) Returns an estimate for the standard deviation of the elements of a span.
HarmonicMean(Int32[]) Returns the harmonic mean of the elements of an array.
HarmonicMean<T>(T[]) Returns the harmonic mean of the elements of an array.
HarmonicMean<T>(ReadOnlySpan<T>) Returns the harmonic mean of the elements of a span.
HarmonicMean<T>(Vector<T>) Returns the harmonic mean of the elements of a vector.
HarmonicMeanAs<T, TResult> Returns the harmonic mean of the elements of a vector.
InterQuartileRange(Double[]) Returns the inter-quartile range of the elements of an array.
InterQuartileRange(Int32[]) Returns the inter-quartile range of the elements of an array.
InterQuartileRange<T>(Vector<T>) Returns the inter-quartile range of the elements of a numerical variable.
KendallTau<T>(IList<T>, IList<T>) Returns Kendall's tau-b correlation coefficient between two sets of values.
KendallTau<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) Returns Kendall's tau-b correlation coefficient between two sets of values.
Kurtosis<T>(Vector<T>) Returns the kurtosis supplement of the elements of a vector.
Kurtosis<T>(T[], Boolean) Returns the kurtosis supplement of the elements of an array.
Kurtosis<T>(IEnumerable<T>, Boolean) Returns the kurtosis supplement of the elements of an array.
Kurtosis<T>(ReadOnlySpan<T>, Boolean) Returns the kurtosis supplement of the elements of a span.
KurtosisAs<T, TResult>(Vector<T>) Returns the kurtosis supplement of the elements of an array.
KurtosisAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the kurtosis supplement of the elements of a span.
Max(Double[]) Returns the maximum value of the elements of an array.
Max<T>(IList<T>) Returns the maximum value of the elements of a list.
Max<T>(IList<T>, IComparer<T>) Returns the maximum value of the elements of an array.
Mean(DateTime[]) Returns the mean of the elements of an array of DateTime values.
Mean<T>(Vector<T>) Returns the mean of the elements of a vector.
Mean<T>(T[], Boolean) Returns the mean of the elements of a read-only span.
Mean<T>(IEnumerable<T>, Boolean) Returns the mean of the elements of a sequence.
Mean<T>(ReadOnlySpan<T>, Boolean) Returns the mean of the elements of a read-only span.
MeanAs<T, TResult>(Vector<T>) Returns the mean of the elements of a vector.
MeanAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the mean of the elements of a read-only span as a value of the specified type.
Median(Int32[]) Returns the median of the elements of an array.
Median<T>(IList<T>) Returns the median of the elements of an array.
Median<T>(Vector<T>) Returns the median of the elements of a vector.
Median<T>(T[], Boolean) Returns the median of the elements of an array.
Median<T>(ReadOnlySpan<T>, Boolean) Returns the median of the elements of a span.
MedianAbsoluteDeviation Returns the median absolute deviation of a variable.
MidMean Returns the mean of the data values between the 25th and 75th percentiles.
Min(Double[]) Returns the minimum value of the elements of an array.
Min<T>(IList<T>) Returns the minimum value of the elements of a list.
Min<T>(IList<T>, IComparer<T>) Returns the maximum value of the elements of an array.
MinMax<T>(Vector<T>) Returns the minimum and maximum value of the elements of a numerical variable.
MinMax<T>(IEnumerable<T>, Boolean) Returns the maximum value of the elements of a sequence.
MinMax<T>(IEnumerable<T>, IComparer<T>, Boolean) Returns the smallest and largest value of the elements of an array.
Moment(Int32[], Int32) Returns the specified raw moment of the elements of an array.
Moment<T>(T[], Int32) Returns the specified raw moment of the elements of an array.
Moment<T>(Vector<T>, Int32) Returns the specified raw moment of the elements of an array.
NearestCorrelationMatrix(SymmetricMatrix<Double>) Returns a positive semi-definite matrix close to a matrix.
NearestCorrelationMatrix(SymmetricMatrix<Double>, NearestCorrelationMatrixAlgorithm) Returns a positive semi-definite matrix close to a matrix.
NearestCorrelationMatrix(SymmetricMatrix<Double>, NearestCorrelationMatrixAlgorithm, Double, Int32, Double) Returns a positive semi-definite matrix close to a matrix.
Percentile(Double[], Int32) Gets the specified percentile.
Percentile(Vector<Double>, Double) Gets the specified percentile.
Percentile<T>(Vector<T>, Int32, QuantileType) Gets the specified percentile.
Percentiles(Double[], Int32[]) Gets the specified percentiles.
Percentiles(Vector<Double>, Int32[]) Gets the specified percentiles.
Percentiles(Vector<Double>, ReadOnlySpan<Int32>) Gets the specified percentiles.
Percentiles<T>(Vector<T>, Int32[]) Gets the specified percentiles.
PopulationKurtosis<T>(Vector<T>) Returns the kurtosis supplement of the elements of an array.
PopulationKurtosis<T>(T[], Boolean) Returns the kurtosis supplement of the elements of an array.
PopulationKurtosis<T>(IEnumerable<T>, Boolean) Returns the kurtosis supplement of a sequence.
PopulationKurtosis<T>(ReadOnlySpan<T>, Boolean) Returns the kurtosis supplement of the elements of an array.
PopulationKurtosisAs<T, TResult>(Vector<T>) Returns the kurtosis supplement of the elements of an array.
PopulationKurtosisAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the kurtosis supplement of the elements of an array.
PopulationSkewness<T>(Vector<T>) Returns the population skewness of the elements of an array.
PopulationSkewness<T>(T[], Boolean) Returns the population skewness of the elements of an array.
PopulationSkewness<T>(IEnumerable<T>, Boolean) Returns the population skewness of a sequence.
PopulationSkewness<T>(ReadOnlySpan<T>, Boolean) Returns the population skewness of the elements of a span.
PopulationSkewnessAs<T, TResult>(Vector<T>) Returns the population skewness of the elements of an array.
PopulationSkewnessAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the population skewness of the elements of a span.
PopulationStandardDeviation(DateTime[]) Returns the population standard deviation of the elements of an array.
PopulationStandardDeviation(Vector<DateTime>) Returns the population standard deviation of the elements of a numerical variable.
PopulationStandardDeviation<T>(Vector<T>) Returns the population standard deviation of the elements of a vector.
PopulationStandardDeviation<T>(T[], Boolean) Returns the population standard deviation of the elements of an array.
PopulationStandardDeviation<T>(IEnumerable<T>, Boolean) Returns the population standard deviation of the elements of an array.
PopulationStandardDeviation<T>(ReadOnlySpan<T>, Boolean) Returns the population standard deviation of the elements of a span.
PopulationStandardDeviationAs<T, TResult>(Vector<T>) Returns the population standard deviation of the elements of a vector.
PopulationStandardDeviationAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the population standard deviation of the elements of a span.
PopulationVariance<T>(Vector<T>) Returns the variance of the elements of a vector.
PopulationVariance<T>(T[], Boolean) Returns the variance of the elements of an array.
PopulationVariance<T>(IEnumerable<T>, Boolean) Returns the variance of the elements of an array.
PopulationVariance<T>(ReadOnlySpan<T>, Boolean) Returns the variance of the elements of a span.
PopulationVarianceAs<T, TResult>(Vector<T>) Returns the variance of the elements of a vector.
PopulationVarianceAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the variance of the elements of a span.
ProcessMissingValues(Double[], MissingValueAction) Applies the specified action to the missing values in the values.
ProcessMissingValues(Vector<Double>, MissingValueAction) Applies the specified action to the missing values in the values.
ProcessMissingValues(Double[], MissingValueAction, Double) Applies the specified action to the missing values in the values.
ProcessMissingValues(Vector<Double>, MissingValueAction, Double) Applies the specified action to the missing values in the values.
ProcessMissingValues(Double[], Double, MissingValueAction, Double) Applies the specified action to the missing values in the values.
ProcessMissingValues(Vector<Double>, Double, MissingValueAction, Double) Applies the specified action to the missing values in the values.
Quantile Gets the specified quantile.
Quantiles(Double[], Double[]) Gets the specified quantiles.
Quantiles(Vector<Double>, Double[]) Gets the specified quantiles.
Quantiles(Vector<Double>, ReadOnlySpan<Double>) Gets the specified quantiles.
Quantiles<T>(Vector<T>, Double[]) Gets the specified quantiles.
Range<T>(T[]) Returns the range of the elements of an array.
Range<T>(Vector<T>) Returns the range of the elements of a numerical variable.
RankCorrelation(Vector<Double>, Vector<Double>) Gets the Spearman rank correlation coefficient between two sets of values.
RankCorrelation<T>(T[], T[]) Gets the Spearman rank correlation coefficient between two sets of values.
Ranks(DateTime[]) Returns the ranks of the observations.
Ranks(Vector<Double>) Returns the ranks of the observations.
Ranks(DateTime[], RankTiebreaker, TimeSpan) Returns the ranks of the observations.
Ranks<T>(T[]) Returns the ranks of the observations.
Ranks<T>(T[], RankTiebreaker, T) Returns the ranks of the observations.
Ranks<T>(ReadOnlySpan<T>, RankTiebreaker, T) Returns the ranks of the observations.
Ranks<T>(Vector<T>, RankTiebreaker, T) Returns the ranks of the observations.
RootMeanSquare(DateTime[]) Returns the root-mean-square of the elements of an array.
RootMeanSquare(Double[]) Returns the root-mean-square of the elements of an array.
RootMeanSquare(Int32[]) Returns the root-mean-square of the elements of an array.
RootMeanSquare(Vector<Double>) Returns the root-mean-square of the elements of a vector.
RowMeans<T> Returns a vector containing the means of the rows of a matrix.
RowStandardDeviations Returns a vector containing the standard deviations of the rows of a matrix.
RowVariances Returns a vector containing the variances of the rows of a matrix.
Skewness<T>(Vector<T>) Returns the skewness of the elements of an array.
Skewness<T>(T[], Boolean) Returns the skewness of the elements of an array.
Skewness<T>(IEnumerable<T>, Boolean) Returns the skewness of a sequence.
Skewness<T>(ReadOnlySpan<T>, Boolean) Returns the skewness of the elements of a span.
SkewnessAs<T, TResult>(Vector<T>) Returns the skewness of the elements of an array.
SkewnessAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the skewness of the elements of a span.
StandardDeviation(DateTime[]) Returns the standard deviation of the elements of an array.
StandardDeviation(Vector<DateTime>) Returns the standard deviation of the elements of a numerical variable.
StandardDeviation<T>(Vector<T>) Returns the standard deviation of the elements of a vector.
StandardDeviation<T>(T[], Boolean) Returns the standard deviation of the elements of an array.
StandardDeviation<T>(IEnumerable<T>, Boolean) Returns the standard deviation of the elements of a sequence.
StandardDeviation<T>(ReadOnlySpan<T>, Boolean) Returns the standard deviation of the elements of a span.
StandardDeviationAs<T, TResult>(Vector<T>) Returns the standard deviation of the elements of a vector.
StandardDeviationAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the standard deviation of the elements of a vector.
Sum<T>(T[], Boolean) Returns the sum of the elements of an array.
Sum<T>(IEnumerable<T>, Boolean) Returns the sum of the elements of a sequence.
Sum<T>(ReadOnlySpan<T>, Boolean) Returns the sum of the elements of a span.
SumAs<T, TResult>(Vector<T>) Returns the sum of the elements of a vector.
SumAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the sum of the elements of a span.
SumOfSquares(Double[]) Returns the sum of the squares of the elements of an array.
SumOfSquares(IEnumerable<Double>) Returns the sum of the squares of the elements of an array.
SumOfSquares(Int32[]) Returns the sum of the squares of the elements of an array.
SumOfSquares<T>(Vector<T>) Returns the sum of the squares of the observations in a Vector<T>.
TrimmedMean(Double[], Double) Returns the trimmed mean of the elements of an array.
TrimmedMean(Vector<Double>, Double) Returns the trimmed mean of the elements of a vector.
TrimmedMean<T>(T[], Double) Returns the trimmed mean of the elements of a numerical variable.
TrimmedMean<T>(Vector<T>, Double) Returns the trimmed mean of the elements of a numerical variable.
TukeyScores(IList<Double>) Returns the Tukey scores corresponding to the specified ranks.
TukeyScores(IList<Int32>) Returns the Tukey scores corresponding to the specified ranks.
VanDerWaerdenScores(IList<Double>) Returns the van der Waerden scores corresponding to the specified ranks.
VanDerWaerdenScores(IList<Int32>) Returns the van der Waerden scores corresponding to the specified ranks.
Variance<T>(Vector<T>) Returns the variance of the elements of a vector.
Variance<T>(T[], Boolean) Returns the variance of the elements of an array.
Variance<T>(IEnumerable<T>, Boolean) Returns the variance of the elements of a sequence.
Variance<T>(ReadOnlySpan<T>, Boolean) Returns the variance of the elements of a span.
VarianceAs<T, TResult>(Vector<T>) Returns the variance of the elements of a span.
VarianceAs<T, TResult>(ReadOnlySpan<T>, Boolean) Returns the variance of the elements of a span.
WeightedMean<T> Returns the mean of the variable with observations weighted by the specified vector.
WeightedStandardDeviation<T>(Vector<T>, Vector<T>) Returns the standard deviation of the variable with observations weighted by the specified vector.
WeightedStandardDeviation<T>(T[], T[], Boolean) Returns the standard deviation of the array with observations weighted by the specified array.
WeightedStandardDeviation<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Boolean) Returns the standard deviation of the variable with observations weighted by the specified vector.
WinsorizedMean Returns the Winsorized mean of the variable..

See Also