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

  • Raj Jain
  • , Imrich Chlamtac

Research output: Contribution to journalArticlepeer-review

135 Scopus citations

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.

Original languageEnglish
Pages (from-to)1076-1085
Number of pages10
JournalCommunications of the ACM
Volume28
Issue number10
DOIs
StatePublished - Oct 1 1985

Fingerprint

Dive into the research topics of 'The P2 algorithm for dynamic calculation of quantiles and histograms without storing observations'. Together they form a unique fingerprint.

Cite this