Explanatory Variable in AP Statistics
In AP Statistics, an explanatory variable is the variable used to explain or predict changes in a response variable. It goes on the x-axis of a scatterplot and is the x in a regression equation like ŷ = a + bx. In an experiment, it is the treatment variable the researcher controls.
What is Explanatory Variable?
An explanatory variable is the variable you use to explain or predict another variable, called the response variable. Think of it as the "input" and the response as the "output." If you're asking whether outside temperature helps predict home energy use, temperature is explanatory and energy use is the response.
In AP Stats, the explanatory variable shows up in two main places. With two quantitative variables, it goes on the horizontal axis of a scatterplot and plays the role of x in a regression line like ŷ = a + bx. In experiments, it's the variable the researcher deliberately changes, also called a factor. The different values or levels of that factor are the treatments. Calling something "explanatory" doesn't prove it causes anything. It just tells you which variable you're using to explain the other.
Why Explanatory Variable matters in AP® Statistics
This term is the foundation for two big chunks of the course. In the two-variable data topics (5.1 Graphical Representations Between Two Quantitative Variables, 5.3 Linear Regression Models, and 5.5 Least-Squares Regression), you can't build or read a scatterplot or regression line until you know which variable is x and which is y. Every slope and intercept interpretation is phrased in terms of the explanatory variable. In 1.13 Experimental Design, the explanatory variable is the treatment you impose, and identifying it is usually the first step of any design question. Getting the roles backwards makes your graph, your regression equation, and your interpretation all wrong at once. That's why the exam keeps asking you to name it in context.
Keep studying AP® Statistics Unit 5
Official unit cheatsheet
open one-pagerHow Explanatory Variable connects across the course
Response Variable (Units 1, 5)
These two are a matched set. The explanatory variable is what you use to explain, and the response is what gets explained. You only know a variable is explanatory once you know what it's being paired against. Ask yourself "which one am I trying to predict?" That's the response, and the other one is explanatory.
Slope of a Regression Model (Unit 5)
The slope is really a statement about the explanatory variable. It tells you how much the predicted response changes for each 1-unit increase in x. In ŷ = 12 - 0.5x, every 1-unit increase in the explanatory variable comes with a 0.5-unit decrease in the predicted response.
Experimental Unit and Matched Pairs Design (Unit 1)
In an experiment, the explanatory variable is the treatment you assign to experimental units. Designs like matched pairs exist so that differences in the response can be traced back to the explanatory variable and not to differences between the units. Random assignment of the explanatory variable is what lets you talk about cause and effect.
Correlation (Unit 5)
Correlation is symmetric, so r stays the same if you swap x and y. Regression is not symmetric. Switching which variable is explanatory gives you a different least-squares line. That's why choosing the explanatory variable matters for regression even though it doesn't change r.
Is Explanatory Variable on the AP® Statistics exam?
You'll rarely get asked to just define this term. Instead, you have to use it correctly.
- Interpreting slope (MCQ and FRQ). Stems like "Which statement is true about ŷ = 12 - 0.5x?" or "What does the slope coefficient represent?" test whether you can describe the change in the predicted response for each 1-unit increase in the explanatory variable.
- Interpreting the y-intercept. For ŷ = 45 - 1.8x relating temperature (x, in °C) to home energy use (y, in kWh), the intercept means the predicted energy use is 45 kWh when the explanatory variable is 0°C. Notice the interpretation is anchored to x = 0.
- Identifying variables in an experiment (FRQ). In the 2019 FRQ Q2, researchers tested four different concentrations of a fungus mixture to control an insect that destroys trees. The fungus concentration is the explanatory variable (the factor), and its four levels are the treatments. Naming the explanatory variable, its levels, and the response clearly is how design questions earn credit.
Always write in context. Say "temperature," not "x." Say "predicted energy consumption," not "y."
Explanatory Variable vs Response Variable
The explanatory variable (x) is the one you use to explain or predict, and the response variable (y) is the outcome you're measuring or predicting. In an experiment, the explanatory variable is what researchers impose, and the response is what they record afterward. A quick test is to say "changes in ___ help explain changes in ___." The first blank is explanatory and the second is the response. In the fungus experiment, fungus concentration is explanatory and the insect outcome being measured is the response.
Key things to remember about Explanatory Variable
The explanatory variable is the variable used to explain or predict the response variable, and it goes on the x-axis of a scatterplot.
In a regression equation like ŷ = a + bx, the explanatory variable is x, and the slope b gives the predicted change in the response for each 1-unit increase in x.
The y-intercept is the predicted value of the response when the explanatory variable equals 0, which may or may not make sense in context.
In an experiment, the explanatory variable is the factor the researcher controls, and its different levels are the treatments.
Labeling a variable as explanatory does not prove it causes the response; only a well-designed randomized experiment supports a cause-and-effect conclusion.
Swapping the explanatory and response variables leaves the correlation unchanged but produces a different least-squares regression line.
Frequently asked questions about Explanatory Variable
What is an explanatory variable in AP Stats?
It's the variable used to explain or predict changes in the response variable. It is plotted on the x-axis and appears as x in a regression line like ŷ = a + bx. In an experiment, it's the treatment variable the researcher controls.
Does the explanatory variable cause the response variable?
Not necessarily. In an observational study, an association between x and y doesn't show causation. Only when the explanatory variable is randomly assigned in an experiment can you conclude it causes changes in the response.
What's the difference between an explanatory variable and a response variable?
The explanatory variable is the input you use to make the prediction, and the response is the outcome being predicted or measured. In the temperature and energy example (ŷ = 45 - 1.8x), temperature in °C is explanatory and home energy use in kWh is the response.
Does it matter which variable I pick as the explanatory variable?
Yes, for regression it does. The least-squares line predicting y from x is different from the line predicting x from y. The correlation r stays the same either way, but your slope, intercept, and predictions all change.
What was the explanatory variable in the 2019 AP Stats FRQ Q2?
It was the concentration of the fungus mixture. Researchers created four different concentrations to test how well the fungus controlled an insect that destroys trees, so those four concentrations were the treatments.
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.