Click or drag to resize

ArrayStatisticsVariance(Int32) 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: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double Variance(
	int[] samples
)

Parameters

samples  Int32
Sample array, no sorting is assumed.

Return Value

Double
The sample variance using Bessel's correction, or NaN if there are fewer than two samples or any sample is NaN.
See Also