輪盤實驗室 · 實驗室 · 統計 · 8分鐘

統計顯著性

「顯著」表示在公平轉輪下不太可能出現,不表示「真實存在」,也不表示「有利可圖」。

簡短答案

p 值為0.05,表示公平轉輪每二十次會有一次產生這麼不平均的模式。若檢查二十個轉輪,其中一個會純屬偶然地通過。

慣例
p < 0.05
假陽性率
每次檢驗5%
對策
重複驗證
它不是甚麼
p(轉輪有偏差)

p 值是甚麼

Assuming the stated null model, the p-value實驗室p 值若轉輪公平,觀察到至少與目前偏差同樣大的偏離的概率。閱讀全文 → is the probability數學概率結果發生的可能性,以0到1或0%到100%表示。一個號碼:1/37 = 2.70%。閱讀全文 → of a test statistic at least as extreme as the observed one. It is not the probability that the wheel is fair or that the result arose by chance. Interpretation also depends on the design, assumptions and tests attempted.

陳述正確?
p = 0.03表示公平轉輪有3%的時間會產生如此極端的數據是
p = 0.03表示轉輪有97%的概率存在偏差否
p = 0.03表示熱門口袋會持續熱門否
掃描30個轉輪後得到p = 0.03,是有力證據否;單憑偶然,預期就會出現一兩個這樣的結果
同一個轉輪的兩個獨立樣本都得到p = 0.03這時才值得關注

多重比較

在公平轉輪上進行的每一項檢驗,都有5%的機會在5%水平上通過。檢驗二十個轉輪,就會有一個通過。把一個轉輪分成二十個時段檢驗,就會有一個時段通過。對同一個樣本做37種口袋設備口袋轉子上37個有號碼隔間之一。也稱 slot、cup。閱讀全文 →分組、六種區段轉輪區段轉輪上連續的一段口袋弧線,不同於投注枱面上的一組號碼。閱讀全文 →分組和三種顏色分組,總會有某項通過。對策是在看數據之前先決定檢驗方法,只做一次,再以新數據確認。找出「有偏差」轉輪的掃描過程,往往正是造成這個結果的原因。

p < 0.05時至少有一個假陽性結果的概率%
1項檢驗
5%
5項檢驗
22.6%
10項檢驗
40.1%
20項檢驗
64.2%
37項檢驗(每個口袋一項)
85.0%
%
042.5085.0%
1 − 0.95ⁿ。分別檢驗每個口袋,幾乎必定會找到一個「顯著」的口袋。

顯著性與效應大小

A large sample can detect a small departure from fairness that still does not make a bet profitable. At a true pocket probability of 1/36.5, a 35:1 bet has negative expectation. At 1/36 it breaks even. A p-value does not measure the size or practical value of an effect.

統計功效

Power is the chance of rejecting the null under a specified alternative. For one pocket chosen in advance, an exact one-sided 5% binomial test on 1,000 spins rejects at 37 or more hits. If the true rate is 1/30, its power is about 28%, not 50%.

實用標準

一項偏差主張要值得關注,須具備:事先選定的檢驗、p < 0.01而非0.05、以大小相近的獨立樣本重複驗證,以及重複驗證後,受偏好口袋的估計中獎率達1/34或更高。在這個遊戲的歷史上,只有寥寥幾次達到這個標準;而就公開紀錄所見,從未在維護妥善的現代轉輪上出現過。

問題

為何是0.05?

這是1920年代沿用下來的慣例,本身並無特別之處;掃描大量轉輪時,0.01是較合理的門檻。

若p很小,轉輪一定有偏差嗎?

它很可能沒有產生均勻的結果。原因也可能是荷官效應、記錄錯誤或數據輸入出錯。請重複驗證。

顯著結果能告訴我該押哪個口袋嗎?

No. That requires a separate estimate of hit probability, its uncertainty and the actual payout金額派彩中獎賭注返還的金額,以「1賠X」表示,另加退回的注碼。閱讀全文 →.

趣味數學

先自己動手試試。每個解答都已摺起,準備好再展開。

  1. Suppose a dozen賭注打注1–12、13–24或25–36,派彩2:1。閱讀全文 → chosen before data collection appears 742 times in 3,000 independent double-zero轉輪零號單一綠色口袋,沒有任何等額賠付、打注或欄注涵蓋;是莊家優勢的來源。也稱單零、0。閱讀全文 → spins. Under the uniform model, how many standard deviations數學標準差方差的平方根;結果與期望值的典型距離。閱讀全文 → below the mean is that? What is the probability數學概率結果發生的可能性,以0到1或0%到100%表示。一個號碼:1/37 = 2.70%。閱讀全文 → of 742 or fewer hits?

    顯示解答

    答案 約低8.1個標準差。公平轉輪約在3 × 10¹⁵次嘗試中才會出現一次,也就是不會發生。隨題刊出的答案說11.75;我們算得8.07。

    Under the stated model, X is binomial with n = 3,000 and p = 12/38. Its mean is np ≈ 947.37 and its standard deviation is √(np(1 − p)) ≈ 25.46.

    The standardized difference is (742 − 947.37)/25.46 ≈ −8.07. Summing the exact binomial probabilities from 0 through 742 gives P(X ≤ 742) ≈ 9.77 × 10⁻¹⁷. A normal approximation with continuity correction gives about 4.25 × 10⁻¹⁶; the relative error is large this far into the tail.

    This is the probability of the specified data event under the model, not the probability that the wheel is fair. Such a result calls for checking the observations, independence, uniformity and analysis plan. Selecting the worst-looking dozen after inspecting data, or searching many wheels or time periods, requires accounting for that selection.

漫畫點綴

每二十個公平轉輪,就有一個「顯著」。這個數字的意思就是這樣。

每二十個公平轉輪,就有一個「顯著」。這個數字的意思就是這樣。

來源

  1. Pearson, K. “On the criterion that a given system of deviations from the probable…” https://www.amstat.org/asa/files/pdfs/P-ValueStatement.pdf
  2. Feller, W. An Introduction to Probability Theory and Its Applications, Vol. 1. https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/chsqgood.htm
模型:歐式、單零方法論 ↗來源 ↗