Click or drag to resize

SortedArrayStatisticsMedian(Single) Method

Estimates the median value from the sorted data array (ascending). Approximately median-unbiased regardless of the sample distribution (R8).

Namespace: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static float Median(
	float[] data
)

Parameters

data  Single
Sample array, must be sorted ascendingly.

Return Value

Single
The median of the array, or NaN if the array is empty.
See Also