Analysis of swaps in Radix selection

Amr Ahmed Abd Elmoneim Elmasry*, Hosam Mahmoud

*Corresponding author for this work
2 Citations (Scopus)

Abstract

Radix Sort is a sorting algorithm based on analyzing digital data. We study the number of swaps made by Radix Select (a one-sided version of Radix Sort) to find an element with a randomly selected rank. This kind of grand average provides a smoothing over all individual distributions for specific fixed-order statistics. We give an exact analysis for the grand mean and an asymptotic analysis for the grand variance, obtained by poissonization, the Mellin transform, and depoissonization. The digital data model considered is the Bernoulli(p). The distributions involved in the swaps experience a phase change between the biased cases (p ≠ 1/2 ) and the unbiased case (p = 1/2 ). In the biased cases, the grand distribution for the number of swaps (when suitably scaled) converges to that of a perpetuity built from a two-point distribution. The tool for this proof is contraction in the Wasserstein metric space, and identifying the limit as the fixed-point solution of a distributional equation. In the unbiased case the same scaling for the number of swaps gives a limiting constant in probability.

Original languageEnglish
JournalAdvances in Applied Probability
Volume43
Issue number2
Pages (from-to)524-544
Number of pages21
ISSN0001-8678
DOIs
Publication statusPublished - 2011

Keywords

  • Algorithm
  • Depoissonization
  • Digital data
  • Digital sorting
  • Mellin transform
  • Order statistic
  • Perpetuity
  • Phase change
  • Poissonization
  • Random structure
  • Recurrence
  • Selection

Fingerprint

Dive into the research topics of 'Analysis of swaps in Radix selection'. Together they form a unique fingerprint.

Cite this