Bvunzo yeChi-Square
Bvunzo yakajairika yekuti “nhamba idzi 37 ndidzo dzaizoburitswa nevhiri rakarurama here?”

χ² = Σ (zvakaonekwa − zvinotarisirwa)² / zvinotarisirwa pamakomba ese 37. Enzanisai nekugovaniswa kwechi-square pamadhigirii erusununguko 36 kuti muwane p-value.
Kuiverenga
Huwandu hunotarisirwa pagombamidziyoGombaImwe yemakamuri 37 ane nhamba parotor. Mamwe mazita: slot, cup.Verengai zvese → i n/37. Pagomba rimwe nerimwe, sikweyai musiyano uri pakati pezvakaonekwa nezvinotarisirwa mogovanisa nezvinotarisirwa; sanganisai zvikamu 37. Vhiri rakarurama rinopa nhamba dzingangoita 36 paavhareji (iwo madhigirii erusunungukoongororoMadhigirii erusunungukoHuwandu hwemaitiro akazvimirira munhamba yeongororo. Pabvunzo yechi-square pamakomba 37 i36, nokuti nhamba dzinofanira kusanganiswa dzosvika pahuwandu hwese.Verengai zvese →), nestandard deviationmasvomhuStandard deviationMudzi wesikweya wemusiyano; chinhambwe chakajairwa chemhedzisiro kubva pakukosha kunotarisirwa.Verengai zvese → ingangoita 8.5. Pamusoro pe51.0 zvine kukosha padanho re5%; pamusoro pe58.6 pa1%. Muongorori weKutsauka kweVhiri reRoulette anoverenga nhamba iyi nep-valueongororop-valueMukana wekuona kutsauka kwakakura zvakaenzana kana kupfuura kwakaonekwa dai vhiri rakanga rakarurama.Verengai zvese → chaiyo kubva paregularized incomplete gamma function.
Muenzaniso wakaverengwa
Consider a hypothetical sample of 1,000 independent spinsmasvomhuKutenderera kwakazvimiriraKutenderera kwega kwega kune mikana imwe chete zvisinei nezvakaitika kare. Ihwo hwaro hwekuverenga kwese pawebhusaiti ino.Verengai zvese →. 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 probabilitymasvomhuMukanaMukana wemhedzisiro, kubva pa0 kusvika pa1 kana 0% kusvika 100%. Nhamba imwe: 1/37 = 2.70%.Verengai zvese → 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.
Zvinofungidzirwa
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.
Siginecha yeMutambisi weRouletteKutenderera kweRoulette Kwakazvimirira
Pearson neMonte Carlo
Karl Pearson akaburitsa bvunzo iyi muna 1900, uye mumwe wemienzaniso yake yekutanga kutenderera 26,306 kweRoulette yeMonte Carlo kwakanyorwa, kwaakaona kusina kuenzana zvakanyanya kuti kuve mhanza akazivisa kuti “Roulette yeMonte Carlo… haisi mutambo wemhanza”. Vanyori vakazotevera vakagumisa kuti vatori venhau vakanyora kutenderera kwacho kwepepanhau vakagadzira kwakawanda kwacho, chidzidzo chacho pachacho pamusoro pekwakabva data.

Bvunzo chaiyo: mavhiri anozvishandira muLas 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.
Kupfuura chi-square
Kugomba rimwe chete rinofungirwa bvunzo yebinomial ine simba kupfuura. Kuchikamu chinofungirwa, z-test yechikamu chevhirivhiriChikamu chevhiriRutivi rwemakomba akatevedzana pavhiri, rwakasiyana neboka riri patafura yekubhejera.Verengai zvese → iri papeji reOngororo yeZvikamu zveVhiri. Chi-square ibvunzo yezvose: inokuudzai kuti pane chisina kururama isingataure kuti chii. Ishandisei kutanga, mozotarisa.
Fomula
Mibvunzo
Nhamba 37 dzinofanira kusanganiswa dzosvika pa n, saka 36 chete ndidzo dzakasununguka kuchinja.
Vhiri rine gomba rimwe pa1/25 mukutenderera 10,000 raizopa chikamu chegomba chingangoita 60 chega; χ² ingangoita 100, p inenge zero.
Mumutemo hongu, ne5.4 zvinotarisirwa pagomba. Haizooni chinhu kunze kwevhiri rine gomba rakanamirwa rikavharika.
Kuseka zvishoma

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