2016-07-06 22:24 GMT+02:00 Antoine Pitrou <solipsis at pitrou.net>: >> 5% smallest/5% largest: do you mean something like sorting all >> samples, remove items from the two tails? >> >> Something like sorted(samples)[3:-3] ? > > Yes. Hum, it may work if the distribution is uniform (symmetric), but usually the right tail is much longer. Victor