Stats.InterQuartileRange Method

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

InterQuartileRange(Double[]) Returns the inter-quartile range of the elements of an array.
InterQuartileRange(Int32[]) Returns the inter-quartile range of the elements of an array.
InterQuartileRange<T>(Vector<T>) Returns the inter-quartile range of the elements of a numerical variable.

InterQuartileRange(Double[])

Returns the inter-quartile range of the elements of an array.
C#
public static double InterQuartileRange(
	double[] values
)

Parameters

values  Double[]
A Double array.

Return Value

Double
The inter-quartile range of the elements of values.

Exceptions

ArgumentNullExceptionvalues is null.

InterQuartileRange(Int32[])

Returns the inter-quartile range of the elements of an array.
C#
public static double InterQuartileRange(
	int[] values
)

Parameters

values  Int32[]
An Int32 array.

Return Value

Double
The inter-quartile range of the elements of values.

Exceptions

ArgumentNullExceptionvalues is null.

InterQuartileRange<T>(Vector<T>)

Returns the inter-quartile range of the elements of a numerical variable.
C#
public static T InterQuartileRange<T>(
	this Vector<T> values
)

Parameters

values  Vector<T>
A Vector<T>.

Type Parameters

T

Return Value

T
The inter-quartile range of the elements of values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullExceptionvalues is null.

See Also