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.