Abstract
We consider conditional tests for non-negative discrete exponential families. We develop two Markov Chain Monte Carlo (MCMC) algorithms which allow us to sample from the conditional space and to perform approximated tests. The first algorithm is based on the MCMC sampling described by Sturmfels. The second MCMC sampling consists in a more efficient algorithm which exploits the optimal partition of the conditional space into orbits of permutations. We thus establish a link between standard permutation and algebraic-statistics-based sampling. Through a simulation study we compare the exact cumulative distribution function (cdf) with the approximated cdfs which are obtained with the two MCMC samplings and the standard permutation sampling. We conclude that the MCMC sampling which exploits the partition of the conditional space into orbits of permutations gives an estimated cdf, under $H_0$, which is more reliable and converges to the exact cdf with the least steps. This sampling technique can also be used to build an approximation of the exact cdf when its exact computation is computationally infeasible.
Introduction
In statistical analysis, comparing groups of discrete data—such as event counts—frequently involves "nuisance parameters." These are unknown values that, while not the primary focus of the study, influence the underlying distribution and can complicate inference. To address this, researchers employ conditional tests, which analyze the data conditioned on a fixed total sum, known as a sufficient statistic.
This approach is particularly relevant for non-negative discrete exponential families. The mathematical properties of these distributions, which define the scope of the proposed testing framework, are summarized in the table below.
The Challenge of the Fiber
The primary obstacle in conditional testing is the "fiber"—the set of all possible data configurations that satisfy the fixed sufficient statistic. For even moderately sized datasets, the fiber can become astronomically large, making the exact calculation of probability distributions computationally prohibitive.
To navigate this space, researchers often use Markov Chain Monte Carlo (MCMC) methods. A notable example is the Diaconis-Sturmfels algorithm, which uses a "Markov basis"—a set of vectors or "moves"—to transition between valid states within the fiber. However, these standard MCMC methods often suffer from slow "mixing," requiring a vast number of steps to move away from the initial state and provide an accurate representation of the true distribution.
Methodology: Bridging Algebraic Statistics and Permutation Tests
The authors propose a novel Orbit-based MCMC approach that improves upon standard algebraic methods. The core innovation lies in the realization that the fiber can be partitioned into orbits of permutations.
Under the null hypothesis, all data configurations within a single orbit are "inferentially equivalent," meaning they share the same probability. This allows for a two-step sampling process:
- Orbit Sampling: Use a Markov chain to jump between different permutation orbits.
- Intra-orbit Sampling: Perform standard Monte Carlo sampling of elements within the selected orbit.
By jumping between orbits rather than individual points, the algorithm achieves "super-acceleration," allowing the Markov chain to explore the sample space much more efficiently and reducing dependence on the starting state.
Results and Discussion
The effectiveness of the orbit-based MCMC was evaluated using simulated Poisson-distributed samples. Since the conditional distribution of two Poisson samples is known to be Binomial, this provided an exact benchmark for measuring approximation error.
Key Findings:
- Convergence Speed: The orbit-based MCMC typically converges to the exact distribution in fewer than 1,000 steps. In contrast, standard MCMC methods often require upwards of 10,000 steps to achieve comparable accuracy.
- Error Reduction: Simulation studies demonstrated that the orbit-based method's error range is an order of magnitude lower than both standard MCMC and traditional permutation tests.
- Statistical Stability: The authors mathematically proved that the orbit-based estimator exhibits lower variance and Mean Absolute Deviation (MAD) compared to traditional indicator-based estimators.
Conclusion and Future Work
The orbit-based MCMC algorithm represents a significant advancement in conditional testing, offering a bridge between algebraic statistics and permutation tests. While each step is computationally more intensive due to orbit size calculations, the overall efficiency makes it practical for real-world research.
Future work will focus on extending these methods to more complex experimental designs, such as N-way ANOVA models, and integrating the algorithms into widely used statistical software like R or Python.
Summary updated