|
CircularQuartiles Method (Double, Double, Double, Boolean, QuantileMethod)
|
Computes the circular quartiles of the given circular angles.
Namespace:
Accord.Statistics
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double Quartiles(
double[] angles,
out double q1,
out double q3,
bool wrap = true,
QuantileMethod type = QuantileMethod.Default
)
Public Shared Function Quartiles (
angles As Double(),
<OutAttribute> ByRef q1 As Double,
<OutAttribute> ByRef q3 As Double,
Optional wrap As Boolean = true,
Optional type As QuantileMethod = QuantileMethod.Default
) As Double
Request Example
View SourceParameters
- angles
- Type: SystemDouble
A double array containing the angles in radians. - q1
- Type: SystemDouble
The first quartile, as an out parameter. - q3
- Type: SystemDouble
The third quartile, as an out parameter. - wrap (Optional)
- Type: SystemBoolean
Whether range values should be wrapped to be contained in the circle. If
set to false, range values could be returned outside the [+pi;-pi] range.
- type (Optional)
- Type: Accord.StatisticsQuantileMethod
The quartile definition that should be used. See QuantileMethod for datails.
Return Value
Type:
DoubleThe median of the given angles.
See Also