Nnwale Chi-Square
Nnwale a na-ejikarị maka “ọnụọgụ 37 ndị a ọ bụ ihe wiil ziri ezi ga-emepụta?”

χ² = Σ (ihe a hụrụ − ihe a tụrụ anya)² / ihe a tụrụ anya n’oghere 37 niile. Tụnyere ya na nkesa chi-square na degrees of freedom 36 iji nweta p-value.
Ịgbakọ ya
Ọnụọgụ a tụrụ anya kwa ogherengwa ọrụOghereOtu n’ime ebe 37 nwere nọmba dị na rotor. A na-akpọkwa ya: slot, cup.Gụọ ya niile → bụ n/37. Maka oghere ọ bụla, mee square nke ọdịiche dị n’etiti ihe a hụrụ na ihe a tụrụ anya ma kee ya site na ihe a tụrụ anya; gbakọta akụkụ 37 ahụ. Wiil ziri ezi na-enye uru dị gburugburu 36 na nkezi (degrees of freedomụlọ nnwaleDegrees of freedomỌnụọgụ uru ndị kwụụrụ onwe ha n’otu statistic. Maka nnwale chi-square n’oghere 37 ọ bụ 36, n’ihi na ọnụọgụ ndị ahụ ga-agbakọrịrị ruo ngụkọta.Gụọ ya niile →), ya na standard deviationmgbakọStandard deviationMgbọrọgwụ square nke mgbasa; anya nkịtị dị n’etiti otu nsonaazụ na uru a tụrụ anya.Gụọ ya niile → dị ihe dị ka 8.5. Karịa 51.0 dị mkpa na ọkwa 5%; karịa 58.6 na 1%. Onye Nyocha Mmasị Wiil Roulette na-agbakọ statistic ahụ na p-valueụlọ nnwalep-valueOhere ịhụ ndịiche ruru ma ọ bụ karịa nke a hụrụ ma ọ bụrụ na wiil ahụ ziri ezi.Gụọ ya niile → kpọmkwem site na regularized incomplete gamma function.
| ntụgharị n | a tụrụ anya kwa oghere | σ kwa oghere | oghere na +2σ | oghere na +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 |
Ọmụmaatụ Ngụkọ
Consider a hypothetical sample of 1,000 independent spinsmgbakọNtụgharị kwụụrụ onwe haNtụgharị ọ bụla nwere otu ohere ahụ n’agbanyeghị ihe mere na mbụ. Ntọala mgbakọ ọ bụla na saịtị a.Gụọ ya niile →. 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 probabilitymgbakọOhereOhere nke otu nsonaazụ, site na 0 ruo 1 ma ọ bụ 0% ruo 100%. Otu nọmba: 1/37 = 2.70%.Gụọ ya niile → 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.
Echiche ndị e weere
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.
Akara Aka Onye Na-agba Wiil RouletteNtụgharị Roulette Ndị Kwụụrụ Onwe Ha
Pearson na Monte Carlo
Karl Pearson bipụtara nnwale ahụ na 1900, otu n’ime ihe atụ mbụ ọ rụrụ bụ ntụgharị roulette Monte Carlo 26,306 e dekọrọ, nke ọ chọpụtara na ọ dịghị nhata nke ukwuu ịbụ mberede ma kwupụta na “roulette Monte Carlo… abụghị egwuregwu mberede”. Ndị edemede mechara kwubie na ndị nta akụkọ dekọrọ ntụgharị ahụ maka akwụkwọ akụkọ chepụtara ọtụtụ n’ime ha, nke bụ ihe mmụta n’onwe ya gbasara ebe data si.

Ezigbo nnwale: wiil akpaka na 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.
Karịa chi-square
Maka otu oghere a na-enyo enyo, nnwale binomial nwere ike karịa. Maka akụkụ wiil a na-enyo enyo, z-test sectorwiilSectorAkụkụ oghere na-esochi ibe ha na wiil, nke dị iche na otu ìgwè na mbadamba nzọ.Gụọ ya niile → dị n’ibe Nyocha Sector. Chi-square bụ nnwale izugbe: ọ na-agwa gị na ihe adịghị mma n’ekwughị ihe ọ bụ. Jiri ya mbụ, mgbe ahụ lee anya.
Fọmụla
Ajụjụ
Ọnụọgụ 37 ahụ aghaghị ịgbakọta ruo n, ya mere naanị 36 nwere onwe ịgbanwe.
Wiil nwere otu oghere na 1/25 n’ime ntụgharị 10,000 ga-enye akụkụ oghere ahụ naanị ihe dị ka 60; χ² ihe dị ka 100, p fọrọ nke nta ka ọ bụrụ efu.
N’usoro, ee, ya na 5.4 a tụrụ anya kwa oghere. Ọ gaghị achọpụta ihe ọ bụla ma ọ bụghị wiil nwere oghere e jiri gluu mechie.
Ihe ọchị

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