FREQUENCIES: Fix percentiles calculation.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Mar 2011 06:10:54 +0000 (22:10 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Mar 2011 06:10:54 +0000 (22:10 -0800)
The condition for using a variate directly instead of interpolating was
just wrong.  It would interpolate in cases where it clearly should not,
which produced incorrect results in many cases.

Thanks to Fabio Bordignon <bordignon@demos.it> for reporting the problem
and supplying a simple test case.


No differences found