Teste ki-kuadradu
Teste padraun ba pergunta “kontajen 37 ne'e mak buat ne'ebé roda justu sei fó?”

χ² = Σ (observadu − esperadu)² / esperadu ba kuak 37 hotu. Kompara ho distribuisaun ki-kuadradu ho grau liberdade 36 atu hetan valór-p.
Oinsá kalkula
Kontajen esperadu kada kuakekipamentuKuakKompartimentu ida husi kompartimentu 37 ho númeru iha rotór. Mós: slot, cup.Lee kompletu → mak n/37. Ba kada kuak, foti diferensa entre observadu no esperadu, halo kuadradu no fahe ho esperadu; soma termu 37. Roda justu fó valór haleu 36 iha média (grau liberdadelaboratóriuGrau liberdadeNúmeru valór independente iha estatístika ida. Ba teste ki-kuadradu iha kuak 37 nia mak 36, tanba kontajen sira tenke soma to'o totál.Lee kompletu →), ho desviu padraunmatemátikaDesviu padraunRaís kuadrada husi variánsia; distánsia típika husi rezultadu ida ba valór esperadu.Lee kompletu → kuaze 8,5. Liu 51,0 signifikativu iha nivel 5%; liu 58,6 iha 1%. Analizadór Tendénsia Roda kalkula estatístika no valór-plaboratóriuValór-pProbabilidade atu haree desviu ida ne'ebé boot hanesan ka liu ida ne'ebé observa, se roda ne'e justu.Lee kompletu → ezatu husi funsaun gama inkompletu regularizada.
| n jira | esperadu kada kuak | σ kada kuak | kuak ida iha +2σ | kuak ida iha +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 |
Ezemplu ida ho kálkulu
Consider a hypothetical sample of 1,000 independent spinsmatemátikaJira independenteKada jira iha probabilidade hanesan, la depende ba istória. Baze ba kálkulu hotu iha site ne'e.Lee kompletu →. 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 probabilitymatemátikaProbabilidadeXanse husi rezultadu ida, husi 0 to'o 1 ka husi 0% to'o 100%. Númeru ida: 1/37 = 2,70%.Lee kompletu → 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.
Asumsaun sira
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 no Monte Carlo
Karl Pearson publika teste ne'e iha 1900, no ida husi nia ezemplu dahuluk sira mak jira roleta 26.306 ne'ebé ema rejista iha Monte Carlo. Nia hetan katak sira la uniforme liu atu sai sorte, no deklara katak “Monte Carlo roulette… is not a game of chance” (roleta Monte Carlo la'ós jogu sorte nian). Autór sira depois konklui katak jornalista sira ne'ebé rejista jira ba jornál ida inventa barak husi sira, ne'ebé sai liisaun ida kona-ba dadus nia orijen.

Teste loos ida: roda automátiku iha 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.
Liu ki-kuadradu
Ba kuak ida ne'ebé suspeita, teste binomiál iha podér boot liu. Ba arku ida ne'ebé suspeita, teste z setórrodaSetórArku ida husi kuak sira ne'ebé tuir malu iha roda, la hanesan ho grupu ida iha mapa aposta.Lee kompletu → nian iha pájina análize setór. Ki-kuadradu mak teste jerál: nia hatete katak buat ruma la loos maibé la hatete saida. Uza nia uluk, depois haree.
Fórmula
Pergunta sira
Kontajen 37 tenke soma to'o n, entaun 36 de'it mak livre atu muda.
Roda ida ho kuak ida iha 1/25 iha jira 10.000 sei fó termu kuak ida mesak haleu 60; χ² haleu 100, p kuaze zero.
Iha téknika bele, ho esperadu 5,4 kada kuak. Nia sei la deteta buat ida, se la'ós roda ida ho kuak ida ne'ebé ema taka ho kola.
Komiku atu hamnasa

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