プリンキピア

第7章確率

7.9 Conditional Probability and the Multiplication Rule7.9 条件つき確率と乗法法則

Two red dice are shown. The first die shows 5 and the second die shows 1.
Figure 7.37図7.37
If you roll two dice by throwing them one at a time, the face showing on the first die will affect the possible outcomes for the sum of the two dice. (credit: “dice” by Ciarán Archer/Flickr, CC BY 2.0)
英語のヒント
2個のさいころを1個ずつ投げて振ると、1個目のさいころの出た面が、2個のさいころの和のありうる結果に影響する。(出典:Ciarán Archer/Flickr の “dice”、CC BY 2.0)

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Calculate conditional probabilities.
    英語のヒント
    条件つき確率を計算する。
  2. Apply the Multiplication Rule for Probability to compute probabilities.
    英語のヒント
    確率の乗法法則を当てはめて確率を計算する。
Back in Example 7.18, we constructed the following table (Figure 7.38) to help us find the probabilities associated with rolling two standard 6-sided dice:
英語のヒント
例題7.18で、標準の6面のさいころを2個振ることにかかわる確率を求めるために、次の表(図7.38)を作った:
A table with 6 rows and 6 columns. The columns represent the first die and are titled, 1, 2, 3, 4, 5, and 6. The rows represent the second die and are titled, 1, 2, 3, 4, 5, and 6. The data is as follows: Row 1: 2, 3, 4, 5, 6, 7. Row 2: 3, 4, 5, 6, 7, 8. Row 3: 4, 5, 6, 7, 8, 9. Row 4: 5, 6, 7, 8, 9, 10. Row 5: 6, 7, 8, 9, 10, 11. Row 6: 7, 8, 9, 10, 11, 12.
Figure 7.38図7.38
For example, 3 of these 36 equally likely outcomes correspond to rolling a sum of 10, so the probability of rolling a 10 is 336=112. However, if you choose to roll the dice one at a time, the probability of rolling a 10 will change after the first die comes to rest. For example, if the first die shows a 5, then the probability of rolling a sum of 10 has jumped to 16—the event will occur if the second die also shows a 5, which is 1 of 6 equally likely outcomes for the second die. If instead the first die shows a 3, then the probability of rolling a sum of 10 drops to 0—there are no outcomes for the second die that will give us a sum of 10.
英語のヒント
たとえば、これら36個の同様に確からしい結果のうち3つが和10を出すことにあたるので、10を出す確率は336=112である。しかし、さいころを1個ずつ振ることにすると、1個目のさいころが止まったあとで10を出す確率は変わる。たとえば、1個目のさいころが5を示すなら、和10を出す確率は16に跳ね上がる。2個目のさいころも5を示せばこの事象は起こり、それは2個目のさいころの6つの同様に確からしい結果の1つである。代わりに1個目のさいころが3を示すなら、和10を出す確率は0に落ちる。2個目のさいころに和10を与える結果はない。
Understanding how probabilities can shift as we learn new information is critical in the analysis of our second type of compound events: those built with “and.” This section will explain how to compute probabilities of those compound events.
英語のヒント
新しい情報を知るにつれて確率がどう変わりうるかを理解することは、2つ目の種類の複合事象、つまり「かつ」で作るものの分析できわめて大切である。この節では、それらの複合事象の確率の計算の仕方を説明する。

Conditional Probabilities条件つき確率

When we analyze experiments with multiple stages, we often update the probabilities of the possible final outcomes or the later stages of the experiment based on the results of one or more of the initial stages. These updated probabilities are called conditional probabilities.
英語のヒント
多段階の実験を分析するとき、最初の1つ以上の段階の結果にもとづいて、ありうる最終結果やあとの段階の確率を更新することが多い。これらの更新された確率を条件つき確率という。
In other words, if O is a possible outcome of the first stage in a multistage experiment, then the probability of an event E conditional on O (denoted P(E|O), read “the probability of E given O”) is the updated probability of E under the assumption that O occurred.
英語のヒント
言いかえると、Oが多段階の実験の第1段階のありうる結果なら、Oを条件とする事象Eの確率(P(E|O)と書き、「Oが与えられたときのEの確率」と読む)は、Oが起こったという仮定のもとで更新したEの確率である。
In the example that opened this section, we might consider rolling two dice as a multistage experiment: rolling one, then the other. If we define E to be the event “roll a sum of 10,” O to be the event “first die shows 5,” and Q to be the event “first die shows 3,” then we computed P(E)=112, P(E|O)=16, and P(E|Q)=0.
英語のヒント
この節の始めの例では、2個のさいころを振ることを多段階の実験と考えられる。1個振り、次にもう1個振る。Eを事象「和10を出す」、Oを事象「1個目のさいころが5を示す」、Qを事象「1個目のさいころが3を示す」と定義すると、P(E)=112、P(E|O)=16、P(E|Q)=0を計算したことになる。
Example 7.31例題 7.31

Computing Conditional Probabilities条件つき確率を計算する

  1. April is playing a coin-flipping game with Ben. She will flip a coin 3 times. If the coin lands on heads more than tails, April wins; if it lands on tails more than heads, Ben wins. Let A be the event “April wins,” H be “first flip is heads,” and T be “first flip is tails.” Compute P(A), P(A|H), and P(A|T).
    英語のヒント
    エイプリルはベンとコイン投げのゲームをしている。コインを3回投げる。表が裏より多く出ればエイプリルの勝ちで、裏が表より多く出ればベンの勝ちである。Aを事象「エイプリルが勝つ」、Hを「1回目が表」、Tを「1回目が裏」とする。P(A)、P(A|H)、P(A|T)を計算せよ。
  2. You are about to draw 2 cards without replacement from a deck containing only these 10 cards: A♡, A♠, A♣, A♢, K♠, K♣, Q♡, Q♠, J♡, J♠. We’ll define the following events: F is “both cards are the same rank,” A is “first card is an ace,” and K is “first card is a king.” Compute P(F|A) and P(F|K).
    英語のヒント
    次の10枚のカードだけを含む山札から、カードを戻さずに2枚引こうとしている:A♡、A♠、A♣、A♢、K♠、K♣、Q♡、Q♠、J♡、J♠。次の事象を定義する。Fは「両方のカードが同じランクである」、Aは「1枚目のカードがエースである」、Kは「1枚目のカードがキングである」である。P(F|A)とP(F|K)を計算せよ。
  3. Jim’s sock drawer contains 5 black socks and 3 blue socks. To avoid waking his partner, Jim doesn’t want to turn the lights on, so he puts on 2 socks at random. Let M be the event “Jim’s 2 socks match,” let K be the event “the sock on Jim’s left foot is black,” and let L be the event “the sock on Jim’s left foot is blue.” Compute P(M), P(M|K), and P(M|L).
    英語のヒント
    ジムの靴下の引き出しには、黒い靴下が5枚と青い靴下が3枚入っている。パートナーを起こさないよう、ジムは明かりをつけたくないので、靴下を2枚でたらめにはく。Mを事象「ジムの2枚の靴下がそろう」、Kを事象「ジムの左足の靴下が黒い」、Lを事象「ジムの左足の靴下が青い」とする。P(M)、P(M|K)、P(M|L)を計算せよ。
Solution解答
  1. Step 1. The sample space is {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}. The event A consists of the first 4 of those outcomes: HHH, HHT, HTH, and THH. Thus, P(A)=48=12.
    英語のヒント
    手順1. 標本空間は{HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}である。事象Aはこれらの結果の最初の4つでできている。HHH、HHT、HTH、THHである。したがって、P(A)=48=12である。
    Step 2. Now, let’s compute P(A|H). We are assuming the result of the first flip is heads. That leaves us with 4 possible outcomes: HHH, HHT, HTH, and HTT. Of those, April wins 3 (HHH, HHT, HTH) and loses one (HTT). So, P(A|H)=34.
    英語のヒント
    手順2. 次に、P(A|H)を計算しよう。1回目の結果が表だと仮定している。すると、ありうる結果は4つ残る。HHH、HHT、HTH、HTTである。そのうちエイプリルは3つ(HHH、HHT、HTH)で勝ち、1つ(HTT)で負ける。だから、P(A|H)=34である。
    Step 3. If the result of the first flip is instead tails, the 4 possible outcomes are THH, THT, TTH, and TTT. Of those, April wins 1 (THH) and loses 3 (THT, TTH, TTT). So, P(A|T)=14.
    英語のヒント
    手順3. 1回目の結果が代わりに裏なら、ありうる4つの結果はTHH、THT、TTH、TTTである。そのうちエイプリルは1つ(THH)で勝ち、3つ(THT、TTH、TTT)で負ける。だから、P(A|T)=14である。
  2. Step 1. If the event A happens, then 1 of the 4 aces is drawn first; the remaining cards in the deck are 3 aces, 2 kings, 2 queens, and 2 jacks. In order for the event F to occur, the second card drawn has to be an ace. Since there are 3 aces among the remaining 9 cards, P(F|A)=39=13.
    英語のヒント
    手順1. 事象Aが起こるなら、4枚のエースのうち1枚が最初に引かれる。山札の残りのカードはエース3枚、キング2枚、クイーン2枚、ジャック2枚である。事象Fが起こるには、2枚目に引くカードがエースでなければならない。残り9枚のカードのなかにエースが3枚あるので、P(F|A)=39=13である。
    Step 2. If the event K happens instead, then the first card drawn is a king. That leaves 4 aces, 1 king, 2 queens, and 2 jacks in the deck. Under the assumption that the first card is a king, the event F will occur only if the second card is also a king. Since only one of the remaining 9 cards is a king, we have P(F|K)=19.
    英語のヒント
    手順2. 代わりに事象Kが起こるなら、最初に引いたカードはキングである。すると山札にはエース4枚、キング1枚、クイーン2枚、ジャック2枚が残る。1枚目のカードがキングだという仮定のもとでは、事象Fは2枚目のカードもキングのときにだけ起こる。残り9枚のカードのうちキングは1枚だけなので、P(F|K)=19である。
  3. Step 1. We can view the event M as a compound event using “or”: both socks are blue or both socks are black. Let’s compute the probability that both socks are blue using combinations. We’re choosing 2 socks from a group of 8; 3 of the 8 are blue. So, P(both socks blue)=3C28C2=328. Similarly, P(both socks black)=5C28C2=1028. Therefore, since these events are mutually exclusive, we can use the Addition Rule: P(M)=P(both socks blue)+P(both socks black)=328+1028=1328.
    英語のヒント
    手順1. 事象Mを、「または」を使った複合事象と見ることができる。両方の靴下が青いか、両方の靴下が黒いかである。組み合わせを使って、両方の靴下が青い確率を計算しよう。8枚のまとまりから2枚の靴下を選んでいて、8枚のうち3枚が青い。だから、P(both socks blue)=3C28C2=328である。同様に、P(both socks black)=5C28C2=1028である。したがって、これらの事象は互いに排反なので、加法法則を使える。P(M)=P(both socks blue)+P(both socks black)=328+1028=1328である。
    Step 2. If the sock on Jim’s left foot is black (i.e., K occurred), then there are 4 remaining black socks of the 7 in the drawer. So, P(M|K)=47.
    英語のヒント
    手順2. ジムの左足の靴下が黒いなら(つまりKが起こったなら)、引き出しの7枚のうち残りの黒い靴下は4枚である。だから、P(M|K)=47である。
    Step 3. If the sock on Jim’s left foot is blue (L occurred), then there are 2 blue socks among the 7 remaining in the drawer. So, P(M|L)=27.
    英語のヒント
    手順3. ジムの左足の靴下が青いなら(Lが起こったなら)、引き出しに残る7枚のなかに青い靴下が2枚ある。だから、P(M|L)=27である。