Conditional probability
Understanding Conditional Probability
Conditional probability is a measure of the probability of an event occurring given that another event has already occurred. In AP Statistics, understanding this concept is crucial for analyzing relationships between events and for topics like independence and Bayes' Theorem.
Notation and Formula
The conditional probability of event A occurring given that event B has occurred is denoted as P(A|B). The formula for calculating conditional probability is:
- P(A|B) = P(A and B) / P(B)
Where:
- P(A and B) is the probability that both events A and B occur. This is also known as the joint probability.
- P(B) is the probability that event B occurs. It's important that P(B) > 0, as we cannot condition on an impossible event.
This formula can also be rearranged to find the probability of both events occurring: P(A and B) = P(A|B) * P(B).
Interpreting Conditional Probability
Conditional probability essentially narrows the sample space. When we know that event B has occurred, we are no longer considering the entire original sample space. Instead, our new sample space is limited to just the outcomes where B occurs. Then, we look for the proportion of those outcomes where A also occurs.
Examples and Applications
- Consider a deck of 52 cards. What is the probability of drawing a King given that the card drawn is a face card?
- Let A = drawing a King. P(A) = 4/52.
- Let B = drawing a face card (King, Queen, Jack). There are 12 face cards. P(B) = 12/52.
- The probability of drawing a King AND a face card, P(A and B), is 4/52 (since all Kings are face cards).
- P(A|B) = P(A and B) / P(B) = (4/52) / (12/52) = 4/12 = 1/3.
- This makes intuitive sense: among the 12 face cards, 4 are Kings.
Independence of Events
Two events A and B are considered independent if the occurrence of one does not affect the probability of the other. Mathematically, this can be expressed in several ways:
- P(A|B) = P(A)
- P(B|A) = P(B)
- P(A and B) = P(A) * P(B)
If any of these conditions hold true, the events are independent. If they do not, the events are dependent.
Tree Diagrams and Two-Way Tables
Tree diagrams and two-way tables are excellent visual tools for representing probabilities and calculating conditional probabilities, especially when dealing with sequences of events or categorizing data by two variables.
- In a two-way table, conditional probabilities are found by looking at the ratio of a specific cell frequency to its corresponding row or column total, which acts as the 'given' event.
- Tree diagrams help visualize sequential conditional probabilities, where each branch represents a possible outcome and its associated probability, often leading to combined probabilities at the end of branches.
Practice questions
What is the formula for the conditional probability of event A occurring given that event B has occurred?
If P(X) = 0.5, P(Y) = 0.4, and P(X and Y) = 0.2, are events X and Y independent?
In a survey, 60% of students own a laptop (L), and 30% own a tablet (T). 20% own both. What is the probability that a student owns a laptop given they own a tablet?
How does conditioning on an event change the relevant sample space?
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/statistics/unit-4-probability-random-variables-and-probability-distributions/conditional-probability