data normalization standardization Algorithm

Generally a reference distribution will be one of the standard statistical distributions such as the Gaussian distribution or the Poisson distribution. To quantile normalize two or more distributions to each other, without a reference distribution, sort as before, then put to the average (normally, arithmetical mean) of the distributions.

data normalization standardization source code, pseudocode and analysis