Put the Pieces Together
In Writing a Complete Variable Classification Answer, you practiced linking an observational unit to a clearly defined variable, its type, and a reason for that classification. This tutorial brings those skills together with explanatory and response variables. The goal is to read a short study description and identify what one case represents, what is recorded, what kind of values each variable has, and which variables play particular roles in the question.
These are related questions, but they are not interchangeable. A variable can be quantitative or categorical; that describes the meaning of its values. A variable can also be explanatory or response; that describes its role in a particular relationship being investigated. For example, a study might use a categorical explanatory variable to compare a quantitative response.
As in Identifying Variables in a Study Description, start by looking for the cases or rows. Then list the information recorded for those cases. Use the arithmetic-meaning test from Spotting Numerical Variables That Are Really Categorical to classify values that look like numbers. Finally, assign explanatory and response roles only when the study’s question or description supports them.
A Repeatable Mixed-Practice Method
Ask what a single row, record, or observation describes. Include the relevant occasion if one case is an event or a measurement taken at a particular time.
For each case, name the information actually recorded. Do not substitute a related characteristic that the description does not say was collected.
Decide whether its values place cases into groups or record a numerical count or measurement. A number used as a code can still be categorical.
If the question asks whether one variable helps explain or predict another, name the explanatory variable and the response variable. Explain your choices using the context.
The explanatory variable is used to explain, account for, or predict differences in another variable. The response variable is the outcome of interest. This role assignment does not change either variable’s type. It also does not, by itself, show that changes in the explanatory variable cause changes in the response. As covered in Explanatory and Response Variables Introduced, the roles describe the study question, not proof of cause and effect.
Worked Examples: Read, Classify, and Assign Roles
Worked Example: Practice Time and Free-Throw Results
A fictional basketball program records one row for each player at the end of a training week. For each player, the coach records the number of minutes spent practicing free throws that week and the percentage of free throws made in a standardized practice session. The question is whether practice time helps explain differences in practice-session success. Identify the observational unit, both variables and their types, and the explanatory and response variables.
Unit: Each row describes one player at the end of the training week. The observational unit is one player in this program, not one free throw. The percentage summarizes a player’s results on a session, but the row is still about that player.
Variables and types: The first variable is the number of minutes the player spent practicing free throws during the week. It is quantitative because it records an amount of time, and differences in minutes have meaning. The second variable is the percentage of free throws the player made in the standardized practice session. It is quantitative because it measures a numerical rate of success; a difference in percentage points describes a difference in the recorded results.
Roles: Practice time is the explanatory variable because the question asks whether it helps explain differences in performance. The percentage made is the response variable because it is the outcome whose variation is being examined.
Complete answer: “The observational unit is one player in the program. The variables are weekly free-throw practice time in minutes and the percentage made in the standardized practice session; both are quantitative. For the stated question, practice time is the explanatory variable and percentage made is the response variable.”
Important qualification: The description records players’ practice time; it does not say that the coach assigned different practice times. Calling practice time explanatory identifies its role in the question, but does not establish that more practice caused a higher percentage made.
Worked Example: Commute Method and Travel Time
A fictional school survey has one row for each responding student. Each student reports their usual way of getting to school—walking, bicycle, bus, or family car—and the number of minutes their one-way trip usually takes. The survey team asks whether usual travel time differs by commute method. Identify the unit, classify both variables, and assign their roles.
Unit: One responding student is the observational unit because the survey collects one record for each student. A trip is not the unit in this description; each student reports a usual method and usual duration.
Variables and types: Usual commute method is categorical. Its values place students into travel-method groups; the methods do not represent amounts that can meaningfully be subtracted. Usual one-way commute time, in minutes, is quantitative. It records a duration, and differences between reported times represent meaningful differences in travel time.
Roles: Usual commute method is explanatory because the question compares travel times across method groups. Commute time is the response because it is the outcome being compared.
Complete answer: “The observational unit is one responding student. The variables are usual commute method, a categorical variable, and usual one-way commute time in minutes, a quantitative variable. For the question about whether travel time differs among methods, commute method is explanatory and travel time is the response.”
Check the wording: The explanatory variable is categorical here, and the response variable is quantitative. There is no rule that explanatory variables must be quantitative. Also, because this is a survey recording students’ existing commute methods, the role assignment alone does not support a claim that a travel method causes a particular commute time.
Worked Example: App Rating and Daily Use
A fictional technology team surveys one user per record. It records each user’s rating of a new reading app as “poor,” “fair,” “good,” or “excellent,” and the number of minutes that user spent reading with the app yesterday. The team asks whether the rating helps explain differences in time spent using the app. Identify the unit, classify both variables, and assign the roles.
Unit: One app user is the observational unit. The record describes a user, not a rating category or an individual minute of use.
Variables and types: App rating is categorical and ordinal: its categories have an order from poor to excellent, but the gaps between neighboring ratings are not established as equal amounts. Minutes spent reading with the app yesterday is quantitative because it measures a duration. Naming “yesterday” makes the time frame of the recorded value clear.
Roles: For the stated question, app rating is the explanatory variable and yesterday’s app-reading time is the response variable. The team is examining whether the response differs with, or is associated with, the rating.
Complete answer: “The observational unit is one app user. The variables are the user’s app rating, an ordinal categorical variable, and the number of minutes spent reading with the app yesterday, a quantitative variable. For the question asked, rating is explanatory and reading time is the response.”
Why the context matters: The roles follow the team’s question, not the order in which variables happen to appear in a sentence or a data table. The survey description does not establish that a rating led to more or less use; it only supplies the variables the team intends to examine together.
Worked Example: Seed Type and Seedling Height
A fictional greenhouse log contains one row for each seedling measured on a particular date. It records the seed type—Type A, Type B, or Type C—and the seedling’s height in centimeters. A gardener asks whether height differs among the seed types. Identify the observational unit, both variables and their types, and the roles for that question.
Unit: The observational unit is one seedling measured on that date. Although the seedlings belong to seed-type groups, a group is not the case represented by each row.
Variables and types: Seed type is categorical because its values identify groups. Seedling height in centimeters is quantitative because it measures length and differences in centimeters have meaning.
Roles: Seed type is explanatory because the question uses the groups to account for possible differences in height. Height is the response because it is the outcome being compared across those groups.
Complete answer: “The observational unit is one seedling measured on the stated date. Seed type is a categorical variable, and height in centimeters is a quantitative variable. For the question about differences in height among seed types, seed type is explanatory and height is the response.”
Do not add an unsupported claim: The description does not tell us how seedlings were selected or whether seed types were assigned. Those details are not needed to name and classify the variables, and they should not be invented in the answer.
Keep the Decisions Separate
A useful way to organize a mixed-practice response is to make a small inventory before writing sentences. This prevents a frequent mix-up: using “explanatory” as if it were a variable type, or calling a variable quantitative just because it has a numerical code.
| Decision | Ask | Example answer |
|---|---|---|
| Observational unit | What does one record describe? | One responding student |
| Variable | What information was recorded? | Usual commute method |
| Type | Do values measure an amount, or identify groups? | Categorical groups of travel methods |
| Role | How is the variable used in the stated question? | Explanatory for comparing travel times |
A variable does not have an explanatory or response role in isolation from a question. If a description merely lists two variables but does not say how they will be used, explain that roles depend on the question being investigated. If the question is clear, state the roles directly and connect each one to the context.
Likewise, one study can record several variables without every variable having a role in the relationship of interest. A student identifier may help distinguish records but may not be one of the variables being compared. Include it as a variable only if it is actually recorded, and do not force it into an explanatory or response role without a reason.
Common Mistakes and AP Exam Tips
- Naming the topic instead of the observational unit. “Basketball” or “commuting” is not specific enough. Say what one case represents, such as one player or one responding student.
- Confusing a group with a case. If each row records one seedling and its seed type, the unit is one seedling—not a seed-type group.
- Classifying a variable by its role. “Explanatory” does not mean quantitative, and “response” does not mean categorical. State the type and role separately.
- Assuming every explanatory variable is a cause. A variable can be explanatory because a question uses it to account for or predict differences. That label alone does not show cause and effect.
- Ignoring the meaning of values. A code or an ordered rating is not automatically quantitative. Explain whether the values identify groups, have an order, or represent measured amounts.
- Adding information that was not recorded. If the description gives usual commute time, do not redefine it as distance traveled. Classify what the study actually says it records.
- Assigning roles without a stated relationship. Roles depend on the question. When the description does not establish which variable is being used to explain or predict the other, say that the roles cannot be determined from the information given.
For a complete answer, write the unit first, then name each variable and its type. If the study asks about a relationship, identify the explanatory and response variables and tie those choices to that question. A concise explanation is stronger than a list of labels that leaves the reader to infer your reasoning.
Check Your Understanding
For each situation, identify the observational unit and variables, classify the variables, and assign explanatory and response roles if the stated question supports them.
- A fictional garden survey has one row for each community garden plot. It records the number of hours of sunlight received yesterday and whether the plot is used for vegetables or flowers. The question asks whether sunlight time helps explain differences in plot use. Identify the unit, types, and roles.
- A fictional music program records one row for each participant. It records the participant’s instrument family—strings, winds, or percussion—and the number of minutes practiced on a typical weekday. The program asks whether practice time differs by instrument family. Classify both variables and assign roles.
- A fictional weather station log has one row for each recorded afternoon. It includes the day’s maximum temperature in degrees Celsius and whether it rained that afternoon. What is the unit, and what are the types of the two variables? If the question is whether rain status helps explain maximum temperature, assign the roles.
- A fictional online store records one row for each completed order. It records a shipping-option code, where 1, 2, and 3 represent standard, express, and pickup, and the delivery or pickup wait in days. The question compares wait times by option. Classify the variables and explain why the code’s digits do not determine its type.
- A fictional survey records one row per household and includes preferred news format and household size. No question or purpose for comparing the variables is given. Identify the unit and classify both variables. Explain whether explanatory and response roles can be assigned from the description alone.