Chi-Square a Pannubok
Ti estandar a pannubok para iti “dagitoy kadi a 37 a bilang ket isu ti pataudan ti nalinteg a pilid?”

χ² = Σ (nakita − mapadpadles)² / mapadpadles iti amin a 37 a bulsa. Iyaspingyo iti panagwaras ti chi-square iti 36 a degree ti wayawaya tapno maala ti pateg ti p.
Panangkuenta
Ti mapadpadles a bilang iti tunggal bulsaalikamenBulsaMaysa kadagiti 37 a nanumeruan a kompartimento iti rotor. Maawagan met iti slot, cup.Basaen amin → ket n/37. Iti tunggal bulsa, ikuadradoyo ti nagdumaan ti nakita ken ti mapadpadles ket bingayenyo iti mapadpadles; dagupenyo dagiti 37 a termino. Ti nalinteg a pilid ket mangted kadagiti pateg nga agarup 36 iti promedio (dagiti degree ti wayawayalaboratorioDegree ti wayawayaTi bilang dagiti agsisina a pateg iti maysa nga estadistika. Para iti chi-square a pannubok iti 37 a bulsa, 36 daytoy, gapu ta masapul nga agdagup dagiti bilang iti total.Basaen amin →), nga addaan estandar a panagsinamatematikaEstandar a panagsinaSquare root ti barians; ti kadawyan a kaadayo ti maysa a resulta manipud iti mapadpadles a pateg.Basaen amin → nga agarup 8.5. No nangatngato ngem 51.0, nakaipapanan iti 5% a pagbeddengan; no nangatngato ngem 58.6, iti 1%. Ti Panagusig iti Panagkillo ti Pilid ket kuentaenna ti estadistika ken ti eksakto a pateg ti plaboratorioPateg ti pTi probabilidad a makakita iti panagsina a kas kadakkel wenno dakdakkel ngem ti nakita no nalinteg koma ti pilid.Basaen amin → manipud iti regularized incomplete gamma function.
Maysa a pagarigan a nakuenta
Consider a hypothetical sample of 1,000 independent spinsmatematikaAgsisina a tayyekTunggal tayyek ket addaan iti isu met laeng a probabilidad aniaman ti napalabas. Ti pundasion ti tunggal pannakakuenta iti daytoy a site.Basaen amin →. 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 probabilitymatematikaProbabilidadTsansa ti maysa a resulta, manipud iti 0 agingga iti 1 wenno 0% agingga iti 100%. Maysa a numero: 1/37 = 2.70%.Basaen amin → 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.
Dagiti pagarup
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 ken Monte Carlo
Impablaak ni Karl Pearson ti pannubok idi 1900, ket maysa kadagiti umuna a pagarigan a kinuentana ket ti 26,306 a naisurat a tayyek ti ruleta iti Monte Carlo, a nasarakanna a saan unay nga agpapada tapno agbalin a gasat laeng ket kinunana a ti “ruleta ti Monte Carlo… ket saan nga ay-ayam ti gasat”. Kalpasanna, inkeddeng dagiti sumuno a mannurat a dagiti periodista a nangisurat kadagiti tayyek para iti maysa a pagiwarnak ket inaramidda ti adu kadagitoy, a maysa a leksion maipapan iti nagtaudan ti datos.

Pudno a pannubok: dagiti automatiko a pilid idiay 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.
Labes ti chi-square
Para iti maymaysa a bulsa a maduaduaan, nabilbileg ti binomial a pannubok. Para iti paset a maduaduaan, ti z a pannubok ti sektorpilidSektorAgtultuloy a paset ti pilid a bukel dagiti bulsa, a naiduma iti grupo iti plano ti lamisaan.Basaen amin → iti panid ti panangusig iti sektor. Ti chi-square ket pannubok iti kaaduan: ibagana nga adda saan a husto ngem saanna nga ibaga no ania. Usarenyo nga umuna, sa kitaenyo.
Pormula
Dagiti Saludsod
Ti dagup dagiti 37 a bilang ket masapul a n, isu nga 36 laeng ti nawaya nga agbaliw.
Ti pilid nga addaan maysa a bulsa iti 1/25 iti 10,000 a tayyek ket mangted iti termino ti bulsa nga agarup 60 laeng; χ² nga agarup 100, p ket dandani sero.
Iti teknikal, wen, a 5.4 ti mapadpadles iti tunggal bulsa. Awan ti maduktalna malaksid no adda bulsa a nakolaan a nakaserra.
Pagkatawaan

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