Hostname: page-component-5db58dd55d-h5th4 Total loading time: 0 Render date: 2026-05-28T06:02:30.408Z Has data issue: false hasContentIssue false

Analysis of swaps in radix selection

Published online by Cambridge University Press:  01 July 2016

Amr Elmasry*
Affiliation:
University of Copenhagen
Hosam Mahmoud*
Affiliation:
The George Washington University
*
Postal address: Department of Computer Science, University of Copenhagen, Universitetsparken 1, DK-2100 Copenhagen Ø, Denmark. Email address: elmasry@mpi-inf.mpg.de
∗∗ Postal address: Department of Statistics, The George Washington University, Washington, DC 20052, USA. Email address: hosam@gwu.edu
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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 ≠ ½) and the unbiased case (p = ½). 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.

Information

Type
General Applied Probability
Copyright
Copyright © Applied Probability Trust 2011