輪盤實驗室 · 實驗室 · 統計學 · 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、用一個差唔多大嘅獨立樣本再驗,同埋再驗之後,嗰啲偏好格嘅估計中率要係34分之1或者更好。喺呢個遊戲嘅歷史上,只有寥寥幾次達到呢個標準;而就公開紀錄所見,從來冇喺保養得好嘅現代轉輪上面出現過。

問題

點解係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
模型:歐式單零輪盤方法 ↗來源 ↗

Roulette Online PRO 係一個教育參考網站。除非另外註明,本站所有數字都假設用一個有37個格嘅公平歐式轉輪;冇任何落注系統可以改變每落一個單位2.70%嘅預期損失。輪盤係靠運氣嘅遊戲:玩之前定好預算,當輸咗嘅錢係娛樂開支;如果玩到覺得唔再係自己揀,就搵人幫手。