プリンキピア

第8章統計学

Coin flippingコイン投げ

In the opening of The Normal Distribution, we saw that the number of heads we get when we flip a coin 100 times is distributed normally. It can be shown that if n is the number of flips, then the mean of that distribution is n2 and the standard deviation is n2 (as long as n≥20). So, for 100 flips, the mean of the distribution is 50 and the standard deviation is 5. In that opening example, one of our early runs gave us 70 heads in 100 flips, which we noted seemed unusual. Using the normal distribution, we can identify exactly how unusual that really is. Using Google Sheets, the formula “=NORM.DIST(70, 50, 5, TRUE)” gives us 0.999968, which is the 99.997th percentile! How is that useful? Suppose you need to test whether a coin is fair, and so you flip it 100 times. While we might be suspicious if we get 70 heads out of the 100 flips, we now have a numerical measure for how unusual that is: If the coin were fair, we would expect to see 70 heads (or more) only 100-99.9968=0.0032% of the time. That’s really unlikely! Analysis like this is related to hypothesis testing, an important application of statistics in the sciences and social sciences.
英語のヒント
正規分布の冒頭で、コインを100回投げたときの表の数は正規分布することを見た。nを投げる回数とすると、その分布の平均はn2で、標準偏差はn2であることを示せる(n≥20であるかぎり)。だから、100回投げるなら、分布の平均は50で、標準偏差は5である。その冒頭の例では、初めのころの実行で100回中70回表が出て、珍しいようだと述べた。正規分布を使うと、それが実際にどれだけ珍しいかを正確に見きわめられる。Google Sheetsを使うと、式「=NORM.DIST(70, 50, 5, TRUE)」は0.999968を与える。これは99.997パーセンタイルである!それはどう役に立つのか。コインが公正かどうかを調べる必要があって、100回投げるとしよう。100回中70回表が出たら疑うかもしれないが、今ではそれがどれだけ珍しいかの数値的な尺度がある。コインが公正なら、表が70回(以上)出るのは100-99.9968=0.0032%の割合でしか期待できない。とてもありそうにない!このような分析は、自然科学や社会科学での統計学の重要な応用である仮説検定に関係している。
Example 8.42例題 8.42

Flipping a Coinコインを投げる

Let’s say we flip a coin 64 times and count the number of heads.
英語のヒント
コインを64回投げて表の数を数えるとしよう。
  1. What would be the mean of the corresponding distribution?
    英語のヒント
    対応する分布の平均はいくらか。
  2. What would be the standard deviation of the corresponding distribution?
    英語のヒント
    対応する分布の標準偏差はいくらか。
  3. Suppose we got 25 heads, which seems a little low. At what percentile would 25 heads fall?
    英語のヒント
    表が25回出て、少し少ないようだとする。表25回は何パーセンタイルにあるか。
Solution解答
  1. Since n=64, the mean is 642=32.
    英語のヒント
    n=64なので、平均は642=32である。
  2. Again using n=64, we get a standard deviation of 642=4.
    英語のヒント
    もう一度n=64を使うと、標準偏差は642=4である。
  3. Using “=NORM.DIST(25, 32, 4, TRUE)”, we see that 25 heads is at the 4th percentile. Reading and Interpreting Scatter Plots
    英語のヒント
    「=NORM.DIST(25, 32, 4, TRUE)」を使うと、表25回は4パーセンタイルにあることがわかる。散布図を読んで解釈する