Skip to main content
QUICK REVIEW

[Paper Review] HISTABRUT: A Maple Package for Symbol-Crunching in Probability theory

Doron Zeilberger|arXiv (Cornell University)|Aug 24, 2010
Advanced Database Systems and QueriesComputer Science3 references8 citations
TL;DR

HISTABRUT is a Maple package that uses symbolic computation and the polynomial ansatz method to rigorously derive explicit asymptotic formulas for moments—up to any desired order—of univariate and, notably, bivariate discrete probability distributions. It enables fully rigorous, experimental-mathematics-driven analysis of non-normal limiting distributions, such as the arcsine law, and extends beyond asymptotic normality by computing higher-order moment asymptotics with formal proof via polynomial identity verification.

ABSTRACT

One of the main uses of computers is to do statistical analysis of data. But, so far, the theory of statistics, and its noble mother, Probability theory, were all discovered and developed by lowly humans. No more! Computers can also develop probability theory (and statistics), and discover (and prove!) general theorems of much larger depth than those discovered by human-kind. Of course, at this time of writing, they still need these inferior humans to give them a head-start by teaching (i.e. programming) them to develop probability theory ab initio (only better!), but even this will soon be superfluous.

Motivation & Objective

  • To develop a fully symbolic, rigorous computational framework for deriving asymptotic moment formulas of discrete random variables beyond asymptotic normality.
  • To extend existing methods in experimental mathematics by computing higher-order moment asymptotics (beyond leading terms) for sequences of univariate and bivariate discrete distributions.
  • To enable automated discovery and formal verification of moment asymptotics using polynomial identities, ensuring correctness without reliance on numerical approximation.
  • To support the analysis of complex stochastic processes, such as word occurrences in random strings and gambler's ruin durations, via rational generating functions and the Goulden-Jackson method.
  • To lay the foundation for future extension to multi-variate distributions and non-i.i.d. asymptotically normal limits with correlated components.

Proposed method

  • Employs the polynomial ansatz method to conjecture symbolic expressions for normalized moments (even and odd) in terms of $ n $ and $ r $, where $ n $ is the sequence parameter and $ r $ is the moment order.
  • Uses the Goulden-Jackson method to generate rational generating functions $ R(t,s) $ for bivariate word-count distributions, encoding the probability generating functions in $ t $ for each $ n $.
  • Applies rigorous verification by checking polynomial identities: if two polynomials of degree $ \leq d $ agree at $ d+1 $ distinct points, they are identical, ensuring formal correctness of conjectured formulas.
  • For bivariate cases, computes mixed moments $ \mathbb{E}[X^r Y^s] $ up to user-defined order $ R $, outputting explicit polynomials in $ n $, though not yet general symbolic expressions in $ r $ and $ s $.
  • Integrates procedures like `plotDist` to visualize limiting distributions and `EzraPGF()` to access pre-programmed examples of discrete distributions.
  • Automatically detects asymptotic independence and normality via moment analysis and extends to correlated bivariate limits when correlation is known.

Experimental results

Research questions

  • RQ1Can symbolic computation be used to derive explicit, rigorously verified asymptotic formulas for higher-order moments of univariate discrete probability distributions?
  • RQ2How can the method of moments be extended beyond leading-order asymptotic normality to compute full asymptotic expansions of moments in symbolic form?
  • RQ3What is the computational and theoretical framework for analyzing bivariate discrete random variables, especially when they are not asymptotically independent?
  • RQ4Can rational generating functions derived via the Goulden-Jackson method be systematically used to compute moment asymptotics with formal proof?
  • RQ5What are the algorithmic and symbolic means to extend such analysis to tri- and multi-variate distributions?

Key findings

  • HISTABRUT successfully computes symbolic asymptotic expressions for normalized moments (even and odd) of univariate discrete distributions to any desired order, with full formal verification via polynomial identity checks.
  • The package rigorously proves that certain sequences of discrete random variables converge to non-normal limiting distributions—such as the arcsine law—by computing higher-order moment asymptotics beyond the normal approximation.
  • For bivariate distributions, HISTABRUT computes explicit polynomial expressions in $ n $ for mixed moments $ \mathbb{E}[X^r Y^s] $ up to user-defined $ r,s \leq R $, though general symbolic forms in $ r $ and $ s $ remain unachieved.
  • The method confirms asymptotic normality not just qualitatively but quantitatively by recovering the full moment sequence $ 1\cdot3\cdot5\cdots(2r-1) $ for even moments and zero for odd moments, with formal proof via $ d+1 $ evaluations.
  • The package can analyze complex stochastic processes such as word occurrences in random strings and gambler’s ruin duration, using rational generating functions and the Goulden-Jackson method as input.
  • Procedure `AnalyseMoms2` identifies asymptotically independent bivariate normal limits and computes asymptotic mixed moments in symbolic form for $ (2r,2s) $, $ (2r+1,2s) $, $ (2r,2s+1) $, and $ (2r+1,2s+1) $ cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.