When we have two numerical measurements for every item in our data, we need a way to see whether knowing one measurement helps us predict the other.
1
Building a Scatterplot: Explanatory and Response Variables
A scatterplot shows how two numerical variables move together by plotting each individual as a single dot on two perpendicular number lines. Before putting any dots on the graph, we have to decide which measurement belongs on the bottom axis and which belongs on the vertical axis.
Building a Scatterplot: Explanatory and Response Variables
We place the variable that drives or predicts on the bottom axis, and the measurement that reacts (what we want to predict) on the vertical axis:
Each car in the spreadsheet becomes one dot at (Age,Price). When neither measurement explains or causes the other, such as a student's Math SAT score and Reading SAT score, we just want to see how the two numbers move together, so either variable can go on the bottom axis.
2
Direction of a Relationship
Once the dots are plotted, the first question we ask is what happens to the height of the dots as we read the graph from left to right.
Direction of a Relationship
Reading from left to right as the explanatory variable increases:
Watch out for a common trap: in statistics, positive and negative do not mean good and bad. Plotting cigarettes smoked per day on the bottom axis and risk of lung disease on the vertical axis gives a positive direction because more cigarettes go with a higher risk of disease.
3
Form: Linear and Curved Patterns
Next, we look for the form of the scatterplot: the overall shape a single smooth line or curve makes right through the middle of the dots.
Form: Linear and Curved Patterns
A straight line means the car loses the exact same dollar amount every year, while a curve means the drop in price slows down as the car gets older:
A straight line drops by the same amount every year until the price goes below zero, while a curve drops fast at first and then levels off above zero.
A curve doesn't just have to flatten out; when the pattern reverses, the curve turns around completely.
When a curve turns around like the bakery's profit arch, it has no single overall direction. Describe its direction by naming where the turn happens: profit goes up until about $6 per loaf, and goes down after that.
4
Strength: How Well the Graph Predicts
Knowing the direction and form tells us the path the dots follow, but we still need to know how closely the graph predicts the response variable Y at a chosen value of X.
Strength: How Well the Graph Predicts
Whether the path of dots is steep, nearly flat, or curved into an arch, tightly packed dots mean a narrow range of possible Y values at any given X:
Whether the path is steep, nearly flat, or arched, tightly packed dots keep the prediction window just as narrow, so the relationship stays strong.
5
Outliers, Clusters, and Categorical Groups
Once you see the direction, form, and strength, any individual point that breaks away from the pattern or any separate clouds of dots will stand out right away.
Outliers, Clusters, and Categorical Groups
A single dot can stand out by breaking away from the curve vertically, by sitting far to the left or right of the other ages, or both:
A point on a scatterplot can stand out by sitting far above or below the price curve at a normal age, sitting at an extreme age while still following the curve, or doing both at once.
While an isolated dot outside the pattern is an outlier, separate clouds of dots (called clusters) tell us that a hidden category, like kindergarteners and high school seniors on a height-and-weight graph, is mixed into the data. When we know a categorical variable ahead of time, we can plot each group with its own color or symbol to compare them on the same graph.
To compare the two groups, look at how their paths differ at the same car age. Both groups curve downward, but at age 5, the orange pickup-truck triangles sit higher than the blue economy-sedan circles. At age 8, the blue circles are packed much more tightly than the orange triangles, showing that age predicts price more closely for sedans than for trucks.
6
Describing a Scatterplot in Context
To describe a scatterplot completely, we put together its direction, form, strength, and unusual features, using the actual names and units of the two variables.
Describing a Scatterplot in Context
Text solution
Direction and formRead from left to right along the age axis to see how selling price changes and whether the rate of drop stays steady.
Age ↑⟹Selling price ↓rapidly for 3–4 years,then levels off(negative, curved)
StrengthSlice a vertical strip at a given car age to check how closely the dots follow the curve.
Dots packed tightlyaround the curve⟹Strong relationship(narrow price window)
Unusual featuresLook for any point that breaks away from the overall curve or any separate clusters.
(Age=35 years,Price=$90,000)⟹One outlier far above the curve
So there is a strong, negative, curved relationship between the age of a car and its selling price: as cars get older, their price drops rapidly at first and then levels off, with one notable outlier, a 35-year-old car that sold for $90,000. (On a test, always name the actual explanatory and response variables; writing only "as X goes up, Y goes down" loses context credit.)
Key concepts
Building and reading a scatterplot comes down to one setup choice and four visual questions. First, put the variable that drives or predicts on the bottom axis as the explanatory variable and the measurement you want to predict on the vertical axis as the response variable (car age→selling price, or hours studied→exam score); if neither variable explains the other (Math SAT and Reading SAT), either one can go on the bottom. Once the dots are plotted, read from left to right for direction: positive when both variables move together (cigarettes per day→lung disease risk), negative when they move in opposite directions (car age→price), or split into ranges when a curve turns around (loaf price→bakery profit, rising until $6 and falling after). Look at the rate of change for form: linear if every step right changes Y by the exact same amount, or curved if the drop or rise flattens out (used cars staying above $0) or reverses. Slice a vertical strip at X for strength: if the dots follow the path closely, the narrow vertical window means a strong relationship. Do not call a relationship weak just because its line is nearly flat or because its curve turns around and has no single direction. Finally, scan for unusual features: outliers that break the pattern vertically (2-year-old wrecked car at $500), points that follow the pattern but sit at an extreme X, points that do both (35-year-old collector car at $90,000), and separate clusters that reveal a categorical group, which you can compare directly using different symbols and colors (blue circles for economy sedans vs. orange triangles for pickup trucks).
7
Practice
1
For each pair of measurements, decide which goes on the bottom (explanatory) axis and which goes on the vertical (response) axis, and explain why: (a) daily outdoor temperature and a home's air-conditioning electricity use; (b) a student's left foot length and right foot length.
For each pair, ask whether changing one measurement drives or changes the other, or whether the two numbers simply move together without one causing the other.
(a) Daily outdoor temperature goes on the bottom axis as the explanatory variable and air-conditioning electricity use goes on the vertical axis as the response variable, because outdoor temperature drives how much the air conditioner runs, not the other way around. (Watch out for the mistake of putting electricity use on the bottom axis: running your air conditioner more does not make the weather outside hotter.) (b) Either variable can go on the bottom axis, because neither foot length explains or causes the other; we just want to see how the two measurements move together. (Don't force one foot to be the explanatory variable when neither measurement drives the other.)
2
A researcher plots hours spent looking at a phone screen before bed on the bottom axis and minutes needed to fall asleep on the vertical axis. As screen time goes up, minutes needed to fall asleep also goes up. A student says this scatterplot has a negative direction because taking longer to fall asleep is bad for you. Is the student correct? Explain.
The student treated "negative" as "bad for your health," which leads to the wrong answer of a negative direction.
Check what happens to the height of the dots as you move from left to right: do the two numbers move together or in opposite directions?
No. The scatterplot has a positive direction. (The student treated "negative" as "bad for your health," which leads to the wrong answer of a negative direction.) In statistics, "positive" does not mean good and "negative" does not mean bad; positive simply means the two variables move together (more screen time goes with more minutes needed to fall asleep).
3
A cup of hot coffee sits on a counter. Over the first 5 minutes its temperature drops by 25°F, but between minutes 40 and 45 its temperature drops by only 2°F as it nears room temperature. If you plot time on the bottom axis and coffee temperature on the vertical axis, what is the form of the scatterplot, and why wouldn't a straight line make sense here?
Don't call the form linear just because the temperature is decreasing the whole time; a consistent downward direction does not mean a steady linear rate.
Compare the temperature drop across equal 5-minute steps at the start versus later on, and ask where a steady 25°F drop every 5 minutes would take the temperature after an hour.
The form is curved (non-linear) because the rate of change is not steady: the temperature drops rapidly at first and then flattens out near room temperature. (Don't call the form linear just because the temperature is decreasing the whole time; a consistent downward direction does not mean a steady linear rate.) A straight line would mean the coffee loses the exact same number of degrees every 5 minutes forever, eventually dropping below room temperature and into freezing temperatures.
4
Scatterplot A follows a steep upward line, but the dots are spread widely around it. Scatterplot B follows a barely rising, almost flat line, and the dots follow that line closely. Which scatterplot shows a stronger relationship, and what does that mean when you use X to predict Y?
The likeliest wrong answer is picking Scatterplot A by confusing a steep slope with a strong relationship. Strength depends on how tightly the dots cluster around the path, not on how steep the line is.
Slice a narrow vertical strip at a value of X on each graph and compare how tall the vertical window of Y values is.
Scatterplot B shows the stronger relationship. (The likeliest wrong answer is picking Scatterplot A by confusing a steep slope with a strong relationship.) Strength depends on how tightly the dots cluster around the path, not on how steep the line is. Because Scatterplot B's dots stay close to the line, slicing a vertical strip at a given X keeps Y inside a tiny vertical window, allowing much more accurate predictions than the wide vertical gap in Scatterplot A.
5
A scatterplot puts outdoor temperature (from 20°F to 100°F) on the bottom axis and a home's daily heating-and-cooling bill on the vertical axis. The dots closely follow a U-shaped curve that goes down from 20°F to 65°F and then goes up from 65°F to 100°F. A student claims that because the graph has no single overall direction, there is only a weak relationship between outdoor temperature and the daily bill. Evaluate both parts of this claim.
Separate how you describe a turning curve's direction from how closely the dots follow that curve when you slice a vertical strip at a temperature X.
The student is right that the graph has no single overall direction: you describe its direction by saying the bill goes down until about 65°F and goes up after that. However, the student is wrong that the relationship is weak (confusing "no single direction" on a curve with the random scatter of a "no direction" cloud): because the dots closely follow the curve, knowing the outdoor temperature lets you predict the daily bill within a very small vertical window, making it a strong, curved relationship.
6
On a scatterplot of employees' years at a company (mostly 1 to 12 years, on the bottom axis) and annual salary (rising steadily on the vertical axis), two points stand out: Employee A has been at the company for 4 years but earns triple the salary of other 4-year employees, while Employee B has been at the company for 28 years and earns a salary that sits right on the extended upward line of the other employees. How do Employee A and Employee B differ in the way they are unusual, and what would it mean if the scatterplot instead separated into two distinct clouds of dots?
Check each employee's dot horizontally against the usual 1-to-12-year range and vertically against the rising salary line, then recall what creates separate clusters on the same graph.
Employee A is an outlier that breaks the pattern vertically: their X value (4 years) is ordinary, but their Y value (salary) is far above the line. Employee B follows the salary line, standing out only because their X value (28 years) is far to the right of everyone else (don't say Employee B breaks the salary pattern just because their dot sits far from the main group). If the scatterplot split into two separate clouds of dots (clusters), it would tell us that a hidden categorical variable is mixed into the data, such as two different job roles (for example, entry-level staff and executives).
7
A teacher plots hours spent studying on the bottom axis and exam score on the vertical axis for two groups: students who studied in a quiet library (blue circles) and students who studied with the TV on (orange triangles). Both groups rise steeply from 0 to 4 hours and then level off near 100 points. At any number of study hours, the blue circles sit higher than the orange triangles and are packed tightly around their curve, while the orange triangles are spread widely vertically. One blue circle sits at 7 hours studied and a score of 30. Describe and compare the relationship between study time and exam score for the two groups.
Walk through all four scatterplot questions (direction, form, strength, and unusual features) in the context of study hours and exam scores, comparing where the blue circles and orange triangles sit and how tightly they pack at a given study time.
For both library and TV-room students, there is a positive, curved relationship between hours spent studying and exam score: scores rise rapidly over the first 4 hours of studying and then level off near 100 points. At any given study time, students in the quiet library generally score higher than students with the TV on (the blue circles sit above the orange triangles). The relationship is also stronger for the library group (tightly packed blue circles give a narrow range of scores at each study time) and weaker for the TV group (widely spread orange triangles). Finally, the library group has one notable outlier: a student who studied for 7 hours but scored only 30 points, far below the rest of the pattern. (Make sure you don't stop after describing the shared positive curve: comparing two categorical groups requires comparing both their vertical height and their vertical spread at a given X, while naming the actual variables.)