Stats.MidMean Method

Returns the mean of the data values between the 25th and 75th percentiles.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static double MidMean(
	Vector<double> values
)

Parameters

values  Vector<Double>
A Vector<T> of Double.

Return Value

Double
The mid-mean of the variable.

Remarks

The mid-mean is the mean of the middle 50% of the data values, between the 25th and the 75th percentile. To obtain the mean for a different range of data values, use the TrimmedMean<T>(Vector<T>, Double) method.

See Also