A Quantitative Framework for Measuring Randomness in Simulated Card Shuffles

We present a computational framework for quantifying randomness in riffle-shuffled decks using spatial and information-theoretic metrics. Simulated Gilbert–Shannon–Reeds shuffles of a 52-card deck are analysed via Moran’s I to detect spatial clustering of suits and ranks, alongside Shannon entropy measures capturing positional and sequential unpredictability. Across 10,000 trials, seven riffle shuffles yield near-zero mean spatial autocorrelation and high overall entropy, consistent with classical results. However, substantial trial-to-trial variance is observed. Component analysis further reveals asymmetric randomisation: suit relationships decorrelate significantly faster than rank relationships, with rank entropy consistently lagging. This suggests structural biases in riffle dynamics that preserve remnants of initial rank ordering. The approach offers an empirical complement to existing theoretical work, demonstrating how spatial statistics and entropy can jointly characterise the multidimensional nature of randomisation.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-02-02
DOI
https://doi.org/10.5281/zenodo.18462257
Primary Topic
Spatial and Panel Data Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Quantitative Framework for Measuring Randomness in Simulated Card Shuffles

Leznik Michael
Zenodo (CERN European Organization for Nuclear Research)
Spatial and Panel Data Analysis
article

A Quantitative Framework for Measuring Randomness in Simulated Card Shuffles

Leznik Michael
article en

Abstract

We present a computational framework for quantifying randomness in riffle-shuffled decks using spatial and information-theoretic metrics. Simulated Gilbert–Shannon–Reeds shuffles of a 52-card deck are analysed via Moran’s I to detect spatial clustering of suits and ranks, alongside Shannon entropy measures capturing positional and sequential unpredictability. Across 10,000 trials, seven riffle shuffles yield near-zero mean spatial autocorrelation and high overall entropy, consistent with classical results. However, substantial trial-to-trial variance is observed. Component analysis further reveals asymmetric randomisation: suit relationships decorrelate significantly faster than rank relationships, with rank entropy consistently lagging. This suggests structural biases in riffle dynamics that preserve remnants of initial rank ordering. The approach offers an empirical complement to existing theoretical work, demonstrating how spatial statistics and entropy can jointly characterise the multidimensional nature of randomisation.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 75%
Spatial and Panel Data Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.