Mayeso a Chi-Square
Mayeso okhazikika a funso lakuti “kodi ziwerengero 37 izi ndi zimene gudumu lachilungamo likanapanga?”

χ² = Σ (zoonedwa − zoyembekezeka)² / zoyembekezeka pa tibowo tonse 37. Yerekezani ndi kagawidwe ka chi-square pa madigiri a ufulu 36 kuti mupeze p-value.
Kuwerengera
Chiwerengero choyembekezeka pa kabowozipangizoKabowoChimodzi mwa tibowo 37 tokhala ndi manambala pa rotor. Kamatchedwanso: slot, cup.Werengani yonse → kalikonse ndi n/37. Pa kabowo kalikonse, chulukitsani ndi chokha kusiyana pakati pa zoonedwa ndi zoyembekezeka ndipo gawani ndi zoyembekezeka; phatikizani magawo 37. Gudumu lachilungamo limapereka mitengo yozungulira 36 pa avareji (madigiri a ufululabuMadigiri a ufuluChiwerengero cha mitengo yodziyimira payokha mu chiwerengero cha ziwerengero. Pa mayeso a chi-square pa tibowo 37 ndi 36, chifukwa ziwerengero ziyenera kuphatikizana kufika chiwerengero chonse.Werengani yonse →), ndi kupatuka kokhazikikamasamuKupatuka kokhazikikaMuzu wa sikweya wa kusinthasintha; mtunda wanthawi zonse wa zotsatira kuchokera ku mtengo woyembekezeka.Werengani yonse → kwa pafupifupi 8.5. Pamwamba pa 51.0 ndi kofunika pa mlingo wa 5%; pamwamba pa 58.6 pa 1%. Chosanthula Kukondera kwa Gudumu la Roulette chimawerengera chiwerengerocho ndi p-valuelabup-valueKuthekera koona kupatuka kofanana kapena kokulirapo kuposa komwe kwaonedwa ngati gudumu likanakhala lachilungamo.Werengani yonse → yeniyeni kuchokera ku regularized incomplete gamma function.
Chitsanzo chowerengedwa
Consider a hypothetical sample of 1,000 independent spinsmasamuKuzungulira kodziyimira payokhaKuzungulira kulikonse kuli ndi kuthekera kofanana mosasamala kanthu za mbiri. Maziko a kuwerengera kulikonse pa tsamba lino.Werengani yonse →. Each pocket has an expected count of 1,000/37 ≈ 27.03. If pocket 8 appears 41 times, its contribution to the statistic is about 7.22. Suppose the total statistic is approximately 45.2. On 36 degrees of freedom, the approximate p-value is 0.14: under the fair-wheel model, a statistic at least this large has a probabilitymasamuKuthekeraMwayi wa zotsatira, kuchokera 0 mpaka 1 kapena 0% mpaka 100%. Nambala imodzi: 1/37 = 2.70%.Werengani yonse → of about 14%. This is not significant at the 5% level, and it does not prove the wheel is fair. A pocket selected after examining these counts needs independent confirmation; another 1,000 spins is not guaranteed to resolve a small departure.
Malingaliro oyambira
The usual approximation assumes independent observations and adequate expected counts. The common five-per-cell rule gives n ≥ 185 for 37 equal pockets; it is a guideline for the approximation, not a hard boundary for all possible tests. Pooling wheels changes the population being tested. Dependence may invalidate the reference distribution without necessarily increasing the statistic.
Chizindikiro cha Dealer wa RouletteKuzungulira kwa Roulette Kodziyimira Payokha
Pearson ndi Monte Carlo
Karl Pearson anafalitsa mayesowa mu 1900, ndipo chimodzi mwa zitsanzo zake zoyamba zowerengedwa chinali kuzungulira kwa roulette ya Monte Carlo 26,306 kolembedwa, kumene anapeza kuti n’kosafanana kwambiri kuti kukhale mwangozi ndipo analengeza kuti “Monte Carlo roulette… is not a game of chance” (roulette ya Monte Carlo si masewera a mwayi). Olemba a pambuyo pake anamaliza kuti atolankhani amene analemba kuzungulira kwa nyuzipepala anakupanga kochuluka, ndipo limenelo ndi phunziro lake lokha lokhudza kumene zambiri zimachokera.

Mayeso enieni: magudumu odziyendetsa ku Las Vegas
A published analysis of specific automatic wheels is evidence about those recorded samples, not all automatic roulette. A non-significant uniformity test cannot prove the absence of steering, and combining several wheels does not identify the behavior of each one. Check the original study’s data and design before drawing that conclusion.
Kupitirira chi-square
Pa kabowo kamodzi kokayikiridwa mayeso a binomial ndi amphamvu kwambiri. Pa mbali yokayikiridwa, z-test ya gawogudumuGawoMndandanda wolumikizana wa tibowo pa gudumu, mosiyana ndi gulu pa dongosolo la mabetcha.Werengani yonse → patsamba la Kusanthula Magawo. Chi-square ndi mayeso a zonse pamodzi: imakuuzani kuti china chake sichili bwino popanda kunena kuti n’chiyani. Igwiritseni ntchito choyamba, kenako yang’anani.
Fomula
Mafunso
Ziwerengero 37 ziyenera kukwana n, choncho 36 zokha ndi zaufulu kusiyana.
Gudumu lokhala ndi kabowo kamodzi pa 1/25 pa kuzungulira 10,000 likanapereka gawo la kabowo lozungulira 60 lokha; χ² yozungulira 100, p kwenikweni ziro.
Mwaukadaulo inde, ndi 5.4 zoyembekezeka pa kabowo kalikonse. Sadzazindikira kalikonse kupatula gudumu lokhala ndi kabowo kotsekedwa ndi guluu.
Nthabwala yopumitsa

For 36 degrees of freedom, the approximate 5% upper-tail cutoff is 51.0.
Magwero
- Pearson, K. “On the criterion that a given system of deviations from the probable…”
- Feller, W. An Introduction to Probability Theory and Its Applications, Vol. 1.