Discrete Random Variable in AP Statistics
In AP Statistics, a discrete random variable is a variable whose numerical value comes from a chance process and can take only a countable set of distinct values (like 0, 1, 2, 3). Each value gets a probability, and those probabilities must be between 0 and 1 and add up to 1.
This definition is part of Fiveable's AP Statistics review, which also has guided practice questions.
What is Discrete Random Variable?
A discrete random variable assigns a number to each outcome of a chance process, and the possible numbers are countable. You can list them out, even if the list never ends. Think "number of heads in three coin flips" (0, 1, 2, or 3) or "number of emails you get in an hour" (0, 1, 2, ...). The values are usually whole-number counts, but they don't have to be. A variable that can be -1, 0, or 2 is still discrete.
What makes it useful is its probability distribution. That's a table, graph, or formula that pairs each possible value with its probability. A valid distribution follows two rules. Every probability is between 0 and 1, and all the probabilities add to exactly 1. Once you have the distribution, you can find the probability of any event (like "at least 2 heads") by adding up the right values. You can also summarize the whole distribution with parameters like the mean (expected value) and standard deviation.
Why Discrete Random Variable matters in AP® Statistics
This term anchors Topic 2.8 (Introduction to Random Variables and Probability Distributions) and Topic 2.9 (Parameters of Random Variables). In 2.8, you use a discrete random variable to build and read a probability distribution. In 2.9, you use that distribution to calculate the mean, variance, and standard deviation of the random variable. It matters on the exam because it's the bridge between basic probability rules and everything that comes after. Expected value, combining and transforming random variables, and named distributions like the binomial all start with the idea of a variable that takes countable values with known probabilities. For the full topic walkthroughs, see the Fiveable study guides for Topics 2.8 and 2.9.
Keep studying AP® Statistics Unit 2
Official unit cheatsheet
open one-pagerHow Discrete Random Variable connects across the course
Probability Distribution (Unit 2)
A discrete random variable and its probability distribution are a package deal. The variable tells you what numbers can happen, and the distribution tells you how likely each one is. If you can't write the distribution, you can't answer any probability question about the variable.
Expected Value (Unit 2)
Expected value is the long-run average of the random variable. You find it by multiplying each value by its probability and adding the results. If Z is -1, 0, or 2 with probabilities 0.3, 0.4, and 0.3, then E(Z) = -0.3 + 0 + 0.6 = 0.3. Notice the mean doesn't have to be a value Z can actually take.
Variance (Unit 2)
Variance measures how spread out the values are around the expected value. It's a probability-weighted average of the squared distances from the mean. Take its square root to get the standard deviation, which is in the same units as the variable and is easier to interpret in context.
Parameter (Unit 2)
The mean and standard deviation of a random variable are parameters. They describe the whole probability model, not a sample. This sets up a distinction you'll use all year. A parameter describes the model or population, while a statistic is calculated from data.
Is Discrete Random Variable on the AP® Statistics exam?
Expect discrete random variables in multiple-choice questions and as a building block inside free-response questions. Here's what you'll be asked to do:
- Construct a distribution. For example, let X be the number of heads in three fair coin flips. List the values 0, 1, 2, 3 with probabilities 1/8, 3/8, 3/8, 1/8. Then P(X = 2) = 3/8.
- Interpret values in context. If X takes values {0, 1, 2, 3, 4}, explain what those numbers count in the scenario. Don't just call them "outcomes."
- Check validity. Confirm each probability is between 0 and 1 and the total is 1. A common move is solving for a missing probability using the sum-to-1 rule.
- Transform a variable. If W = 2Z + 1 and Z is -1, 0, or 2, then W is -1, 1, or 5. The probabilities stay exactly the same, because only the values change.
- Recognize discrete distributions given by formulas. For example, the number of emails per hour can follow P(W = w) = λ^w e^(-λ)/w! for w = 0, 1, 2, .... That variable is still discrete even though its values never stop.
- Calculate and interpret the mean and standard deviation in context. No released FRQ has used this exact term verbatim, but FRQs regularly expect you to define a random variable, find its expected value, and interpret it.
Discrete Random Variable vs Continuous Random Variable
A discrete random variable takes countable values you can list, like the number of siblings or the number of heads. A continuous random variable can take any value in an interval, like height or wait time. The big practical difference is this. For a discrete variable, P(X = 2) can be a positive number. For a continuous variable, the probability of any single exact value is 0, so you find probabilities as areas over intervals. A quick test is to ask whether you are counting or measuring. Counting is usually discrete, and measuring is usually continuous.
Key things to remember about Discrete Random Variable
A discrete random variable takes a countable set of values, and you can list them even if the list goes on forever.
A valid probability distribution for a discrete random variable has every probability between 0 and 1, and all the probabilities add up to exactly 1.
To find the probability of an event like "at least 2," add up the probabilities of all the values that fit that event.
The expected value is the sum of each value times its probability, and it represents the long-run average, which may not be a value the variable can actually take.
When you transform a discrete random variable, as in W = 2Z + 1, the values change but each value keeps its original probability.
Always state what your random variable counts in context, because interpretation points on the exam depend on it.
Frequently asked questions about Discrete Random Variable
What is a discrete random variable in AP Stats?
It's a variable whose value comes from a chance process and can take only countable, distinct values, like the number of heads in three coin flips (0, 1, 2, or 3). Each value has a probability, and together they form the variable's probability distribution.
Does a discrete random variable have to have a finite number of values?
No. Countable doesn't mean finite. The number of emails you receive in an hour can be 0, 1, 2, 3, and so on with no upper limit, and it is still discrete because you can list the values one by one.
Do discrete random variables only take whole numbers?
No. They're usually counts, but a variable that equals -1, 0, or 2 (or even 0.5 and 1.5) is still discrete as long as its possible values are separate and countable.
What's the difference between a discrete and a continuous random variable?
Discrete variables come from counting and have listable values, so a single value like P(X = 2) can have positive probability. Continuous variables come from measuring, like time or height, so they can take any value in an interval and every exact single value has probability 0.
How do you find the expected value of a discrete random variable?
Multiply each value by its probability and add the products. For example, if Z is -1, 0, or 2 with probabilities 0.3, 0.4, and 0.3, then E(Z) = 0.3. If W = 2Z + 1, then E(W) = 2(0.3) + 1 = 1.6.
Keep studying AP Statistics
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
AP Statistics hub
Review units, study guides, and course resources.
AP-style practice
Check this vocabulary in multiple-choice context.
FRQ practice
Apply key concepts in written AP responses.
Score calculator
Estimate the exam score you are working toward.
Cheatsheets
Review the highest-yield facts before practice.
Practice exam
Put the full course together before test day.