Header menu logo Deedle

Stats Type

Table of contents

Other module members

Static members

Static member Description

Stats.count frame

Full Usage: Stats.count frame

Parameters:
Returns: Series<'C, int>

For each column, returns the number of the values in the column. This excludes missing values and values created from `Double.NaN` etc. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, int>

Stats.count series

Full Usage: Stats.count series

Parameters:
Returns: int
Modifiers: inline
Type parameters: 'K, 'V

Returns the number of the values in a series. This excludes missing values and values created from `Double.NaN` etc. Series statistics

series : Series<'K, 'V>
Returns: int

Stats.describe frame

Full Usage: Stats.describe frame

Parameters:
Returns: Frame<string, 'C>

Returns a frame with summary statistics (unique count, mean, standard deviation, min, lower quartile, median, upper quartile, max) for each numerical column of the input frame. Only columns convertible to float are included; the row keys of the result are the statistic names ("unique", "mean", "std", "min", "0.25", "0.5", "0.75", "max"). Frame statistics

frame : Frame<'R, 'C>
Returns: Frame<string, 'C>

Stats.describe series

Full Usage: Stats.describe series

Parameters:
Returns: Series<string, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns the series of main statistic values of the series. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: Series<string, float>

Stats.expandingCount series

Full Usage: Stats.expandingCount series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains counts over expanding windows (the value for a given key is calculated from all elements with smaller keys). Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingKurt series

Full Usage: Stats.expandingKurt series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains kurtosis over expanding windows (the value for a given key is calculated from all elements with smaller keys); If the entire window contains fewer than 4 values, the result is missing. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingMax series

Full Usage: Stats.expandingMax series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains maximum over an expanding window. The value for a key _k_ in the returned series is the maximum from all elements with smaller keys. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingMean series

Full Usage: Stats.expandingMean series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains means over expanding windows (the value for a given key is calculated from all elements with smaller keys); If the entire window contains no values, the result is missing. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingMedian series

Full Usage: Stats.expandingMedian series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains median over an expanding window. The value for a key _k_ in the returned series is the median from all elements with smaller keys. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingMin series

Full Usage: Stats.expandingMin series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains minimum over an expanding window. The value for a key _k_ in the returned series is the minimum from all elements with smaller keys. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingSkew series

Full Usage: Stats.expandingSkew series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains skewness over expanding windows (the value for a given key is calculated from all elements with smaller keys); If the entire window contains fewer than 3 values, the result is missing. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingStdDev series

Full Usage: Stats.expandingStdDev series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains standard deviation over expanding windows (the value for a given key is calculated from all elements with smaller keys); If the entire window contains fewer than 2 values, the result is missing. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingSum series

Full Usage: Stats.expandingSum series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains sums over expanding windows (the value for a given key is calculated from all elements with smaller keys); If the entire window contains no values, the result is 0. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.expandingVariance series

Full Usage: Stats.expandingVariance series

Parameters:
Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains variance over expanding windows (the value for a given key is calculated from all elements with smaller keys); If the entire window contains fewer than 2 values, the result is missing. Expanding windows

series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.kurt frame

Full Usage: Stats.kurt frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the kurtosis of the values in a series. The function skips over missing values and `NaN` values. When there are less than 4 values, the result is NaN. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.kurt series

Full Usage: Stats.kurt series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the kurtosis of the values in a series. The function skips over missing values and `NaN` values. When there are less than 4 values, the result is NaN. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.levelCount level series

Full Usage: Stats.levelCount level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, int>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the number of the values in the group. This excludes missing values and values created from `Double.NaN` etc. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, int>

Stats.levelKurt level series

Full Usage: Stats.levelKurt level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the kurtosis of the values in a series. The function skips over missing values and `NaN` values. When there are less than 4 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelMax level series

Full Usage: Stats.levelMax level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the maximum of the values in the group. The function skips over missing values and `NaN` values. When the group contains no values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelMean level series

Full Usage: Stats.levelMean level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the mean of the values in the group. The function skips over missing values and `NaN` values. When there are no available values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelMedian level series

Full Usage: Stats.levelMedian level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the median of the values in the group. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelMin level series

Full Usage: Stats.levelMin level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the minimum of the values in the group. The function skips over missing values and `NaN` values. When the group contains no values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelSkew level series

Full Usage: Stats.levelSkew level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the skewness of the values in a series. The function skips over missing values and `NaN` values. When there are less than 3 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelStdDev level series

Full Usage: Stats.levelStdDev level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the standard deviation of the values in the group. The function skips over missing values and `NaN` values. When there are less than 2 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelSum level series

Full Usage: Stats.levelSum level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the sum of the values in the group. The function skips over missing values and `NaN` values. When there are no available values, the result is 0. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.levelVariance level series

Full Usage: Stats.levelVariance level series

Parameters:
    level : 'K -> 'L
    series : Series<'K, 'V>

Returns: Series<'L, float>
Modifiers: inline
Type parameters: 'K, 'L, 'V

For each group with equal keys at the level specified by `level`, returns the variance of the values in the group. The function skips over missing values and `NaN` values. When there are less than 2 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Multi-level statistics

level : 'K -> 'L
series : Series<'K, 'V>
Returns: Series<'L, float>

Stats.max frame

Full Usage: Stats.max frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the maximal values as a series. The function skips over missing and `NaN` values. When there are no values, the result is `NaN`. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.max series

Full Usage: Stats.max series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the maximum of the values in a series. The result is an float value. When the series contains no values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.maxBy f series

Full Usage: Stats.maxBy f series

Parameters:
    f : 'T -> 'a
    series : Series<'K, 'T>

Returns: ('K * 'T) option
Modifiers: inline
Type parameters: 'T, 'a, 'K

Returns the key and value of the greatest element in the series. The result is an optional value. When the series contains no values, the result is `None`. Series statistics

f : 'T -> 'a
series : Series<'K, 'T>
Returns: ('K * 'T) option

Stats.mean frame

Full Usage: Stats.mean frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the mean of the values in the column. The function skips over missing values and `NaN` values. When there are no available values, the result is NaN. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.mean series

Full Usage: Stats.mean series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the mean of the values in a series. The function skips over missing values and `NaN` values. When there are no available values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.median frame

Full Usage: Stats.median frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the median of the values in the column. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.median series

Full Usage: Stats.median series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the median of the elements of the series. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.min frame

Full Usage: Stats.min frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the minimal values as a series. The function skips over missing and `NaN` values. When there are no values, the result is `NaN`. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.min series

Full Usage: Stats.min series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the minimum of the values in a series. The result is an float value. When the series contains no values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.minBy f series

Full Usage: Stats.minBy f series

Parameters:
    f : 'T -> 'a
    series : Series<'K, 'T>

Returns: ('K * 'T) option
Modifiers: inline
Type parameters: 'T, 'a, 'K

Returns the key and value of the least element in the series. The result is an optional value. When the series contains no values, the result is `None`. Series statistics

f : 'T -> 'a
series : Series<'K, 'T>
Returns: ('K * 'T) option

Stats.movingCount size series

Full Usage: Stats.movingCount size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains counts over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is 0. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingKurt size series

Full Usage: Stats.movingKurt size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains kurtosis over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is also missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingMax size series

Full Usage: Stats.movingMax size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains maximum over a moving window of the specified size. The first `size-1` elements are calculated using smaller windows spanning over `1 .. size-1` values. If the entire window contains missing values, the result is missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingMean size series

Full Usage: Stats.movingMean size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains means over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is also missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingMedian size series

Full Usage: Stats.movingMedian size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains median over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is also missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingMin size series

Full Usage: Stats.movingMin size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains minimum over a moving window of the specified size. The first `size-1` elements are calculated using smaller windows spanning over `1 .. size-1` values. If the entire window contains missing values, the result is missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingSkew size series

Full Usage: Stats.movingSkew size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains skewness over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is also missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingStdDev size series

Full Usage: Stats.movingStdDev size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains standard deviations over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is also missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingSum size series

Full Usage: Stats.movingSum size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains sums over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is 0. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is notconvertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.movingVariance size series

Full Usage: Stats.movingVariance size series

Parameters:
    size : int
    series : Series<'K, 'V>

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns a series that contains variance over a moving window of the specified size. The first `size-1` elements of the returned series are always missing; if the entire window contains missing values, the result is also missing. Throws a `FormatException` or an `InvalidCastException` if the value type of the specified series is not convertible to floating point number. Moving windows

size : int
series : Series<'K, 'V>
Returns: Series<'K, float>

Stats.numSum series

Full Usage: Stats.numSum series

Parameters:
Returns: ^V
Modifiers: inline
Type parameters: 'K, ^V

Sum that operates only any appropriate numeric type. When there are no available values, the result is zero of the approriate numeric type. Series statistics

series : Series<'K, ^V>
Returns: ^V

Stats.quantile (quantiles, series)

Full Usage: Stats.quantile (quantiles, series)

Parameters:
    quantiles : float[]
    series : Series<'K, 'V>

Returns: Series<string, float>
Modifiers: inline
Type parameters: 'K, 'V

Returns the series of quantiles of the series. Excel version of quantile, equivalent to QuantileDefinition.R7 from Math.Net Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

quantiles : float[]
series : Series<'K, 'V>
Returns: Series<string, float>

Stats.skew frame

Full Usage: Stats.skew frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the skewness of the values in a series. The function skips over missing values and `NaN` values. When there are less than 3 values, the result is NaN. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.skew series

Full Usage: Stats.skew series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the skewness of the values in a series. The function skips over missing values and `NaN` values. When there are less than 3 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.stdDev frame

Full Usage: Stats.stdDev frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the standard deviation of the values in the column. The function skips over missing values and `NaN` values. When there are less than 2 values, the result is NaN. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.stdDev series

Full Usage: Stats.stdDev series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the standard deviation of the values in a series. The function skips over missing values and `NaN` values. When there are less than 2 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.sum frame

Full Usage: Stats.sum frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the sum of the values in the column. The function skips over missing values and `NaN` values. When there are no available values, the result is 0. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.sum series

Full Usage: Stats.sum series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the sum of the values in a series. The function skips over missing values and `NaN` values. When there are no available values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Stats.tryMax series

Full Usage: Stats.tryMax series

Parameters:
Returns: 'V option
Modifiers: inline
Type parameters: 'K, 'V

Returns the maximum of the values in a series. The result is an option value. When the series contains no values, the result is `None`. Series statistics

series : Series<'K, 'V>
Returns: 'V option

Stats.tryMin series

Full Usage: Stats.tryMin series

Parameters:
Returns: 'V option
Modifiers: inline
Type parameters: 'K, 'V

Returns the minimum of the values in a series. The result is an option value. When the series contains no values, the result is `None`. Series statistics

series : Series<'K, 'V>
Returns: 'V option

Stats.uniqueCount frame

Full Usage: Stats.uniqueCount frame

Parameters:
Returns: Series<'C, int>

For each column, returns the number of unique values.

frame : Frame<'R, 'C>
Returns: Series<'C, int>

Stats.uniqueCount series

Full Usage: Stats.uniqueCount series

Parameters:
Returns: int
Modifiers: inline
Type parameters: 'K, 'V

Returns the number of unique values in a series.

series : Series<'K, 'V>
Returns: int

Stats.variance frame

Full Usage: Stats.variance frame

Parameters:
Returns: Series<'C, float>

For each numerical column, returns the variance of the values in the column. The function skips over missing values and `NaN` values. When there are less than 2 values, the result is NaN. Frame statistics

frame : Frame<'R, 'C>
Returns: Series<'C, float>

Stats.variance series

Full Usage: Stats.variance series

Parameters:
Returns: float
Modifiers: inline
Type parameters: 'K, 'V

Returns the variance of the values in a series. The function skips over missing values and `NaN` values. When there are less than 2 values, the result is NaN. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number. Series statistics

series : Series<'K, 'V>
Returns: float

Series interoploation

Static members

Static member Description

Stats.interpolate keys f series

Full Usage: Stats.interpolate keys f series

Parameters:
    keys : 'K seq - Sequence of new keys that forms the index of interpolated results
    f : 'K -> ('K * 'T) option -> ('K * 'T) option -> 'T - Function to do the interpolating
    series : Series<'K, 'T> - The input series to interpolate

Returns: Series<'K, 'T>

Interpolates an ordered series given a new sequence of keys. The function iterates through each new key, and invokes a function on the current key, the nearest smaller and larger valid observations from the series argument. The function must return a new valid float.

keys : 'K seq

Sequence of new keys that forms the index of interpolated results

f : 'K -> ('K * 'T) option -> ('K * 'T) option -> 'T

Function to do the interpolating

series : Series<'K, 'T>

The input series to interpolate

Returns: Series<'K, 'T>

Stats.interpolateLinear keys keyDiff series

Full Usage: Stats.interpolateLinear keys keyDiff series

Parameters:
    keys : 'K seq - Sequence of new keys that forms the index of interpolated results
    keyDiff : 'K -> 'K -> float - A function representing "subtraction" between two keys
    series : Series<'K, 'V> - The input series to interpolate

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Linearly interpolates an ordered series given a new sequence of keys. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to floating point number.

keys : 'K seq

Sequence of new keys that forms the index of interpolated results

keyDiff : 'K -> 'K -> float

A function representing "subtraction" between two keys

series : Series<'K, 'V>

The input series to interpolate

Returns: Series<'K, float>

Stats.interpolateLinearWith keys keyDiff extrapolation series

Full Usage: Stats.interpolateLinearWith keys keyDiff extrapolation series

Parameters:
    keys : 'K seq - Sequence of new keys that forms the index of interpolated results
    keyDiff : 'K -> 'K -> float - A function representing "subtraction" between two keys
    extrapolation : Extrapolation - Specifies the behavior for keys outside the source series range: Extrapolation.Clamp retains the nearest boundary value (same as interpolateLinear); Extrapolation.Missing produces nan for out-of-range keys; Extrapolation.Linear continues the boundary slope.
    series : Series<'K, 'V> - The input series to interpolate

Returns: Series<'K, float>
Modifiers: inline
Type parameters: 'K, 'V

Linearly interpolates an ordered series given a new sequence of keys, with configurable extrapolation behavior for keys that fall outside the range of the original series. Throws a `FormatException` or an `InvalidCastException` if the value type of the series is not convertible to a floating point number.

keys : 'K seq

Sequence of new keys that forms the index of interpolated results

keyDiff : 'K -> 'K -> float

A function representing "subtraction" between two keys

extrapolation : Extrapolation

Specifies the behavior for keys outside the source series range: Extrapolation.Clamp retains the nearest boundary value (same as interpolateLinear); Extrapolation.Missing produces nan for out-of-range keys; Extrapolation.Linear continues the boundary slope.

series : Series<'K, 'V>

The input series to interpolate

Returns: Series<'K, float>

Series statistics

Static members

Static member Description

Stats.corr series1 series2

Full Usage: Stats.corr series1 series2

Parameters:
    series1 : Series<'K, 'V1> - The first input series
    series2 : Series<'K, 'V2> - The second input series

Returns: float
Modifiers: inline
Type parameters: 'K, 'V1, 'V2

Returns the Pearson correlation coefficient of the values in two series. The series are aligned on their keys (inner join) and correlation is computed over all key-aligned, non-missing pairs. Returns `NaN` when fewer than 2 pairs are available or when either series has zero variance. Throws a `FormatException` or an `InvalidCastException` if the value type of either series is not convertible to floating point number.

series1 : Series<'K, 'V1>

The first input series

series2 : Series<'K, 'V2>

The second input series

Returns: float

Stats.cov series1 series2

Full Usage: Stats.cov series1 series2

Parameters:
    series1 : Series<'K, 'V1> - The first input series
    series2 : Series<'K, 'V2> - The second input series

Returns: float
Modifiers: inline
Type parameters: 'K, 'V1, 'V2

Returns the sample covariance of the values in two series. The series are aligned on their keys (inner join) and covariance is computed over all key-aligned, non-missing pairs. Returns `NaN` when fewer than 2 pairs are available. Throws a `FormatException` or an `InvalidCastException` if the value type of either series is not convertible to floating point number.

series1 : Series<'K, 'V1>

The first input series

series2 : Series<'K, 'V2>

The second input series

Returns: float

Type something to start searching.