Hi all, A colleague of mine, Tobias Witek, has been re-writing the percentile-related functions in stats.py (currently broken). I'm helping him review the code, and it should be ready to commit soon. So, if you're working on stats.py, skip over these functions for now and we can avoid some duplication of effort :) -- Ed