Labu ya Roulette · Labu · Ziwerengero · mphindi 8

Mayeso a Chi-Square

Mayeso okhazikika a funso lakuti “kodi ziwerengero 37 izi ndi zimene gudumu lachilungamo likanapanga?”

Yankho lalifupi

χ² = Σ (zoonedwa − zoyembekezeka)² / zoyembekezeka pa tibowo tonse 37. Yerekezani ndi kagawidwe ka chi-square pa madigiri a ufulu 36 kuti mupeze p-value.

chiwerengero
Σ (O−E)²/E
df
36
malire pa 5%
51.0
malire pa 1%
58.6

Kuwerengera

Chiwerengero choyembekezeka pa kabowozipangizoKabowoChimodzi mwa tibowo 37 tokhala ndi manambala pa rotor. Kamatchedwanso: slot, cup.Werengani yonse → kalikonse ndi n/37. Pa kabowo kalikonse, chulukitsani ndi chokha kusiyana pakati pa zoonedwa ndi zoyembekezeka ndipo gawani ndi zoyembekezeka; phatikizani magawo 37. Gudumu lachilungamo limapereka mitengo yozungulira 36 pa avareji (madigiri a ufululabuMadigiri a ufuluChiwerengero cha mitengo yodziyimira payokha mu chiwerengero cha ziwerengero. Pa mayeso a chi-square pa tibowo 37 ndi 36, chifukwa ziwerengero ziyenera kuphatikizana kufika chiwerengero chonse.Werengani yonse →), ndi kupatuka kokhazikikamasamuKupatuka kokhazikikaMuzu wa sikweya wa kusinthasintha; mtunda wanthawi zonse wa zotsatira kuchokera ku mtengo woyembekezeka.Werengani yonse → kwa pafupifupi 8.5. Pamwamba pa 51.0 ndi kofunika pa mlingo wa 5%; pamwamba pa 58.6 pa 1%. Chosanthula Kukondera kwa Gudumu la Roulette chimawerengera chiwerengerocho ndi p-valuelabup-valueKuthekera koona kupatuka kofanana kapena kokulirapo kuposa komwe kwaonedwa ngati gudumu likanakhala lachilungamo.Werengani yonse → yeniyeni kuchokera ku regularized incomplete gamma function.

kuzungulira nzoyembekezeka pa kabowoσ pa kabowokabowo pa +2σkabowo pa +3σ
370103.11619
1,000275.13742
3,7001009.9120130
10,00027016.2303319
37,0001,00031.21,0621,094
σ ≈ √(n·p·(1−p)) ndi p = 1/37. Pa kuzungulira 1,000 kabowo kogundidwa 37 si kachilendo; kogundidwa 42 n’koyenera chitsanzo chachiwiri.

Chitsanzo chowerengedwa

Consider a hypothetical sample of 1,000 independent spinsmasamuKuzungulira kodziyimira payokhaKuzungulira kulikonse kuli ndi kuthekera kofanana mosasamala kanthu za mbiri. Maziko a kuwerengera kulikonse pa tsamba lino.Werengani yonse →. 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 probabilitymasamuKuthekeraMwayi wa zotsatira, kuchokera 0 mpaka 1 kapena 0% mpaka 100%. Nambala imodzi: 1/37 = 2.70%.Werengani yonse → 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.

Malingaliro oyambira

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.

Chizindikiro cha Dealer wa RouletteKuzungulira kwa Roulette Kodziyimira Payokha

Pearson ndi Monte Carlo

Karl Pearson anafalitsa mayesowa mu 1900, ndipo chimodzi mwa zitsanzo zake zoyamba zowerengedwa chinali kuzungulira kwa roulette ya Monte Carlo 26,306 kolembedwa, kumene anapeza kuti n’kosafanana kwambiri kuti kukhale mwangozi ndipo analengeza kuti “Monte Carlo roulette… is not a game of chance” (roulette ya Monte Carlo si masewera a mwayi). Olemba a pambuyo pake anamaliza kuti atolankhani amene analemba kuzungulira kwa nyuzipepala anakupanga kochuluka, ndipo limenelo ndi phunziro lake lokha lokhudza kumene zambiri zimachokera.

Mayeso a Pearson a 1900 anapeza kuti kuzungulira kwa Monte Carlo n’kosafanana kwambiri; olemba a nyuzipepala anali atakupanga kochuluka.

Roulette ya Monte Carlo

Mayeso enieni: magudumu odziyendetsa ku 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.

Kupitirira chi-square

Pa kabowo kamodzi kokayikiridwa mayeso a binomial ndi amphamvu kwambiri. Pa mbali yokayikiridwa, z-test ya gawogudumuGawoMndandanda wolumikizana wa tibowo pa gudumu, mosiyana ndi gulu pa dongosolo la mabetcha.Werengani yonse → patsamba la Kusanthula Magawo. Chi-square ndi mayeso a zonse pamodzi: imakuuzani kuti china chake sichili bwino popanda kunena kuti n’chiyani. Igwiritseni ntchito choyamba, kenako yang’anani.

Kusanthula Magawo

Fomula

χ² = Σᵢ (Oᵢ − Eᵢ)² / Eᵢ
Eᵢ = n / 37 · df = 36
mitengo ya malire: 51.0 (5%) · 58.6 (1%)

Mafunso

N’chifukwa chiyani madigiri a ufulu 36 osati 37?

Ziwerengero 37 ziyenera kukwana n, choncho 36 zokha ndi zaufulu kusiyana.

Kodi gudumu lokondera kwambiri likanaonetsa χ² yotani?

Gudumu lokhala ndi kabowo kamodzi pa 1/25 pa kuzungulira 10,000 likanapereka gawo la kabowo lozungulira 60 lokha; χ² yozungulira 100, p kwenikweni ziro.

Kodi ndingachite mayesowa pa kuzungulira 200?

Mwaukadaulo inde, ndi 5.4 zoyembekezeka pa kabowo kalikonse. Sadzazindikira kalikonse kupatula gudumu lokhala ndi kabowo kotsekedwa ndi guluu.

Nthabwala yopumitsa

For 36 degrees of freedom, the approximate 5% upper-tail cutoff is 51.0.

For 36 degrees of freedom, the approximate 5% upper-tail cutoff is 51.0.

Magwero

  1. Pearson, K. “On the criterion that a given system of deviations from the probable…” https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/chsqgood.htm
  2. Feller, W. An Introduction to Probability Theory and Its Applications, Vol. 1. https://www.amstat.org/asa/files/pdfs/P-ValueStatement.pdf
chitsanzo: ya ku Ulaya, ziro imodzinjira zowerengera ↗magwero ↗