Expand description
Tail analysis: the bit institutional users actually care about.
Behind the tail Cargo feature (on by default).
Functions§
- conditional_
tail_ expectation - Conditional tail expectation: the mean of all samples ABOVE the given quantile. Also known as expected shortfall (ES) or conditional value-at-risk (CVaR). For latency: “given that we’re in the worst N% of cases, what does that average look like?”
- hill_
tail_ index - Hill estimator for the tail index. Higher values mean a heavier
tail (more frequent extreme outliers). Uses the top
korder statistics. ReturnsNoneifk < 2or fewer thank+1samples. - tail_
fatness_ ratio - Ratio of p99 over p50. Quick “how fat is the tail” indicator: 1.0 means uniform, 10+ means a meaningful tail. Returns 0 when p50 is 0.