 This is called the "rank transform", and creates data with a perfect fit to a uniform distribution.This approach has a population analogue.Using the probability integral transform, if "X" is any random variable, and "F" is the cumulative distribution function of "X", then as long as "F" is invertible, the random variable "U" = "F"("X") follows a uniform distribution on the unit interval [0,1].