HMHosam M. Mahmoud

Hosam M. Mahmoud

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Hosam M. Mahmoud has a total of 109 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • The k -window statistic in a random permutation

    by Hosam Mahmoud

    We introduce a new permutation statistic, which we call the k -window statistic, for permutations of StartSet 1 comma 2 comma ellipsis comma n EndSet { 1 , 2 , … , n } $\{1,2,\ldots, n\}$ . The aim is to add to the repertoire of potentially useful tools in the design of efficient algorithms. The k -window statistic counts the number of elements that are at a displacement at most k from their natural positions in the ascendingly sorted permutation. We find the exact mean and exact variance of the k -window statistic, revealing phases in the mean and variance in the different regimes of k . We find a weak (or even strong) law of large numbers in the regime where k equals k Subscript n k = k n $k=k_n$ is growing but remains normal o left parenthesis n right parenthesis o ( n ) ${\mathrm{o}} (n)$ . Via a representation of the statistic into dependent heterogeneous weakly correlated indicators, we establish the complete spectrum of distributions as k Subscript n k n $k_n$ spans its entire range using an appropriate method for each regime.

  • Open Access

    Triggered urn models for frequently asked questions (FAQ)

    by Irene Crimaldi, Andrea Ghiglietti, Leen Hatem, Hosam Mahmoud

    We investigate a nonclassic urn model with triggers that increase the number of colors. The scheme has emerged as a model for web services that set up frequently asked questions (FAQ). We present a thorough asymptotic analysis of the FAQ urn scheme in generality that covers a large number of special cases, such as Simon urn. For instance, we consider time dependent triggering probabilities. We identify regularity conditions on these probabilities that classify the schemes into those where the number of colors in the urn remains almost surely finite or increases to infinity and conditions that tell us whether all the existing colors are observed infinitely often or not. We determine the rank curve, too. In view of the broad generality of the trigger probabilities, a spectrum of limit distributions appears, from central limit theorems to Poisson approximation, to power-laws, revealing connections to Heap's exponent and Zipf's law. A combinatorial approach to the Simon urn is presented to indicate the possibility of such exact analysis, which is important for short-term predictions. Extensive simulations on real datasets (from Amazon sales) as well as computer-generated data clearly indicate that the asymptotic and exact theory developed agrees with practice.

  • Open Access

    Exponentially preferential trees

    by Rafik Aguech, Hosam Mahmoud, Hanene Mohamed, Zhou Yang

    We introduce the exponentially preferential recursive tree and study some properties related to the degree profile of nodes in the tree. The definition of the tree involves a radix $a\gt 0$ . In a tree of size $n$ (nodes), the nodes are labeled with the numbers $1,2, \ldots ,n$ . The node labeled $i$ attracts the future entrant $n+1$ with probability proportional to $a^i$ . We dedicate an early section for algorithms to generate and visualize the trees in different regimes. We study the asymptotic distribution of the outdegree of node $i$ , as $n\to \infty$ , and find three regimes according to whether $0 \lt a \lt 1$ (subcritical regime), $a=1$ (critical regime), or $a\gt 1$ (supercritical regime). Within any regime, there are also phases depending on a delicate interplay between $i$ and $n$ , ramifying the asymptotic distribution within the regime into “early,” “intermediate” and “late” phases. In certain phases of certain regimes, we find asymptotic Gaussian laws. In certain phases of some other regimes, small oscillations in the asymototic laws are detected by the Poisson approximation techniques.

  • Open Access

    Probabilistic analysis of arithmetic coding showing its robustness

    by Hosam M. Mahmoud, Hans J. Rivertz

    We probabilistically analyze the performance of the arithmetic coding algorithm under a probability model for binary data in which a message is received by a coder from a source emitting independent equally distributed bits, with 1 occurring with probability $p\in(0,1)$ and 0 occurring with probability $1-p$. We establish a functional equation for the bivariate moment generating function for the two ends of the final interval delivered by the algorithm. Via the method of moments, we show that the transmitted message converges in distribution to the standard continuous uniform random variable on the interval [0,1]. It is remarkable that the limiting distribution is the same for all $p$, indicating robustness in the performance of arithmetic coding across an entire family of bit distributions. The nuance with $p$ appears only in the rate of convergence.

  • On affine multicolor urns grown under multiple drawing

    by Joshua Sparks, Markus Kuba, Srinivasan Balaji, Hosam Mahmoud

    Early investigation of Pólya urns considered drawing balls one at a time. In the last two decades, several authors have considered multiple drawing in each step, but mostly for schemes involving two colors. In this manuscript, we consider multiple drawing from urns of balls of multiple colors, formulating asymptotic theory for specific urn classes and addressing more applications. The class we consider is affine and tenable, built around a ‘core’ square matrix. We examine cases where the urn is irreducible and demonstrate its relationship to matrix irreducibility for its core matrix, with examples provided. An index for the drawing schema is derived from the eigenvalues of the core. We identify three regimes: small, critical, and large index. In the small-index regime, we find an asymptotic Gaussian law. In the critical-index regime, we also find an asymptotic Gaussian law, albeit with a difference in the scale factor, which involves logarithmic terms. In both of these regimes, we have explicit forms for the structure of the mean and the covariance matrix of the composition vector (both exact and asymptotic). In all three regimes we have strong laws.


  • Open Access

    Correction to: Egorychev Method: A Hidden Treasure

    by Marko Riedel, Hosam Mahmoud

  • Open Access

    BERNOULLI CONVOLUTION OF THE DEPTH OF NODES IN RECURSIVE TREES WITH GENERAL AFFINITIES

    by Toshio Nakata, Hosam Mahmoud

    It has been reported that the depth of insertion of nodes in recursive trees grown with certain node affinities can be represented as a sum of independent Bernoulli random variables. In this investigation, we demonstrate that the presence of a Bernoulli convolution covers a much broader range of affinities beyond the uniform affinity and the power weights reported in the literature. Further, we pursue sufficient conditions to have associated normal regimes and compare them to approximations via Poisson distributions. We give several illustrative examples, where we look at the rates of convergence, too.

  • Open Access

    On affine multi-color urns grown under multiple drawing

    by Joshua Sparks, Markus Kuba, Srinivasan Balaji, Hosam Mahmoud

    Early investigation of Pólya urns considered drawing balls one at a time. In the last two decades, several authors considered multiple drawing in each step, but mostly for schemes on two colors. In this manuscript, we consider multiple drawing from urns of balls of multiple colors, formulating asymptotic theory for specific urn classes and addressing more applications. The class we consider is affine and tenable, built around a "core" square matrix. An index for the drawing schema is derived from the eigenvalues of the core. We identify three regimes: small-, critical-, and large-index. In the small-index regime, we find an asymptotic Gaussian law. In the critical-index regime, we also find an asymptotic Gaussian law, albeit a difference in the scale factor, which involves logarithmic terms. In both of these regimes, we have explicit forms for the structure of the mean and the covariance matrix of the composition vector (both exact and asymptotic). In all three regimes we have strong laws.

  • Balancing m-ary search trees with compressions on the fringe

    by Shuyang Gao, Leen Hatem, Hosam Mahmoud