I recently needed to analyze some data in CFML where there was a wide range of values but some real outliers - latency numbers for example. So I ported this
kthPercentile() function. You pass in the percentile and an array of numbers -
kthPercentile(99, [...]) will give you the 99th percentile for example -
kthPercentile(50, [...]) is the same as the median.
Subscribe via RSS