Gwaji Chi-Square
Gwaji saba-sa tambaya “kirgawa 37 adewa keke daidaiye yinma-a?”-be.

χ² = Σ (aunama − matsakaici)² / matsakaici, ramiwa 37 samma dəlan. Kima p nəmro, rarrabuwa chi-square matakai kənzəmabe 36-lan-a ro kalawo.
Lissafinzə
Adadi matsakaici ramina'uraRamiRamiwa lambama 37 rotorlanbe tilo. Su gade: akwati, kofi.Samma karatuwo → tilolan n/37. Rami tilo tilolan, bambanci aunama-a matsakaici-a ninki kənzəlan diwo kuru matsakaicilan rabawo; kashiwa 37-ga tawowo. Keke daidaiye matsakaicilan daidai-daidai 36 yin (matakai kənzəmabebincikeMatakai kənzəmabeLamba kimawa kənzəmabe kididdiga tilolan. Gwaji chi-square rami 37-belan 36, sabab kirgawa jimla samma-ro daidai dijinro.Samma karatuwo →), watsuwa standardlissafiWatsuwa standardTushe murabba'i variansbe; nisa gargajiya nətijabe kima matsakaici-lan.Samma karatuwo → daidai-daidai 8.5-a. 51.0-dən kura iyaka 5%-lan ma'ana-a; 58.6-dən kura 1%-lan. Bincike Karkata Kekebe kima kididdigabe-a kima pbincikeKima pDama karkata ruktəmma lardə au kurangəna ruktəminbe, idan keke daidai daji.Samma karatuwo → daidai-a funkshin gamma kammala bagoma daidaimadən lissafijin.
| juyi n | matsakaici rami tilolan | σ rami tilolan | rami +2σ-lan | rami +3σ-lan |
|---|---|---|---|---|
| 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 |
Misali lissafima
Consider a hypothetical sample of 1,000 independent spinslissafiJuyiwa kənzəmaJuyi samma dama tilo-n mbeji, tarikh runyi. Tushe lissafi samma sayit adebe.Samma karatuwo →. 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 probabilitylissafiDamaDama nətija tilobe, 0-lan 1-ro au 0%-lan 100%-ro. Lamba tilo: 1/37 = 2.70%.Samma karatuwo → 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.
Abuwa asallan karbama
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-a Monte Carlo-a
Karl Pearson gwajiga shekara 1900-lan bugajin, kuru misaliwanzə awallan tilo juyiwa rulet Monte Carlo-be 26,306 rubutuma, sandiga daidai-daidai bago ngawo, dacero gana ruinma, kuru “rulet Monte Carlo-be… wasa dacebe gənyi” bayan dijin. Marubuciwa gadeye, marubuciwa jaridabe juyiwaga jaridaro rubutumaye ngawonzəga kirkirama, ruinma; ade kənzə darasi asal bayanaibe.

Gwaji gaskiyabe: kekewa na'urabe Las Vegas-lan
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.
Chi-square-dən gade
Rami tilo shakkuma-ro, gwaji binomial karfi ngawo. Kashi kekebe shakkuma-ro, gwaji z bangarekekeBangareRamiwa kekelan jere-jere nəmmama, jama'a taswira teburbelan-ro gade.Samma karatuwo →-be shafi bincike bangarebelan. Chi-square gwaji samma-be: abu tilo daidai gənyiga nunjin, mi-a bayan dijinyi. Awal adega diwo, gade ruwo.
Fomula
Tambayawa
Kirgawa 37 tawajinma n wajib, adeye sabab 36 kalla kənzəlan kələ dimin.
Keke rami tilo 1/25-lan juyi 10,000-lan kashi rami adebe kənzəlan daidai-daidai 60 yin; χ² daidai-daidai 100, p sifiri-a lardə.
Dokalan ii, matsakaici rami tilolan 5.4-a. Amma abu tilo tamonyi, keke rami tilo manne-a kəlamma kalla.
Dariya kəlabe

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