Click or drag to resize
ArrayStatisticsVariance Method
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.

Namespace:  MathNet.Numerics.Statistics
Assembly:  MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double Variance(
	double[] samples
)

Parameters

samples
Type: SystemDouble
Sample array, no sorting is assumed.

Return Value

Type: Double

[Missing <returns> documentation for "M:MathNet.Numerics.Statistics.ArrayStatistics.Variance(System.Double[])"]

See Also