# SeriesStatsExtensions

Namespace: Deedle

The type implements C# and F# extension methods that add numerical operations to Deedle series. With a few exceptions, the methods are only available for series containing floating-point values, that is Series<'K, float>.

## Calculations, aggregation and statistics

### Static members

Static memberDescription
 InterpolateLinear(series, keys, keyDiff) 
Signature: (series:Series<'K,float> * keys:seq<'K> * keyDiff:Func<'K,'K,float>) -> Series<'K,float>
Type parameters: 'K

Linearly interpolates an ordered series given a new sequence of keys.

## Parameters

• keys - Sequence of new keys that forms the index of interpolated results
• keyDiff - A function representing "subtraction" between two keys

## Statistics

### Static members

Static memberDescription
 Kurtosis(series) 
Signature: series:Series<'K,float> -> float
Type parameters: 'K

Returns the kurtosis of the elements of the series.

 Max(series) 
Signature: series:Series<'K,'V> -> 'V
Type parameters: 'K, 'V

Returns the greatest of all elements of the series.

 MaxLevel(series, groupSelector) 
Signature: (series:Series<'K1,'V> * groupSelector:Func<'K1,'K2>) -> Series<'K2,'V>
Type parameters: 'K1, 'V, 'K2

Groups the elements of the input series in groups based on the keys produced by groupSelector and then returns a new series containing the greatest element of each group.

This operation is designed to be used with hierarchical indexing.

## Parameters

• series - A series of values that are used to calculate the greatest elements
• groupSelector - A delegate that returns a new group key, based on the key in the input series
 Mean(series) 
Signature: series:Series<'K,float> -> float
Type parameters: 'K

Returns the mean of the elements of the series.

 MeanLevel(series, groupSelector) 
Signature: (series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float>
Type parameters: 'K1, 'K2

Groups the elements of the input series in groups based on the keys produced by groupSelector and then returns a new series containing the mean of each group.

This operation is designed to be used with hierarchical indexing.

## Parameters

• series - A series of values that are used to calculate the means
• groupSelector - A delegate that returns a new group key, based on the key in the input series
 Median(series) 
Signature: series:Series<'K,float> -> float
Type parameters: 'K

Returns the median of the elements of the series.

 MedianLevel(series, groupSelector) 
Signature: (series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float>
Type parameters: 'K1, 'K2

Groups the elements of the input series in groups based on the keys produced by groupSelector and then returns a new series containing the median of each group.

This operation is designed to be used with hierarchical indexing.

## Parameters

• series - A series of values that are used to calculate the medians
• groupSelector - A delegate that returns a new group key, based on the key in the input series
 Min(series) 
Signature: series:Series<'K,'V> -> 'V
Type parameters: 'K, 'V

Returns the smallest of all elements of the series.

 MinLevel(series, groupSelector) 
Signature: (series:Series<'K1,'V> * groupSelector:Func<'K1,'K2>) -> Series<'K2,'V>
Type parameters: 'K1, 'V, 'K2

Groups the elements of the input series in groups based on the keys produced by groupSelector and then returns a new series containing the smallest element of each group.

This operation is designed to be used with hierarchical indexing.

## Parameters

• series - A series of values that are used to calculate the smallest elements
• groupSelector - A delegate that returns a new group key, based on the key in the input series
 NumSum(series) 
Signature: series:Series<'K,^V> -> ^V
Type parameters: 'K, ^V

Returns the sum of the elements of the series of numeric values.

 Skewness(series) 
Signature: series:Series<'K,float> -> float
Type parameters: 'K

Returns the skewness of the elements of the series.

 StdDev(series) 
Signature: series:Series<'K,float> -> float
Type parameters: 'K

Returns the standard deviation of the elements of the series.

 StdDevLevel(series, groupSelector) 
Signature: (series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float>
Type parameters: 'K1, 'K2

Groups the elements of the input series in groups based on the keys produced by groupSelector and then returns a new series containing the standard deviation of each group.

This operation is designed to be used with hierarchical indexing.

## Parameters

• series - A series of values that are used to calculate the standard deviations
• groupSelector - A delegate that returns a new group key, based on the key in the input series
 Sum(series) 
Signature: series:Series<'K,float> -> float
Type parameters: 'K

Returns the sum of the elements of the series of float values.

 SumLevel(series, groupSelector) 
Signature: (series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float>
Type parameters: 'K1, 'K2

Groups the elements of the input series in groups based on the keys produced by groupSelector and then returns a new series containing the sum of each group.

This operation is designed to be used with hierarchical indexing.

## Parameters

• series - A series of values that are used to calculate the sums
• groupSelector - A delegate that returns a new group key, based on the key in the input series

## Other type members

### Static members

 Static member Description  StandardDeviation(series)  Signature: series:Series<'K,float> -> float Type parameters: 'K