Module Hub Beta

TDIGEST.QUANTILE

key quantile [quantile ...]

Returns the estimate values at all provided quantiles.

quantile must be a double between 0..1.

Return Value

redis> TDIGEST.ADD myuniform 1 1 2 1 3 1 4 1 5 1
OK
redis> TDIGEST.QUANTILE myuniform 0 0.5 0.95 0.99 1
1) “1”
2) “3”
3) “4.875”
4) “4.9749999999999996”
5) “5”

Examples

© 2017 Redis Labs, Inc. All rights reserved.