Chapter 1 (Sample Space and Probability): Conditional Probability (条件概率)

本文为 I n t r o d u c t i o n Introduction Introduction t o to to P r o b a b i l i t y Probability Probability 的读书笔记

Conditional Probability

  • Conditional probability provides us with a way to reason about the outcome of an experiment, based on partial information. For instance,
    • In an experiment involving two successive rolls of a die, you are told that the sum of the two rolls is 9. How likely is it that the first roll was a 6?
    • In a word guessing game, the first letter of the word is a “t”. What is the likelihood that the second letter is an “h”?
  • In more precise terms, given an experiment, a corresponding sample space, and a probability law, suppose that we know that the outcome is within some given event B B B. We wish to quantify the likelihood that the outcome also belongs to some other given event A A A. We thus seek to construct a new probability law that takes into account the available knowledge: a probability law that for any event A A A. specifies the conditional probability of A A A given B B B. denoted by P ( A ∣ B ) P(A | B) P(AB).

  • We introduce the following definition of conditional probability:
    P ( A ∣ B ) = P ( A ∩ B ) P ( B ) P(A|B)=\frac{P(A\cap B)}{P(B)} P(AB)=P(B)P(AB)where we assume that P ( B ) > 0 P(B) >0 P(B)>0.
  • If all possible outcomes are equally likely here, we can also compute P ( A ∣ B ) P(A| B) P(AB) using a shortcut. We can simply divide the number of elements shared by A A A and B B B with the number of elements of B B B.

Conditional Probabilities Specify a Probability Law

条件概率是一个概率律

  • For a fixed event B B B, it can be verified that the conditional probabilities P ( A ∣ B ) P(A | B) P(AB) form a legitimate probability law that satisfies the three axioms. Indeed, nonnegativity is clear. Furthermore,
    P ( Ω ∣ B ) = P ( Ω ∩ B ) P ( B ) = 1 P(\Omega|B)=\frac{P(\Omega\cap B)}{P(B)}=1 P(ΩB)=P(B)P(ΩB)=1and the normalization axiom is also satisfied. To verify the additivity axiom, we write for any two disjoint events A 1 A_1 A1 and A 2 A_2 A2,
    在这里插入图片描述
  • Since conditional probabilities constitute a legitimate probability law, all general properties of probability laws remain valid.
    • For example, a fact such as P ( A ∪ C ) ≤ P ( A ) + P ( C ) P(A \cup C)\leq P(A) + P(C) P(AC)P(A)+P(C) translates to the new fact
      P ( A ∪ C ∣ B ) ≤ P ( A ∣ B ) + P ( C ∣ B ) P(A \cup C|B)\leq P(A|B) + P(C|B) P(ACB)P(AB)+P(CB)

Example 1.8

A conservative design team, call it C C C. and an innovative design team, call it N N N, are asked to separately design a new product within a month. From past experience we know that:

  • ( a ) (a) (a) The probability that team C C C is successful is 2 / 3 2/3 2/3.
  • ( b ) (b) (b) The probability that team N N N is successful is 1 / 2 1 /2 1/2.
  • ( c ) (c) (c) The probability that at least one team is successful is 3 / 4 3/ 4 3/4.

Assuming that exactly one successful design is produced, what is the probability that it was designed by team N N N?

SOLUTION

  • There are four possible outcomes:
    在这里插入图片描述
  • We were given that the probabilities of these outcomes satisfy
    在这里插入图片描述
  • From these relations, together with the normalization equation
    P ( S S ) + P ( S F ) + P ( F S ) + P ( F F ) = 1 P(SS) + P(SF) + P(FS) + P(FF) = 1 P(SS)+P(SF)+P(FS)+P(FF)=1we can obtain the probabilities of individual outcomes:
    在这里插入图片描述
    The desired conditional probability is
    在这里插入图片描述

Using Conditional Probability for Modeling

  • When constructing probabilistic models for experiments that have a sequential character, it is often natural and convenient to first specify conditional probabilities and then use them to determine unconditional probabilities. The rule
    P ( A ∩ B ) = P ( B ) P ( A ∣ B ) P(A\cap B) = P(B)P(A | B) P(AB)=P(B)P(AB) is often helpful in this process.

Example 1.9.

If an aircraft is present in a certain area, a radar detects it and generates an alarm signal with probability 0.99. If an aircraft is not present. the radar generates a (false) alarm, with probability 0.10. We assume that an aircraft is present with probability 0.05. What is the probability of no aircraft presence and a false alarm? What is the probability of aircraft presence and no detection?

SOLUTION

  • A sequential representation of the experiment is appropriate here, as shown in Fig. 1.9. Let A A A and B B B be the events
    在这里插入图片描述
    在这里插入图片描述
  • Each possible outcome corresponds to a leaf of the tree, and its probability is equal to the product of the probabilities associated with the branches in a path from the root to the corresponding leaf. The desired probabilities are
    在这里插入图片描述

Extending the preceding example, we have a general rule for calculating various probabilities in conjunction with a tree-based sequential description of an experiment. In particular:

  • We view the occurrence of the event as a sequence of steps and set up the tree so that an event of interest is associated with a leaf.
  • We record the conditional probabilities associated with the branches of the tree.
  • We obtain the probability of a leaf by multiplying the probabilities recorded along the corresponding path of the tree.

在这里插入图片描述

在这里插入图片描述


Example 1.10.

Three cards are drawn from an ordinary 52-card deck without replacement (drawn cards are not placed back in the deck). We wish to find the probability that none of the three cards is a heart. We assume that at each step, each one of the remaining cards is equally likely to be picked.

SOLUTION

  • A cumbersome approach, which we will not use, is to count the number of all card triplets that do not include a heart, and divide it with the number of all possible card triplets.
  • Instead, we use a sequential description of the experiment in conjunction with the multiplication rule.
    在这里插入图片描述
    在这里插入图片描述
  • The desired probability is now obtained by multiplying the probabilities recorded along the corresponding path of the tree:
    在这里插入图片描述
  • Note that once the probabilities are recorded along the tree, the probability of several other events can be similarly calculated. For example,

在这里插入图片描述


Example 1.11.
A class consisting of 4 graduate and 12 undergraduate students is randomly divided into 4 groups of 4. What is the probability that each group includes a graduate student?

SOLUTION

  • We interpret “randomly” to mean that given the assignment of some students to certain slots, any of the remaining students is equally likely to be assigned to any of the remaining slots.
  • We then calculate the desired probability using the multiplication rule, based on the sequential description. Let us denote the four graduate students by 1, 2, 3, 4, and consider the events
    在这里插入图片描述
    在这里插入图片描述
    Thus, the desired probability is

在这里插入图片描述


Example 1.12. The Monty Hall Problem (蒙提.霍尔问题 / 三门问题)

You are told that a prize is equally likely to be found behind any one of three closed doors in front of you. You point to one of the doors. A friend opens for you one of the remaining two doors, after making sure that the prize is not behind it. Consider the following strategies:

  • ( a ) (a) (a) Stick to your initial choice.
  • ( b ) (b) (b) Switch to the other unopened door.

Which is the best strategy?

SOLUTION

  • ( a ) (a) (a) Under the strategy of no switching, your initial choice will determine whether you win or not, and the probability of winning is 1 / 3 1/3 1/3.
  • ( b ) (b) (b) Under the strategy of switching, if the prize is behind the initially chosen door (probability 1 / 3 1/3 1/3). you do not win. If it is not (probability 2 / 3 2/3 2/3), and given that another door without a prize has been opened for you, you will get to the winning door once you switch. Thus. the probability of winning is now 2 / 3 2/3 2/3, so ( b ) (b) (b) is a better strategy than ( a ) (a) (a).

要注意,直觉上不管怎么选,获奖概率都应该是 50 % 50\% 50%。不妨假设在主持人开了一扇空门之后又来了个参赛者 B B B 来选门,那么毫无疑问他不管怎么选获奖率都是 50 % 50\% 50%。但是第一个参赛者不一样,他的获奖概率是基于第一次选择的条件概率,而不是和参赛者 B B B 一样,计算的是一个独立事件的概率

也不妨考虑极端情况:从 10000 扇门中选奖品,直接选中奖品的概率微乎其微。选完门后主持人开出 9998 扇空门,这时候你是换门还是不换门?显然应该换,因为只要你之前选错了,换门之后就能得奖。换门之后获奖率显然更高

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值