LABEXPERIMENT 06df = 36α = 0.05seed 99

Bias inna di roulette wheel

A bias roulette wheel favour some pocket cause a one physical defect: a loose fret, a rotor weh nuh even, pocket weh wear out. Roulette wheel bias exist an people tek advantage a it. Di problem a dat a perfectly fair wheel mek “hot numba” all di time, suh di question neva a whether a numba hot, but whether di whole pattern more lopsided dan chance allow.

1. Tek a sample fram a fair wheel

Spin weh draw fram a simulated wheel wid no bias at all. Change di sample size an watch di hottest pocket.

0321519421225173462713361130823105241633120143192218297281235326
spin370
expected fi evry pocket10.0
pocket weh hot di most20 · 16 hit (4.32%)
hot pocket versus expected+60% · 1.9σ
chi-square · p32.8 · 0.622
di verdictnuh evidence a bias

2. Wah show up versus wah expected

Evry bar a one pocket inna wheel order. Di dash line a di expected count, n/37. Di shade band a ±2 standard deviation: pon a fair wheel, bout one pocket outta twenty wi poke outside it by chance alone.

0pocket inna wheel order →26

3. Chi-square test

Di test add up ow far evry pocket deh fram di expectation, square an scale. Pon a fair wheel, di sum follow a chi-square distribution wid 36 degrees a freedom; people usually call a p-value unda 0.05 significant.

χ² = Σ (Oᵢ − Eᵢ)² / Eᵢ Eᵢ = n/37 df = 36
n = 370 · E = 10.00 · χ² = 32.80 · p = 0.622
Warning bout sample sizeUnda bout 1,000 spin, di test almos nuh have no power fi detect real-life bias, an a “significant” result at p < 0.05 wi happen by chance 1 time outta evry 20 fair sample yuh look at. If yuh test nuff wheel, or test di same wheel ova an ova till it pass, yuh guarantee fi get false positive.

4. Ow much spin yuh woulda need

Di spin yuh need fi detect one pocket weh hit more often dan 1/37, at a one-sided 5% level wid 80% power. A pocket weh hit 1 time inna 35 instead a 1 inna 37 woulda be a strong edge fi a playa, an it tek tens a thousands a spin weh write dung fi confirm it.

di true rateplaya edgespin yuh needat 40 spin/h
1 inna 25+44.0%1,10828 h
1 inna 30+20.0%4,392110 h
1 inna 33+9.1%15,747394 h
1 inna 35+2.9%69,4611,737 h
Fi confirm a bias, yuh haffi write dung spin night afta night, tens a thousands a dem.

Methodology

Samplin. Uniform draw fram 37 pocket wid a seeded generator (mulberry32, seed 99), suh di page come out di same evry time.
Test. Pearson chi-square goodness a fit, 36 degrees a freedom, p-value fram di regularized incomplete gamma function.
Power. Normal approximation fi a one-proportion test, α = 0.05 pon one side, power 0.80.
Wah dis cover. Only statistical detection. Physical cause dem an analysis by sector (instead a by pocket) deh inna Sector Analysis.

Sumting fi laugh

A fair wheel mek hot numba evry night. Fi prove a bias, yuh need tens a thousands a spin.

A fair wheel mek hot numba evry night. Fi prove a bias, yuh need tens a thousands a spin.

Source dem

  1. Pearson, K. (1900). On the criterion that a given system of deviations… Philosophical Magazine, 50(302).
  2. Thorp, E. O. (1969). Optimal gambling systems for favorable games. Review of the International Statistical Institute, 37(3).
  3. Ethier, S. N. (2010). The Doctrine of Chances: Probabilistic Aspects of Gambling. Springer. Ch. 13, Roulette.