Conditional probability
条件概率
What is conditional probability?
The probability of B given A is the probability of both divided by the probability of A.
Sign in to read the whole lesson, with 1 interactive aid, 10 exercises
Sign in / Sign upMastery goals
- Can compute P(B∣A) = P(AB)/P(A) (P(A) > 0) from the definition
- Can explain conditional probability as restricting the sample space, and use n(AB)/n(A) in a classical probability model
- Can explain that conditional probabilities obey the rules of probability (such as P(Ω∣A) = 1, the addition rule for mutually exclusive events and P(not B∣A) = 1 − P(B∣A)) and use them in calculations
Chapter opener
Probability measures how likely a random event is to happen. When we studied probability in the compulsory course, we worked with classical probability models: we learned how to compute the probabilities of simple random events and discussed some properties of probability. Building on that, and still working with classical models, this chapter studies the conditional probability of random events, sets up the multiplication rule of probability and the law of total probability, and uses them to compute the probabilities of more complicated events.
To bring mathematical tools to bear, and to study the patterns of random experiments in a short, uniform way, this chapter also turns the outcomes of random experiments into numbers by introducing random variables. For discrete random variables we mainly study their distributions and numerical characteristics, with special attention to the binomial and hypergeometric distributions. For continuous random variables we only study the normal distribution. Describing and analyzing random experiments with random variables, and solving some simple practical problems, gives a better feel for what probability models do and for what is special about the ideas and methods of probability.
7.1 Conditional Probability and the Law of Total Probability
In the chapter on probability in the compulsory course, we found the probability that two events and of the same experiment both happen (the product event ). When and are independent,
If and are not independent, how can the probability of the product event be expressed? We start from concrete problems.
7.1.1 Conditional Probability
Problem 1 A class has students. The numbers of boys and girls, and of Youth League members, are shown in Table 7.1-1.
Table 7.1-1 (number of students)
| Gender | League member | Not a member | Total |
|---|---|---|---|
| Boys | |||
| Girls | |||
| Total |
One student is chosen at random to represent the class.
(1) What is the probability that a boy is chosen?
(2) If we already know that the student chosen is a League member, what is the probability that a boy is chosen?
Choosing one student at random, the sample space has equally likely sample points. Let be the event "a League member is chosen" and the event "a boy is chosen". From Table 7.1-1, , and .
(1) By classical probability, the probability that a boy is chosen is
(2) The probability that "a boy is chosen, given that a League member is chosen" is the probability that "event happens, given that event has happened", written . This amounts to taking as the sample space and asking how likely is. In this new sample space, the event is the product event , which contains sample points. By classical probability,
Problem 2 Assume a boy and a girl are equally likely to be born, and consider families with two children. A family is chosen at random.
(1) What is the probability that both children are girls?
(2) If we already know that the family has a girl, what is the probability that both children are girls?
Record the genders of the two children, with for a boy and for a girl. The sample space is , and all sample points are equally likely. Let be the event "the family chosen has a girl" and the event "both children in the family chosen are girls". Then and .
(1) By classical probability, the probability that both children are girls is
(2) The probability that "both children are girls, given that the family has a girl" is the probability that "event happens, given that event has happened", written . Now becomes the sample space, and the event is the product event . By classical probability,
In both problems above, the probability that happens, given that has happened, is
This still holds for a general classical probability model. Indeed, as in Figure 7.1-1, once we know that has happened, becomes the sample space. The probability that happens is then the ratio of the number of sample points in to the number in , that is,
Since
the probability that happens, given that has happened, can also be computed as .
In general, let and be two random events with . We call
the conditional probability of event given that event has happened, or simply the conditional probability.
Related points
All points in this topicCite this page: Conditional probability · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000839