Click or drag to resize

ArrayStatisticsMeanVariance(Single) Method

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.

Namespace: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (double Mean, double Variance) MeanVariance(
	float[] samples
)

Parameters

samples  Single
Sample array, no sorting is assumed.

Return Value

ValueTupleDouble, Double

[Missing <returns> documentation for "M:Altaxo.Calc.Statistics.ArrayStatistics.MeanVariance(System.Single[])"]

See Also