Tès ki kare
Tès estanda pou kesyon “èske 37 kont sa yo se sa yon wou ekitab ta bay?”

χ² = Σ (obsève − atann)² / atann sou tout 37 kaz yo. Konpare l ak distribisyon ki kare a ak 36 degre libète pou jwenn yon valè p.
Kijan pou kalkile l
Kantite yo atann pou chak kazekipmanKazYoun nan 37 ti konpatiman nimewote ki sou rotò a. Yo rele l tou fant, gode.Li tout → se n/37. Pou chak kaz, pran diferans ant sa yo obsève ak sa yo atann, mete l o kare epi divize pa sa yo atann; adisyone 37 tèm yo. Yon wou ekitab bay valè ki tounen alantou 36 an mwayèn (kantite degre libètelaboratwaDegre libèteKantite valè endepandan nan yon estatistik. Pou yon tès ki kare sou 37 kaz, se 36, paske total kantite yo dwe bay total la.Li tout → yo), ak yon devyasyon estandamatematikDevyasyon estandaRasin kare varyans lan; distans tipik ant yon rezilta ak valè espere a.Li tout → apeprè 8.5. Pi wo pase 51.0 siyifikatif nan nivo 5%; pi wo pase 58.6 nan nivo 1%. Analizè patipri wou a kalkile estatistik la ak valè plaboratwaValè pPwobabilite pou wè yon devyasyon omwen osi gwo ke sa ou obsève a si wou a te ekitab.Li tout → egzak la apati fonksyon gama enkonplè regilarize a.
| n vire | atann pou chak kaz | σ pou chak kaz | yon kaz a +2σ | yon kaz a +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 |
Yon egzanp konplè
Consider a hypothetical sample of 1,000 independent spinsmatematikVire endepandanChak vire gen menm pwobabilite yo kèlkeswa sa ki te pase anvan. Se baz tout kalkil sou sit sa a.Li tout →. 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 probabilitymatematikPwobabiliteChans yon rezilta genyen, soti 0 rive 1 oswa soti 0% rive 100%. Yon sèl nimewo: 1/37 = 2.70%.Li tout → 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.
Sipozisyon yo
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 ak Monte Carlo
Karl Pearson te pibliye tès la an 1900, epi youn nan premye egzanp li te travay se te 26,306 vire woulèt Monte Carlo yo te anrejistre, li te jwenn yo twò lwen inifòm pou se aza epi li te deklare “woulèt Monte Carlo… se pa yon jwèt aza”. Pita, lòt otè te konkli jounalis ki te anrejistre vire yo pou yon jounal te envante anpil ladan yo, sa ki se yon leson pou kont li sou orijin done yo.

Yon vrè tès: wou otomatik nan 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.
Pi lwen pase ki kare
Pou yon sèl kaz yo sispèk, yon tès binomyal pi pwisan. Pou yon pati wou yo sispèk, tès z sektèwouSektèYon bout wonn kaz ki kole youn ak lòt sou wou a, ki diferan de yon gwoup sou tab pari a.Li tout → ki sou paj analiz sektè a. Ki kare se tès jeneral la: li di ou gen yon bagay ki pa bon san li pa di kisa. Sèvi avè l an premye, apre sa gade.
Fòmil
Kesyon
37 kont yo dwe bay n ansanm, kidonk se 36 sèlman ki lib pou varye.
Yon wou ki gen yon kaz ki soti 1/25 nan 10,000 vire ta bay yon tèm kaz alantou 60 pou kont li; χ² alantou 100, p pratikman zewo.
Teknikman wi, ak 5.4 atann pou chak kaz. Li p ap detekte anyen, sòf yon wou ki gen yon kaz yo kole fèmen.
Ti moman pou ri

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