When a casino claims a 1% house edge but you lose at a 5% rate over 20,000 spins, are you unlucky or are they lying? This Bayesian House Edge Auditor uses Normal-Normal conjugate updates (see the difference in our guide on RTP vs House Edge) to calculate the exact posterior probability that the true edge is higher than advertised.
Standard statistical audits use Frequentist hypothesis testing. They start by assuming the casino is honest (the null hypothesis) and calculate a p-value—the probability of experiencing your losses by pure luck. If the p-value is 0.02, they reject the hypothesis, indicating the game is rigged.
However, frequentist tests do not answer the question you actually care about: **what is the actual probability that the casino’s true house edge is higher than their claim?** To answer this, we must use Bayesian statistics.
By combining your “prior belief” (the casino’s advertised house edge and your confidence in it) with your “empirical data” (your session wagers, outcomes, and volatility), a Bayesian conjugate update calculates the exact probability distribution of the true house edge, identifying the true mathematical expectation (our guide to Expected Value Explained outlines why this matters).
Because your session results ($X$) converge to a normal distribution over a large number of trials due to the Central Limit Theorem, we can model both the prior and the data using normal distributions:
We represent your prior belief about the house edge as a normal distribution:
Prior = N(μ_prior, σ²_prior)
Where $mu_{prior}$ is the claimed house edge, and $sigma^2_{prior}$ represents your uncertainty (a narrow variance means you trust the casino; a wide variance means you are highly skeptical).
Your empirical session results yield an observed house edge ($mu_{data}$) with an associated variance ($sigma^2_{data}$):
μ_data = -1 * Net_Profit / Total_Wagered σ²_data = Volatility² / Total_Wagered
The posterior distribution of the true house edge is also normal, identifying the true mathematical expectation (our guide to Expected Value Explained outlines why this matters), $N(mu_{post}, sigma^2_{post})$, calculated as:
1 / σ²_post = 1 / σ²_prior + 1 / σ²_data μ_post = σ²_post * (μ_prior / σ²_prior + μ_data / σ²_data)
The tool then integrates the resulting normal curve to find the exact probability that the true house edge is more than double the casino’s advertised claim:
P(True_Edge > 2 * Claimed_Edge) = 1 - Φ((2 * Claimed_Edge - μ_post) / σ_post)
Let’s audit an online slot that claims a **2.00% house edge (98% RTP)** (see the difference in our guide on RTP vs House Edge). You play 10,000 spins with an average bet of $2 ($20,000 total volume). The slot has a standard deviation of 3.0. You end your session down $900, which represents an observed loss rate of 4.50%.
If you set a very narrow prior variance (high confidence), the posterior mean will stay close to the casino’s claimed edge, requiring a massive sample of losing wagers to move it. If you set a wide prior variance (skeptical), the posterior mean will shift rapidly toward your actual observed loss rate.
It cannot prove cheating with absolute 100% certainty, but it calculates the exact mathematical probability of cheat-behavior based on your data. In court or during licensing audits, a Bayesian posterior probability of >99% that the edge is rigged serves as highly convincing evidence.
Because high standard deviation (volatility) creates wider natural swings. A game with a high standard deviation (like a slot) requires a much larger sample size of wagers to narrow down the true house edge, whereas a low-volatility game (like baccarat) converges rapidly, making the Bayesian audit highly sensitive.