Credit Sprint / Study guides / Statistics Unit 2
Credit Sprint's Guide to AP® Statistics, Unit 2: Probability, Random Variables, and Probability Distributions
Unit 2 builds the language of chance. You use two-way tables to study the relationship between two categorical variables, apply probability rules including conditional probability and independence, run simulations, and work with discrete and continuous random variables, including the binomial and normal models.
What you need to know
- A two-way table shows counts for two categorical variables. Joint, marginal and conditional distributions answer different questions. A segmented bar graph or mosaic plot compares conditional relative frequencies. If the conditional distributions are about equal across groups, the variables show little association.
- Probability is a long-run relative frequency, between 0 and 1. Complement: P(not A) = 1 − P(A). Addition rule: P(A or B) = P(A) + P(B) − P(A and B). Mutually exclusive events cannot happen together, so P(A and B) = 0.
- Conditional probability: P(A | B) = P(A and B) ÷ P(B). Multiplication rule: P(A and B) = P(A) · P(B | A). Events A and B are independent if P(A | B) = P(A), equivalently P(A and B) = P(A) · P(B).
- Mutually exclusive and independent are different ideas. Two mutually exclusive events with positive probabilities are never independent, because knowing one happened tells you the other did not.
- A simulation estimates probability by repeating a random process many times. Describe the model, the trial, what counts as a success and how many trials; more trials give a more stable estimate.
- A random variable assigns a number to each outcome of a chance process. A discrete random variable has a countable list of values with probabilities that sum to 1. Its mean (expected value) is Σx·P(x) and its standard deviation measures the typical spread around that mean.
- A linear transformation Y = a + bX changes the mean to a + b·mean and the standard deviation to |b|·SD. Adding a constant does not change the spread.
- A binomial setting has a fixed number n of trials, each trial is a success or failure, trials are independent, and the probability of success p is constant. Then P(X = k) = C(n,k) p^k (1 − p)^(n−k), with mean np and standard deviation √[np(1 − p)].
- A continuous random variable is described by a density curve, where area represents probability, and the probability of any single exact value is 0. The normal distribution is the most important example; use z-scores and technology (normalcdf, invNorm) to find areas and percentiles.
- For a normal model, the percentile of a value is the area to its left. To find a value for a given percentile, work backward with invNorm or a z-table, then convert: x = mean + z · SD.
Exam traps
Key terms
- Two-way table: A table of counts for two categorical variables.
- Marginal distribution: The distribution of one variable alone, found in the margins of a two-way table.
- Joint relative frequency: The proportion of all individuals that fall in a particular combination of the two variables.
- Conditional distribution: The distribution of one variable among only those individuals who have a given value of the other.
- Association between categorical variables: Present when the conditional distributions of one variable differ across the values of the other.
- Probability: A number from 0 to 1 that tells the long-run relative frequency of an outcome.
- Law of large numbers: As the number of trials increases, the relative frequency of an outcome gets closer to its true probability.
- Sample space: The list of all possible outcomes of a chance process.
- Complement rule: P(not A) = 1 − P(A).
- Mutually exclusive events: Events that cannot occur together, so P(A and B) = 0.
- Addition rule: P(A or B) = P(A) + P(B) − P(A and B).
- Conditional probability: P(A | B) = P(A and B) ÷ P(B), the probability of A given that B occurred.
- Multiplication rule: P(A and B) = P(A) · P(B | A).
- Independent events: Events for which knowing that one happened does not change the probability of the other.
- Tree diagram: A diagram that shows sequential events and their conditional probabilities along branches.
- Simulation: Using random digits or technology to imitate a chance process many times and estimate a probability.
Practice questions
Five of the 98 Unit 2 questions in Credit Sprint. Every choice is explained in the app.
- 0.5
- Less than 0.5 because tails is due
- Greater than 0.5 because heads is due to continue
- Cannot be determined
Show answer
0.5. Coin flips are independent, so past results do not change the probability of the next flip.
- 0.02(0.95) + 0.98(0.08)
- 0.95 + 0.08
- 0.02(0.95)
- 0.98(0.92)
Show answer
0.02(0.95) + 0.98(0.08). A positive result can come from a person with the disease (0.02 × 0.95) or a healthy person (0.98 × 0.08); add the two branches.
- (0.25)³
- 3(0.25)
- C(10,3)(0.25)³(0.75)⁷
- C(10,3)(0.75)³(0.25)⁷
Show answer
C(10,3)(0.25)³(0.75)⁷. The number correct is binomial with n = 10 and p = 0.25, so P(X = 3) = C(10,3)(0.25)³(0.75)⁷.
- The curve can go below the horizontal axis.
- The curve must be symmetric.
- The total area under the curve is 1.
- The height of the curve at a value is the probability of that value.
Show answer
The total area under the curve is 1.. Area under the curve represents probability, and the total probability is 1.
- The digits are all different
- Each outcome has probability 0.5
- Random digits cannot model coins
- Heads is lower so it comes first
Show answer
Each outcome has probability 0.5. Five of the ten digits represent each outcome, so heads and tails are equally likely.