Privacy note: We capture your IP address to provide customised and focused services. See our Privacy Policy.

AP Statistics: Deep Dive and FRQ Mastery — Alpha School

Lesson 13: Probability Rules, Conditional Probability and Independence

Probability is the language of chance, and it is the foundation on which all of statistical inference rests. The probability of an event is a number between 0 and 1 measuring how likely it is, with 0 meaning impossible and 1 meaning certain, and the probabilities of all possible outcomes of a random process add to 1. The sample space is the set of all possible outcomes, and an event is a subset of it. These definitions are simple, but the reasoning they support — especially about conditional probability — is where most mistakes are made.

The basic rules follow from the definitions. The addition rule says that for two mutually exclusive events, which cannot both occur, P(A or B) = P(A) + P(B), and in general P(A or B) = P(A) + P(B) − P(A and B), subtracting the overlap so it is not counted twice. The multiplication rule says that P(A and B) = P(A) × P(B given A), and for independent events this simplifies to P(A) × P(B). The complement rule says P(not A) = 1 − P(A), and it is often the easiest route to an answer: the probability of at least one success is usually computed as one minus the probability of none.

Conditional probability is the probability of an event given that another has occurred, written P(A | B) and computed as P(A and B) / P(B). It is the idea behind screening tests, risk assessment, and most real-world reasoning about evidence, and it is easy to get backwards. The probability that a person has a disease given a positive test is not the same as the probability of a positive test given the disease, and confusing the two is a classic error. A two-way table is the best tool for conditional probability problems: fill in the counts, read the row or column you are conditioning on, and compute the proportion within it.

Two events are independent when knowing one has occurred does not change the probability of the other, so P(A | B) = P(A). Independence is a strong claim and must be checked, not assumed: events that share a cause are usually not independent, and sampling without replacement makes draws dependent, though the dependence is negligible when the sample is small relative to the population — the 10% condition you will meet again in inference. A useful test is to check whether P(A and B) equals P(A) × P(B); if it does not, the events are not independent.

A worked example

Worked example: consider the worked-example two-way table of 200 students, classified by whether they play a sport and whether they are on the honour roll: 60 play a sport and are on the honour roll, 40 play a sport and are not, 50 do not play a sport and are on the honour roll, and 50 do not play a sport and are not. The probability that a randomly chosen student is on the honour roll is 110 / 200 = 0.55. Given that a student plays a sport, the probability of being on the honour roll is 60 / 100 = 0.60, conditioning on the row of 100 athletes. Since 0.60 is not equal to 0.55, the events are not independent, though the difference is small.

Tree diagrams are the other standard tool, especially for multi-stage processes: draw the first stage with its probabilities, branch each outcome into the second stage, and multiply along a path to get the probability of that sequence, adding the paths that lead to the event you want. In free-response answers, show the rule you are using and the numbers you substitute into it, and always check that your final probability is between 0 and 1. If it is not, you have made an arithmetic error, and finding it is better than reporting an impossible answer.

Key Terms

Sample space
The set of all possible outcomes of a random process.
Addition rule
P(A or B) = P(A) + P(B) − P(A and B).
Multiplication rule
P(A and B) = P(A) × P(B given A).
Conditional probability
P(A | B) = P(A and B) / P(B), the probability of A given that B has occurred.
Independent events
Events where P(A | B) = P(A); knowing one occurred does not change the other's probability.
Complement rule
P(not A) = 1 − P(A).

Discussion Questions

  1. Why is P(disease | positive test) different from P(positive test | disease)?
  2. Two events cannot both happen. Are they independent?
  3. When is it easiest to use the complement rule?

Practice Questions

  1. A fair coin is tossed twice. What is the probability of at least one head?
  2. Events A and B have P(A) = 0.4, P(B) = 0.5, and P(A and B) = 0.2. Are they independent?
  3. P(A) = 0.3, P(B) = 0.4, and A and B are mutually exclusive. Find P(A or B).
  4. In a two-way table, 30 of 80 women and 20 of 120 men prefer tea. What is P(prefers tea | woman)?
  5. A test is positive in 90% of people with a disease and in 5% of people without it. Why can't you say the probability of disease given a positive test is 90%?
Show answers
  1. 1 − P(no heads) = 1 − 1/4 = 3/4.
  2. Yes, because P(A) × P(B) = 0.2, which equals P(A and B).
  3. 0.3 + 0.4 = 0.7.
  4. 30 / 80 = 0.375.
  5. That 90% is P(positive | disease), not P(disease | positive); the latter also depends on how common the disease is in the population.
Keep reading to complete this lesson