Isuzuma rya Chi-Square
Isuzuma risanzwe ry'ikibazo “ese iyi mibare 37 ni yo uruziga rutabogamye rwatanga?”

χ² = Σ (ibyabonetse − ibiteganyijwe)² / ibiteganyijwe ku tuzu 37 twose. Bigereranye n'ikwirakwizwa rya chi-square rifite ibipimo by'ubwisanzure 36 kugira ngo ubone p-value.
Kuyibara
Umubare uteganyijwe kuri buri kazuibikoreshoAkazuKamwe mu tuzu 37 twanditseho imibare turi kuri rotor. Nanone: slot, cup.Soma byose → ni n/37. Kuri buri kazu, fata itandukaniro hagati y'ibyabonetse n'ibiteganyijwe urikube ryo ubwaryo, urigabanye ibiteganyijwe; ongeranya ibyo bice 37. Uruziga rutabogamye rutanga agaciro kari hafi ya 36 ku mpuzandengo (ibipimo by'ubwisanzurelaboratwariIbipimo by'ubwisanzureUmubare w'agaciro kigenga mu mubare w'ibarurishamibare. Ku isuzuma rya chi-square ku tuzu 37 ni 36, kuko imibare yabaruwe igomba guteranwa ikangana n'igiteranyo.Soma byose →), gafite ikinyuranyo gisanzweimibareIkinyuranyo gisanzweUmuzi wa kare w'ihindagurika; intera isanzwe y'igisubizo uvuye ku gaciro gateganyijwe.Soma byose → cya hafi 8,5. Hejuru ya 51,0 bifite igisobanuro ku rugero rwa 5%; hejuru ya 58,6 kuri 1%. Isesengura ry'Ukubogama k'Uruziga rwa Roulette ribara icyo gipimo na p-valuelaboratwarip-valueAmahirwe yo kubona itandukaniro rinini nk'iryabonetse cyangwa ririruta, iyo uruziga ruba rutabogamye.Soma byose → nyayo hakoreshejwe regularized incomplete gamma function.
| amazunguruka n | ibiteganyijwe kuri buri kazu | σ kuri buri kazu | akazu kuri +2σ | akazu kuri +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 |
Urugero rubazwe
Consider a hypothetical sample of 1,000 independent spinsimibareAmazunguruka yigengaBuri zunguruka rifite amahirwe amwe uko amateka yaba ari kose. Ni ryo shingiro rya buri mubare ubarwa kuri uru rubuga.Soma byose →. 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 probabilityimibareAmahirweAmahirwe y'igisubizo, kuva kuri 0 kugeza kuri 1 cyangwa kuva kuri 0% kugeza kuri 100%. Umubare umwe: 1/37 = 2,70%.Soma byose → 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.
Ibyo isuzuma rifata nk'ukuri
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.
Umukono wa Kurupiye wa RouletteAmazunguruka ya Roulette Yigenga
Pearson na Monte Carlo
Karl Pearson yatangaje iri suzuma mu 1900, kandi kimwe mu ngero ze za mbere yabaze cyari amazunguruka 26.306 ya roulette yo muri Monte Carlo yanditswe, asanga atangana na gato ku buryo bidashobora kuba amahirwe, maze avuga ko “roulette ya Monte Carlo… si umukino w'amahirwe”. Abanditsi baje nyuma banzuye ko abanyamakuru banditse ayo mazunguruka ku kinyamakuru bahimbye menshi muri yo, ibyo bikaba isomo ryihariye ku byerekeye inkomoko y'amakuru.

Isuzuma nyaryo: inziga zikora zonyine 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.
Hejuru ya chi-square
Ku kazu kamwe gakekwa, isuzuma rya binomial rifite imbaraga kurushaho. Ku muheto ukekwa, z-test y'igice cy'uruzigauruzigaIgice cy'uruzigaUmuheto w'utuzu dukurikirana ku ruziga, bitandukanye n'itsinda ku mbonerahamwe y'amatega.Soma byose → iri ku ipaji ya Isesengura ry'Ibice by'Uruziga. Chi-square ni isuzuma rusange: rikubwira ko hari ikitagenda neza ritavuga icyo ari cyo. Ribanze, hanyuma urebe.
Formula
Ibibazo
Imibare 37 igomba kungana na n iyo iteranyijwe, bityo 36 gusa ni yo ishobora guhinduka mu bwisanzure.
Uruziga rufite akazu kamwe ka 1/25 mu mazunguruka 10.000 rwatanga igice cy'ako kazu cyonyine kiri hafi ya 60; χ² hafi 100, p hafi zeru rwose.
Mu buryo bwa tekiniki yego, biteganyijwe 5,4 kuri buri kazu. Nta cyo rizatahura keretse uruziga rufite akazu kafunzwe na kole.
Akanya k'urwenya

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