Module Hub Beta

TDIGEST.CDF

key value [value ...]

Returns the cumulative distribution for all provided values. value must be a double.

The cumulative distribution returned for all values is between 0..1.

Return Value

Array: the cumulative distribution of each value

Examples

redis> TDIGEST.ADD myuniform 1 1 2 1 3 1 4 1 5 1
(integer) 5
redis> TDIGEST.CDF myuniform 1 3 5
1) “0”
2) “0.5”
3) “1”

© 2017 Redis Labs, Inc. All rights reserved.