Akayad χ² (chi-square)
Akayad amagnu i usteqsi «37 n yisiḍen-a d wid ara d-yefk uḍebsi imsawi?»

χ² = Σ (ayen yettwalan − ayen yettwaṛǧan)² / ayen yettwaṛǧan ɣef 37 n texxamin meṛṛa. Serwset-it d ubeṭṭu n chi-square s 36 n tfesniwin n tlelli akken ad d-tafem azal p.
Asiḍen-is
Asiḍen yettwaṛǧan i yal taxxamtibenkanTaxxamtYiwet seg 37 n texxamin s wuṭṭunen ɣef uqerru yettezzin. Daɣen: slot, cup.Ɣer akk → d n/37. I yal taxxamt, sbeddet amgired gar wayen yettwalan d wayen yettwaṛǧan s umkuẓ u bḍut-t ɣef wayen yettwaṛǧan; rnut 37 n yimuren. Aḍebsi imsawi yettak azalen n wazal n 36 s ulemmas (tifesniwin n tlellitanaritTifesniwin n tlelliAmḍan n yizalen imanayen deg yiwen usiḍen adaddan. I wakayad χ² ɣef 37 n texxamin d 36, acku imiḍanen ilaq ad msawin d tmerna.Ɣer akk →), s ubeɛɛed alugan (SD)tusnaktAbeɛɛed aluganAẓar amkuẓ n tavaryans; ameccaq n umata gar ugmuḍ d wazal yettwaṛǧan.Ɣer akk → n wazal n 8,5. Sennig n 51,0 d adaddan s uswir n 5%; sennig n 58,6 s 1%. Amesleḍ n umyal n uḍebsi yessiḍin azal n ukayad d wazal ptanaritAzal pTaprubabilit n wannar n yiwen umeẓlay ameqqran am win yettwaẓren neɣ ugar ma yella uḍebsi imsawi.Ɣer akk → uṣlib seg twuri gamma ur nemmid ara yettwasnemhel.
| n n tuzzyiwin | yettwaṛǧan i yal taxxamt | σ i yal taxxamt | taxxamt s +2σ | taxxamt s +3σ |
|---|---|---|---|---|
| 370 | 10 | 3,1 | 16 | 19 |
| 1 000 | 27 | 5,1 | 37 | 42 |
| 3 700 | 100 | 9,9 | 120 | 130 |
| 10 000 | 270 | 16,2 | 303 | 319 |
| 37 000 | 1 000 | 31,2 | 1 062 | 1 094 |
Amedya yettwaxedmen
Consider a hypothetical sample of 1,000 independent spinstusnaktTuzzyiwin timanayinYal tuzzya ɣur-s tiprubabiliyin kif kif, ama d acu i d-yeffɣen yakan. D tagejdit n yal asiḍen deg usmel-a.Ɣer akk →. 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 probabilitytusnaktTaprubabilitAzal n yiwen ugmuḍ ad d-yeḍru, seg 0 ɣer 1 neɣ seg 0% ɣer 100%. Yiwen wuṭṭun: 1/37 = 2,70%.Ɣer akk → 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.
Tidabiyin
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.
Pearson d Monte Carlo
Karl Pearson yessuffeɣ akayad deg 1900, u yiwen seg yimedyaten-is imezwura d 26 306 n tuzzyiwin n rulit n Monte Carlo yettwarun, i yufa ur nemsawa ara aṭas akken ad tent-id-tawi tegnit, u yenna belli «rulit n Monte Carlo… mačči d urar n zzher». Imaruyen i d-yusan deffir-s ufan belli inaɣmasen i yuran tuzzyiwin i yiwet n teɣmist snulfan-d aṭas seg-sent, d tamsirt s yiman-is ɣef laṣel n yisefka.

Akayad n tidet: iḍebsiyen iwurmanen deg 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.
Beṛṛa n chi-square
I yiwet n texxamt yesɛan ccekk, akayad abinumyal yeǧhed ugar. I tegzemt yesɛan ccekk, akayad z n tegzemtaḍebsiTagzemtAḥric n texxamin yemmeḍfaren ɣef uḍebsi, mačči d tagrumma ɣef tfelwit.Ɣer akk → deg usebter n tesleḍt n tigezmin. Chi-square d akayad amatu: yeqqar-awen-d belli yella kra ur yeṣḥin ara war ma yenna-d d acu. Sseqdacet-it d amezwaru, syin walit.
Tasemselt
Isteqsiyen
37 n yisiḍen ilaq ad sdukklen n, ihi 36 kan i yezmren ad beddlen s tlelli.
Aḍebsi s yiwet n texxamt s 1/25 deg 10 000 n tuzzyiwin ad d-yefk amur n texxamt n wazal n 60 iman-is; χ² azal n 100, p qrib d ilem.
Ih, s tiẓri, s 5,4 yettwaṛǧan i yal taxxamt. Ur d-yettaf acemma ma mačči d aḍebsi s texxamt yettwamedlen s ulṣaq.
Taḍsa i usgunfu

For 36 degrees of freedom, the approximate 5% upper-tail cutoff is 51.0.
Iɣbula
- 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.