Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
Jain, Raj and Chlamtac, Imrich (1985), The P 2 Algorithm for Dynamic Calculation of Quantiles and Histograms without Storing Observations, Communications of the Association of Computing Machinery , 28:10.