Two Variables Can Have Different Roles
In Identifying Variables in a Study Description, you practiced finding the variables recorded for each observational unit. When a study focuses on two variables, identifying them is only part of the job. You may also need to decide which variable is used to explain or predict differences in the other.
These roles depend on the study’s question. One variable is treated as the possible explanation or predictor; the other is the outcome the study aims to understand. For example, a study might ask whether students who spend more time reading tend to read more pages. The time spent reading and the pages read are both variables, but the question gives them different roles.
The explanatory variable is sometimes called a predictor, and the response variable is sometimes called an outcome. These names describe roles in a particular investigation. They do not tell you whether a variable is categorical or quantitative, and they do not describe what kind of observational unit was studied.
A useful starting point is the research question: “Does or how does which characteristic or condition relate to which outcome?” The first part often points to the explanatory variable; the outcome named in the second part is the response variable. Then check that your choice matches the purpose of the study, rather than assigning roles just because one value happens to be written first.
Choose Roles from the Study Question
Before naming the roles, identify the two variables and the observational units. As in Identifying Variables in a Study Description, ask what one case represents and what was recorded for each case. Then ask which variable is the proposed explanation or predictor and which one is the outcome of interest.
For example, suppose a recreation center records each member’s weekly exercise time and resting heart rate. If the question is whether exercise time helps predict resting heart rate, exercise time is explanatory and resting heart rate is response. If a different investigation asks whether resting heart rate helps predict how much time someone chooses to exercise, the roles could be reversed. The variables themselves have not changed; the question has.
This does not mean that researchers can choose any roles without justification. The roles should make sense for the question and the way the study was conducted. A clear answer names both the variables and the context: “Weekly exercise time is explanatory because the study uses it to predict resting heart rate; resting heart rate is the response because it is the outcome being predicted.”
The two variables can be of different types or the same type. For instance, an explanatory variable might be a category such as treatment group, while the response is a quantitative measurement such as plant height. Or both might be quantitative, such as hours of practice and number of successful serves. Categorical variables can also have either role: a study might use commute type to predict whether a person arrives late, or use appointment type to examine differences in waiting time.
Worked Example: Reading Time and Pages Read
A reading club asks each participant to report how many minutes they read on a particular evening and how many pages they completed during that evening. The club asks, “Can reading time help explain differences in the number of pages participants complete?” Identify the observational units and the explanatory and response variables.
Identify the units and variables: One observational unit is one reading-club participant. The two variables are minutes spent reading that evening and pages completed that evening. Both are quantitative measurements or counts, respectively; their types do not determine their roles.
Use the question to assign roles: The question treats reading time as a possible explanation for differences in pages completed. Therefore, minutes spent reading is the explanatory variable. The number of pages completed is the response variable because it is the outcome the club wants to explain.
State the conclusion clearly: “For this question, minutes spent reading that evening is the explanatory variable, and the number of pages completed that evening is the response variable.” The phrase “for this question” is useful because a different question could give the same variables different roles.
Explanatory Does Not Automatically Mean Cause
The word explanatory can sound as if the variable must cause changes in the response. That is not always true. In an observational study, researchers observe characteristics that already vary among individuals; they do not assign those characteristics. An explanatory variable can help describe an association or make a prediction without proving that it causes the response to change.
For example, students who spend more time studying might also earn higher quiz scores. Study time can be explanatory if the question uses it to explain or predict quiz scores. But students are not necessarily assigned their study times, and other factors could be related to both study time and quiz scores. The role name alone does not establish that additional studying caused a higher score.
In an experiment, researchers assign individuals to conditions or treatments and measure an outcome. The assigned treatment is often the explanatory variable, and the measured outcome is the response. An experiment can provide evidence about cause and effect when its design supports that conclusion. Merely identifying the explanatory variable, however, is not enough to claim causation.
Worked Example: Fertilizer Treatment and Plant Height
A student investigator assigns young tomato plants to one of three fertilizer treatments: no fertilizer, a low amount, or a high amount. After four weeks, the investigator measures each plant’s height in centimeters. The question is, “Do the fertilizer treatments lead to differences in plant height?” Identify the units and the variable roles.
Identify the units: One experimental unit is one tomato plant; each plant is also an observational unit because its treatment and height are recorded.
Assign the roles: Fertilizer treatment is the explanatory variable because the investigator uses it to account for possible differences among plants. Plant height after four weeks is the response variable because it is the outcome measured to assess those differences.
Describe the variable types as a separate step: Fertilizer treatment is categorical: its values are the three treatment groups. Plant height is quantitative because it is a measurement. The fact that one is categorical and the other quantitative does not create their roles; the study question does.
Keep the conclusion within the evidence: Because treatments are assigned in an experiment, the design is relevant to investigating whether fertilizer treatment affects height. Still, this role-identification step does not tell us what the data show or whether a particular treatment produced a difference. It only identifies the explanatory and response variables.
When the Variables Are Categorical
It is easy to recognize roles when the outcome is a familiar measurement such as height or time. The same reasoning works when one or both variables are categorical. Ask what the study is using to explain or predict, and what result it is trying to understand.
Worked Example: Commute Type and Late Arrival
A community survey records each worker’s usual commute type—bus, bicycle, walking, or car—and whether the worker arrived late to work on a particular day. The survey asks, “Does the pattern of late arrival differ by usual commute type?” Identify the observational units and the explanatory and response variables.
Identify the units and variables: Each observational unit is one surveyed worker. The variables are usual commute type and whether the worker arrived late that day. Both are categorical: commute type names a group, and late arrival has yes-or-no values.
Assign roles from the question: The question compares late arrival across commute types. Usual commute type is the explanatory variable, and whether the worker arrived late is the response variable. The response is categorical too; it does not need to be a numerical measurement.
Check the wording: The survey records workers’ usual commute types rather than assigning them to commute by bus, bicycle, walking, or car. Thus, naming commute type as explanatory does not show that it caused a particular worker to arrive late. The role follows the stated question, while claims about cause depend on the study design.
Direction Depends on the Question, Not on the Data Table
In a data table, variables appear in columns and cases in rows, as described in Reading a Data Table: Rows, Columns, and Cases. The left-to-right order of the columns does not decide which variable is explanatory. Nor does the number of categories, the size of the values, or the order in which variables are mentioned in a paragraph.
A quick way to check your choice is to complete two sentences: “The study uses ___ to explain or predict differences in ___.” Then: “The outcome the study is interested in is ___.” If these sentences do not match the study question, revisit your role assignment. In a response, make the context explicit instead of writing only “x is explanatory” and “y is response.”
Worked Example: Practice Sessions and Successful Serves
A volleyball coach records each player’s number of serving-practice sessions during one week and the number of successful serves in a skills check at the end of the week. The coach asks, “Can the number of practice sessions help predict the number of successful serves?” Identify the observational units and variable roles.
Identify the units and variables: One observational unit is one volleyball player. The two variables are the number of practice sessions during the week and the number of successful serves in the skills check. Both are quantitative, discrete counts.
Use the question’s direction: The question uses practice sessions to predict successful serves. Therefore, number of practice sessions is the explanatory variable, and number of successful serves is the response variable.
Separate role from conclusion: This assignment of roles does not say that players who practice more actually had more successful serves. That would require examining the recorded data. It also does not establish that practice caused any difference, because the description does not say the coach assigned players to different practice schedules.
A Reliable Role-Assignment Routine
Use the following routine whenever a study describes two variables. It is short enough for a one-sentence question and detailed enough to prevent common mix-ups in a longer study description.
State what one case represents, such as one participant, plant, worker, or player.
Use precise descriptions that say what was recorded and, when given, the relevant time period or setting.
Ask which variable the question uses to explain, account for, or predict differences.
Name the variable whose values or differences the study aims to understand as the response variable.
Role labels alone do not establish cause and effect. Notice whether the description says researchers assigned a treatment or simply observed existing differences.
Common Mistakes and AP Exam Tips
- Assuming the first variable mentioned is explanatory. A paragraph may name the outcome first. Base your decision on the question’s purpose and direction, not word order.
- Assuming the explanatory variable must be quantitative. A group label such as commute type or fertilizer treatment can be explanatory. A categorical outcome, such as late or not late, can be the response.
- Treating the roles as permanent properties. The same two variables can have different roles in different questions. State the roles for the question at hand.
- Confusing “explanatory” with “cause.” In an observational study, a variable can be useful for explaining or predicting an outcome without proving it caused the outcome. Do not make a causal claim from the role label alone.
- Giving only the labels. “Study time is explanatory” is less clear than “Study time is explanatory because the question uses it to predict quiz score; quiz score is the response because it is the outcome of interest.” Include the context and a reason.
- Mixing up a variable’s type and its role. “Categorical” and “quantitative” describe the values. “Explanatory” and “response” describe what each variable does in the study question. A variable has one type and a role assigned for the investigation.
For a strong AP Statistics response, name the observational units, identify each variable clearly, and connect each role to the question. If the study is observational, describe the variables as related, associated, or useful for prediction unless the design supports a causal conclusion. A full-credit response explains why the chosen variable is explanatory and why the other is the outcome.
Check Your Understanding
For each study, name the observational units and the two variables, then identify the explanatory and response variables for the stated question. Give a brief reason for each role.
- A clinic records each patient’s appointment type and waiting time in minutes. The question is whether waiting time differs by appointment type. Which variable is explanatory, and which is response?
- A garden group records the amount of sunlight each plot receives per day and the number of flowers growing in each plot. The question is whether sunlight helps predict flower counts. Identify the units and variable roles.
- A school survey records students’ usual way of getting to school and whether they were absent on a particular day. The question is whether absence patterns vary by usual travel method. Identify the roles and explain whether the explanatory variable is a cause.
- A coach records each runner’s time in a training run and their number of training sessions that week. For the question “Can training-run time help predict the number of sessions a runner chooses?”, identify the explanatory and response variables.
- A researcher observes students’ grade levels and their reported level of confidence: low, medium, or high. The question is whether confidence ratings differ by grade level. Identify each variable’s role and type.