vix.ing · top · new · best · stats

The P 2 algorithm for dynamic calculation of quantiles and histograms without storing observations

1985/10/01 by Raj Jain, Imrich Chlamtac · 177 citations
Computer Science · Mathematics · #Algorithm #Artificial intelligence #Computer science #Heuristic #Histogram #Ideal (ethics) #Image (mathematics) #Mathematics #Numerical Methods and Algorithms #Quantile #Statistics

paper · pdf · doi:10.1145/4372.4378

published in Communications of the ACM 28(10), 1076-1085 (Association for Computing Machinery)

openalex publication_date 1985/10/01 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/25

Abstract

A heuristic algorithm is proposed for dynamic calculation of the median and other quantiles. The estimates are produced dynamically as the observations are generated. The observations are not stored; therefore, the algorithm has a very small and fixed storage requirement regardless of the number of observations. This makes it ideal for implementing in a quantile chip that can be used in industrial controllers and recorders. The algorithm is further extended to histogram plotting. The accuracy of the algorithm is analyzed.

Cited by

Related