Bayesian stats outperforms p-values for RNG bias testing
One integral replaces infinite p-values in randomness tests
Deep Dive
Key Points
- Uses likelihood ratios instead of p-values, integrating over all possible biases with a uniform prior
- Closed-form solution derived for likelihood ratio of biased vs perfect RNG given count of ones
- For n=1000, ratio strongly favors bias at extremes (e.g., 0 or 1000 heads) and neutral near 500 heads
Why It Matters
Bayesian hypothesis testing offers a principled alternative to p-values for RNG validation and beyond.