二項分布

統計学入門

George Boorman

Curriculum Manager, DataCamp

コインを投げる

Hand flipping coin with one side H with 50% chance, other side T with 50% chance.png

統計学入門

二値の結果

H and T, 1 and 0, Success and Failure, Win and Loss.png

統計学入門

コインを複数回投げる

投げた回数 結果
1 0
2 0
3 0
4 1
5 0
6 0
7 1
8 0
9 1
10 1
統計学入門

二項分布

  • 独立した事象が繰り返された場合の成功回数の確率分布

  • 連続でコインを投げて表が出た回数

  • $n$ と $p$ で表す

    • $n$: 試行の総回数
    • $p$: 成功確率
統計学入門

二項分布

Plot of binomial distribution with n=10, p=0.5.png

統計学入門

表が7回以下になる確率

binomial_distribution_with_successes_less_than_or_equal_to_7_highlighted_probability_equals_99_point_four_five_percent.png

統計学入門

表が8回以上になる確率

normal_distribution_shaded_blue_for_successes_above_seven_equal_to_five_point_five_five_percent.png

統計学入門

期待値

$\text{期待値} = n \times p$

10回投げて表が出る回数の期待値 $= 10 \times 0.5 = 5$

$p$ がわからないが、$n$ と期待値がわかっている場合:

$\text{p} = \frac{\text{期待値}}{n} $

統計学入門

独立事象

二項分布は、独立した事象が繰り返された時の成功回数の確率分布

Box of tickets with three zeros and three ones. 50% chance of zero, 50% chance of one.png

統計学入門

独立事象

二項分布は、独立した事象が繰り返された時の成功回数の確率分布

最初の事象の結果により、2番目の事象の確率は変化する

事象が独立でない場合、二項分布は使えない!

Box of tickets with three zeros and two ones. 60% chance of zero, 40% chance of one.png

統計学入門

一般的な応用

二項分布が使用できるのは、独立した事象で結果が二値の場合

  • 薬の有効性を調べる治験
    • 効果ありかなしか
  • スポーツ試合の結果の賭け
    • 賭けの勝ち負け

pills_spilling_out_of_a_container.jpg

1 画像クレジット: https://unsplash.com/@towfiqu999999
統計学入門

練習しましょう!

統計学入門

Preparing Video For Download...