> >> I mean something like this... > >> Spam Score -5 0 3 5 10 15 > >> Percentile 5.89% 12.59% 19.43% 24.81% 35.02% 50.37%
Seems like you want a frequency distribution: divide a score range into arbitrary buckets, fill them by counts of messages falling into each bucket, then at the end convert absolute counts to percents. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/