Whakamātautau Chi-square
Te whakamātautau paerewa mō te pātai “koinei ngā tatau e 37 ka whakaputaina e tētahi wīra tōkeke?”

χ² = Σ (kitea − tūmanakohia)² / tūmanakohia puta noa i ngā kōhao katoa e 37. Whakatairitea ki te tohatoha chi-square i runga i ngā taumata herekore 36 kia whiwhi ai i tētahi uara-p.
Te tātai
Ko te tatau e tūmanakohia ana mō ia kōhaotaputapuKōhaoTētahi o ngā wehenga e 37 kua tauia i te rōta. Arā anō: slot, cup.Pānuitia katoatia →, he n/37. Mō ia kōhao, pūrua te rerekētanga i waenga i te mea i kitea me te mea e tūmanakohia ana, ka wehe ai ki te mea e tūmanakohia ana; tāpiria ngā wāhanga e 37. Ka hoatu e tētahi wīra tōkeke ngā uara huri noa i te 36 i te toharite (ngā taumata herekoretaiwhangaTaumata herekoreTe maha o ngā uara motuhake i tētahi tatauranga. Mō te whakamātautau chi-square i ngā kōhao e 37, e 36, nā te mea me tāpiri ngā tatau ki te tapeke.Pānuitia katoatia →), me te hipanga paerewapāngarauHipanga paerewaTe pūtake rua o te tītaringa; te tawhiti noa o te hua i te uara tūmanako.Pānuitia katoatia → i te āhua o te 8.5. Ki runga ake i te 51.0, he hira i te taumata 5%; ki runga ake i te 58.6, i te 1%. Ka tātaihia e te Wheel Bias Analyzer te tauanga me te uara-ptaiwhangaUara-pTe tūponotanga ka kitea he rerekētanga ōrite te nui, nui ake rānei i te mea kua kitea, mēnā he tōkeke te wīra.Pānuitia katoatia → tika mai i te pānga gamma koretake kua whakaritea.
| n hurihanga | e tūmanakohia ana mō ia kōhao | σ mō ia kōhao | he kōhao i te +2σ | he kōhao i te +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 |
He tauira kua mahia
Consider a hypothetical sample of 1,000 independent spinspāngarauNgā hurihanga motuhakeHe ōrite ngā tūponotanga o ia hurihanga, ahakoa te hītori. Koia te tūāpapa o ia tātaitanga i tēnei pae.Pānuitia katoatia →. 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 probabilitypāngarauTūponotangaTe tūpono o tētahi putanga, mai i te 0 ki te 1, mai i te 0% ki te 100% rānei. Tau kotahi: 1/37 = 2.70%.Pānuitia katoatia → 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.
Ngā whakapae
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 me Monte Carlo
I whakaputaina e Karl Pearson te whakamātautau i te 1900, ā, ko tētahi o ana tauira tuatahi, ko ngā hurihanga rūreti 26,306 i tuhia i Monte Carlo; i kitea e ia he tino kore ōrite rawa kia kīia he tūpono noa, ā, i kī ia “Monte Carlo roulette… is not a game of chance” (ehara te rūreti o Monte Carlo i te kēmu tūpono). I muri mai i whakatau ētahi kaituhi, nā ngā kairīpoata i tuhi i ngā hurihanga mō tētahi niupepa te nuinga i hanga noa, he akoranga anō tēnā mō te pūtake o ngā raraunga.

He whakamātautau tūturu: ngā wīra aunoa i 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.
I tua atu i te chi-square
Mō tētahi kōhao kotahi e whakapaetia ana, he kaha ake te whakamātautau huarua. Mō tētahi pewa e whakapaetia ana, ko te whakamātautau-z wāhangawīraWāhangaHe pewa kōhao honohono i te wīra, he rerekē i tētahi rōpū i te mahere peti.Pānuitia katoatia → kei te whārangi tātari wāhanga. Ko te chi-square te whakamātautau whānui: ka kōrero mai kei te hē tētahi mea, engari kāore e kī ko te aha. Whakamahia tuatahi, kātahi ka titiro.
Tātai
Ngā pātai
Me tae te tapeke o ngā tatau e 37 ki te n, nō reira e 36 anake e wātea ana ki te rerekē.
Ko tētahi wīra kotahi te kōhao i te 1/25 i ngā hurihanga 10,000, ka hoatu he wāhanga kōhao i te āhua o te 60 anake; χ² i te āhua o te 100, p tata ki te kore.
Āe, i runga i te ture, me te 5.4 e tūmanakohia ana mō ia kōhao. Kāore e kitea tētahi mea, hāunga tētahi wīra kua whakapiria tētahi kōhao kia kati.
He katakata iti

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