Quantile Module

Module to estimate different quantile measures

Types and nested modules

Type/Module Description

InPlace

! Works inplace and can thus causes the data array to be reordered

OfSorted

! Input needs to be sorted

QuantileFunction<'a>

Functions and values

Function or value Description

california q data

Full Usage: california q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example

compute q data

Full Usage: compute q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float
Modifiers: inline

Estimates the q-th quantile from the unsorted data.
Approximately median-unbiased regardless of the sample distribution.

q : float

data : seq<float>

Returns: float

Example

computePercentiles calcMethod percentile data

Full Usage: computePercentiles calcMethod percentile data

Parameters:
    calcMethod : float -> float[] -> 'a
    percentile : seq<float> -
    data : seq<float> -

Returns: seq<'a>

Computes percentiles
percentiles: Each percentile must be between 0.0 and 1.0 (inclusive)
CalcMethod should be ofSorted array

calcMethod : float -> float[] -> 'a
percentile : seq<float>

data : seq<float>

Returns: seq<'a>

Example

empiricalInvCdf q data

Full Usage: empiricalInvCdf q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example

empiricalInvCdfAverage q data

Full Usage: empiricalInvCdfAverage q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example

hazen q data

Full Usage: hazen q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example

interQuantileRange qf data

Full Usage: interQuantileRange qf data

Parameters:
Returns: float

Computes the interquartile range (IQR)

qf : QuantileFunction<'a>
data : 'a array
Returns: float

mode q data

Full Usage: mode q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.
R! default

q : float

data : seq<float>

Returns: float

Example

nearest q data

Full Usage: nearest q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example

nist q data

Full Usage: nist q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example

normal q data

Full Usage: normal q data

Parameters:
    q : float -
    data : seq<float> -

Returns: float

Estimates the q-th quantile from the unsorted data.

q : float

data : seq<float>

Returns: float

Example