Stats.MidMean Method

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

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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