In statistics there are a number of different ways to classify variables. One of the many ways that variables can be examined it to consider the difference between explanatory and response variables. The correct identification of these variables has a direct influence on other aspects of statistics, such as the construction of a scatterplot and the slope of a regression line.
Definitions of Explanatory and Response
We begin by looking at the definitions of these types of variables. A response variable is the particular quantity that we ask a question about in our study. An explanatory variable is any factor that can influence the response variable. While there can be many explanatory variables, we will primarily concern ourselves with a single explanatory variable.
A response variable may not be present in a study. The naming of this type of variable depends upon the questions that are being asked by a researcher. The conducting of an observational study would be an example of an instance when there is not a response variable.
To explore these concepts we will examine a few examples. For the first example suppose that a researcher is interested in studying the mood and attitudes of a group of first year college students. All first year students are given a series of questions. These questions are designed to assess the degree of homesickness of a student. Students also indicate on the survey how far their college is from home.
One researcher who examines this data may just be interested in what students responses are, perhaps to have an overall sense about the composition of a new freshman. In this case there is not a response variable. This is because no one is seeing if the value of one variable influences the value of another.
Another researcher could use the same data to attempt to answer if students who came from further away had a greater degree of homesickness. In this case the data pertaining to the homesickness questions are the values of a response variable, and the data that indicates the distance from home forms the explanatory variable.
For the second example we might be curious if number of hours spent doing homework has an effect on the grade a student earns on an exam. In this case, because we are showing that the value of one variable changes the value of another, there is an explanatory and a response variable. The number of hours studied is the explanatory variable and the score on the test is the response variable.
Scatterplots and Variables
When we are working with paired quantitative data, it is appropriate to use a scatterplot. The purpose of this kind of graph is to demonstrate relationships and trends within the paired data. We do not need to have both an explanatory and response variable. If this is the case, then either variable can plotted along either axis. However, in the event that there is a response and explanatory variable, then the explanatory variable is always plotted along the x or horizontal axis of a Cartesian coordinate system. The response variable is then plotted along the y axis.
Independent and Dependent
The distinction between explanatory and response variables is similar to another classification. Sometimes we refer to variables as being independent or dependent. The value of a dependent variable relies upon that of an independent variable. Thus a response variable corresponds to a dependent variable while an explanatory variable corresponds to an independent variable. This terminology is typically not used in statistics because the explanatory variable is not truly independent. Instead the variable only takes on the values that are observed. We may have no control over the values of an explanatory variable.