Click or drag to resize

SortedArrayStatisticsMedian(Double) 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 double Median(
	double[] data
)

Parameters

data  Double
Sample array, must be sorted ascendingly.

Return Value

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