TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Truth in the Law of Small Numbers

34 点作者 houseofshards超过 9 年前

3 条评论

dzdt超过 9 年前
I don&#x27;t get this yet. Their lead paragraph says:<p>&gt; Jack takes a coin from his pocket and decides that he will flip it 4 times in a row, writing down the outcome of each flip on a scrap of paper. After he is done flipping, he will look at the flips that immediately followed an outcome of heads, and compute the relative frequency of heads on those flips. Because the coin is fair, Jack of course expects this empirical probability of heads to be equal to the true probability of flipping a heads:0.5. Shockingly, Jack is wrong. If he were to sample one million fair coins and flip each coin 4 times, observing the conditional relative frequency for each coin, on average the relative frequency would be approximately 0.4.<p>If I try to work this out, I write down the 16 possibilities for four coin flips:<p><pre><code> TTTT, TTTH, TTHT, TTHH, THTT, THTH, THHT, THHH, HTTT, HTTH, HTHT, HTHH, HHTT, HHTH, HHHT, HHHH </code></pre> I count 24 instances where H occurs before the end of the sequence, 12 of which are followed by H and 12 of which are followed by T. So I get the expected 0.5 outcome.<p>The authors do some other calculation, and I don&#x27;t understand what they are thinking. Can someone explain?
评论 #10451863 未加载
评论 #10451063 未加载
mcnamaratw超过 9 年前
Does anyone understand their argument clearly?<p>For three flips I get this sample space:<p>TTT no data; TTH no data; THT one data point HT; THH one data point HH; HTT one data point HT; HTH one data point HT; HHT two data points HH, HT; HHH two data points HH, HH<p>total data points by result: HT 4 HH 4<p>For four flips it&#x27;s the same deal, after an H I&#x27;m equally likely to get another H or a T. Of course.<p>What am I missing? I don&#x27;t quite understand their definition of &#x27;empirical probability.&#x27;
notsurenot超过 9 年前
It is clear that there is a selection bias. Suppose there are 3 heads in a row, HHH, and we are going to estimate the probability of the next coin to be H. But we do it this way: if the outcome is H you don&#x27;t count that as a H, a success, instead we proceed to make another estimation replacing HHHH as the initial condition. Since you don&#x27;t count correctly the number of successes, this way of estimating probabilities constitutes a biased estimator of the real probability.
评论 #10450596 未加载