Statistics Type

Static members

Static member Description

Statistics.InterQuartileRange(x)

Full Usage: Statistics.InterQuartileRange(x)

Parameters:
Returns: float

x : IReadOnlyList<float>
Returns: float

Statistics.MassDistribution(x, xmass, xlow, xhigh, y, ny)

Full Usage: Statistics.MassDistribution(x, xmass, xlow, xhigh, y, ny)

Parameters:

Adapted from the R-project (www.r-project.org), Version 2.72, file massdist.c

x : IReadOnlyList<float>

xmass : IReadOnlyList<float>

xlow : float

xhigh : float

y : IVector<float>

ny : int

Statistics.Mean(x)

Full Usage: Statistics.Mean(x)

Parameters:
Returns: float

x : IReadOnlyList<float>
Returns: float

Statistics.Mean(x, ignoreNaN)

Full Usage: Statistics.Mean(x, ignoreNaN)

Parameters:
Returns: float

x : IReadOnlyList<float>
ignoreNaN : bool
Returns: float

Statistics.ProbabilityDensity(x, bw, bwSel, adjust, kernel, weights, width, widthSel, n, from, to, cut)

Full Usage: Statistics.ProbabilityDensity(x, bw, bwSel, adjust, kernel, weights, width, widthSel, n, from, to, cut)

Parameters:
    x : IReadOnlyList<float> -
    bw : float -
    bwSel : string -
    adjust : float -
    kernel : ConvolutionKernel -
    weights : IReadOnlyList<float> -
    width : float -
    widthSel : string -
    n : int -
    from : float -
    to : float -
    cut : float -

Returns: ProbabilityDensityResult

Adapted from the R-project (www.r-project.org), Version 2.72, file density.R

x : IReadOnlyList<float>

bw : float

bwSel : string

adjust : float

kernel : ConvolutionKernel

weights : IReadOnlyList<float>

width : float

widthSel : string

n : int

from : float

to : float

cut : float

Returns: ProbabilityDensityResult

Statistics.Quantile(x, f)

Full Usage: Statistics.Quantile(x, f)

Parameters:
    x : IReadOnlyList<float> - Sorted array (in ascending order) of data. No check is made whether the array is sorted or contains missing data (NaNs).
    f : float - The quantile [0,1].

Returns: float The quantile value of the array of data.

The quantile value of x.

x : IReadOnlyList<float>

Sorted array (in ascending order) of data. No check is made whether the array is sorted or contains missing data (NaNs).

f : float

The quantile [0,1].

Returns: float

The quantile value of the array of data.

Statistics.Quantile(x, f, n, stride, checkArray)

Full Usage: Statistics.Quantile(x, f, n, stride, checkArray)

Parameters:
    x : IReadOnlyList<float> - Sorted array (in ascending order) of data. No check is made whether the array is sorted or contains missing data (NaNs).
    f : float - The quantile [0,1].
    n : int - Number of values to test. Normally set to x.Length.
    stride : int - Stride. Normally set to 1.
    checkArray : bool - If true, checks the array for missing values and whether the array is sorted. An exception is thrown if the array contains missing values or is not sorted.

Returns: float The quantile value of the array of data.

The quantile value of x.

x : IReadOnlyList<float>

Sorted array (in ascending order) of data. No check is made whether the array is sorted or contains missing data (NaNs).

f : float

The quantile [0,1].

n : int

Number of values to test. Normally set to x.Length.

stride : int

Stride. Normally set to 1.

checkArray : bool

If true, checks the array for missing values and whether the array is sorted. An exception is thrown if the array contains missing values or is not sorted.

Returns: float

The quantile value of the array of data.

Statistics.StandardDeviation(x)

Full Usage: Statistics.StandardDeviation(x)

Parameters:
Returns: float

x : IReadOnlyList<float>
Returns: float