ALG1-10.2

Scatterplots, Trend Lines & Correlation

Learn to read scatterplots, describe direction and strength, fit a trend line, write and interpret its equation, predict values, and tell correlation from causation.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on Scatterplots, Trend Lines & Correlation, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

A scatterplot turns a table of paired numbers into a picture, and that picture almost always tells a story a table hides. Does studying longer really go with higher quiz scores? Do older cars sell for less? Once you can see the pattern, you can draw a line through it, write that line's equation, and use it to make a prediction about a value nobody measured.

In this lesson you will describe an association by its direction (positive, negative, or none), its form (linear or nonlinear), and its strength (how tightly the points hug a line). Then you will fit a trend line, interpret its slope and its yy-intercept in the actual units of the problem, predict with it, and — just as important — recognize when a strong association still does not mean one variable causes the other.

Reading the Association: Direction, Form, and Strength

A scatterplot graphs paired data: each dot is one individual, plotted at (explanatory variable, response variable). The explanatory variable goes on the xx-axis, the response on the yy-axis. If you are studying how hours of practice affect free-throw percentage, hours is xx.

Describe every scatterplot with three words plus context.

Direction. A positive association means that as xx increases, yy tends to increase — the cloud of points rises left to right. A negative association means yy tends to decrease as xx increases. If there is no consistent rise or fall, there is no association.

Form. Is the pattern roughly a straight line, or does it curve? Only linear patterns should get a straight trend line. A curved pattern with a line forced through it will produce badly wrong predictions at the ends.

Strength. How closely do the points cluster around the pattern? Tight clustering is a strong association; a wide, fuzzy cloud is weak.
DescriptionWhat you see
Strong positive linearPoints rise steadily, nearly on one line
Weak negative linearPoints drift downward but scatter widely
NonlinearClear pattern, but it bends
No associationShapeless blob, no rise or fall
Also look for outliers — points far from the overall pattern. A single outlier can pull a trend line noticeably, so always mention one if you see it. A frequent mistake is confusing steepness with strength: a nearly flat line can still be a strong association if the points sit right on it, and a steep pattern can be weak if the points are scattered.

Fitting a Trend Line and Writing Its Equation

A trend line (line of best fit) is a straight line that summarizes a linear pattern. Drawn by hand, a good trend line has roughly as many points above it as below, runs through the middle of the cloud, and follows the direction of the data. It does not have to pass through any data point at all — a common error is connecting the first and last dots, which lets two points overrule everything in between.

To get the equation, pick two convenient points on your line (grid intersections are easiest), then compute slope and use point-slope or slope-intercept form:m=y2y1x2x1,y=mx+bm = \frac{y_2 - y_1}{x_2 - x_1}, \qquad y = mx + bSuppose your line passes through (2,14)(2, 14) and (8,32)(8, 32). Then m=321482=186=3m = \frac{32-14}{8-2} = \frac{18}{6} = 3. Substituting into y=3x+by = 3x + b with (2,14)(2,14) gives 14=6+b14 = 6 + b, so b=8b = 8 and the equation is y=3x+8y = 3x + 8.

A graphing calculator or spreadsheet can compute the least-squares regression line, the line that makes the total squared vertical distance from the points as small as possible. Different students will draw slightly different trend lines by hand, and that is expected; least squares gives one agreed-upon answer. Technology also reports rr, the correlation coefficient, a number from 1-1 to 11. Its sign matches the direction and its size measures linear strength: rr near ±1\pm 1 is strong, near 00 is weak. Note that r=0r = 0 means no linear pattern — a perfect U-shape can have rr near zero.

Interpreting Slope and Intercept in Context

Writing y=3x+8y = 3x + 8 is only half the job. The lesson objective asks you to say what the numbers mean in the situation's own units, and that is where most points of confusion appear.

Slope is the predicted change in yy for each one-unit increase in xx. If xx is hours studied and yy is quiz score out of 100, then m=3m = 3 means: for each additional hour of study, the model predicts a quiz score about 3 points higher. Two habits make interpretations complete — include the units of both variables, and use hedging words like "predicted" or "on average," because the line describes a tendency, not a guarantee for every student.

The yy-intercept is the predicted yy when x=0x = 0. Here b=8b = 8 predicts a score of 8 for a student who studies zero hours. Sometimes that is meaningful; sometimes it is nonsense. If xx is the height of a tree in meters and yy is its age, an intercept at x=0x = 0 describes a tree with no height, which is outside any sensible range. Always ask whether x=0x = 0 falls inside the data you actually have.

That question leads to extrapolation: predicting far outside the range of the observed xx-values. A model built from students studying 0 to 6 hours says nothing reliable about 40 hours — the line would predict a score of 128, which is impossible. Predicting inside the data range is interpolation and is generally trustworthy. Also remember the residual, the difference actualpredicted\text{actual} - \text{predicted}; a positive residual means the real point sits above your line.

Correlation Is Not Causation

Two variables can move together for reasons that have nothing to do with one causing the other. Ice cream sales and drowning deaths rise together across the year, but ice cream does not cause drownings — hot weather drives both. That hidden third variable is a lurking variable (or confounding variable).

When a strong association appears, at least four explanations are possible:
ExplanationExample
xx causes yyMore fertilizer causes more plant growth
yy causes xxBetter health causes more exercise, not only the reverse
A lurking variable causes bothHot weather drives ice cream sales and swimming
Coincidence in the sampleTwo unrelated trends both rise over a decade
The only way to establish causation is a well-designed experiment in which researchers randomly assign subjects to treatment groups. Random assignment spreads lurking variables evenly across groups, so a difference in outcomes can be credited to the treatment. Observational data — surveys, records, measurements taken as they occur — can show association and nothing stronger.

When a question asks whether the data prove that one variable causes the other, a complete answer names a plausible lurking variable and says that only a randomized experiment could settle the question. Writing "no, correlation is not causation" and stopping there leaves out the reasoning that shows you understand why. Where students most often go wrong is sliding causal language into an interpretation: "each extra hour of study raises the score by 3 points" claims cause, while "is associated with a 3-point higher predicted score" states exactly what the data support.

Key terms

Scatterplot.
A graph of paired numerical data in which each point represents one individual, plotted as (explanatory variable, response variable).
Positive association.
A relationship in which yy tends to increase as xx increases; the points rise from left to right.
Trend line (line of best fit).
A straight line drawn or computed to summarize a linear pattern in a scatterplot, passing through the middle of the point cloud.
Correlation coefficient rr.
A number between 1-1 and 11 whose sign gives the direction and whose absolute value gives the strength of a linear association.
Residual.
The difference between an observed value and the value predicted by the trend line: actualpredicted\text{actual} - \text{predicted}.
Extrapolation.
Using a model to predict for xx-values outside the range of the collected data, where the pattern may no longer hold.
Lurking variable.
A variable not included in the study that influences both of the plotted variables and can create an association without causation.
Least-squares regression line.
The unique trend line that minimizes the sum of the squared vertical distances between the data points and the line.

Worked example

A class records the age of used cars (in years) and their selling price (in hundreds of dollars). A trend line drawn through the scatterplot passes through the points (2,148)(2, 148) and (9,50)(9, 50). The ages in the data set run from 1 to 10 years. (a) Write the equation of the trend line. (b) Interpret the slope and the yy-intercept in context. (c) Predict the price of a 6-year-old car. (d) Is predicting the price of a 25-year-old car reasonable?
(a) Find the slope from the two points on the line:m=5014892=987=14m = \frac{50 - 148}{9 - 2} = \frac{-98}{7} = -14Use y=mx+by = mx + b with the point (2,148)(2, 148): 148=14(2)+b148 = -14(2) + b, so 148=28+b148 = -28 + b and b=176b = 176. The equation is y=14x+176y = -14x + 176, where xx is age in years and yy is price in hundreds of dollars.

(b) The slope 14-14 means that for each additional year of age, the model predicts the selling price drops by about 14 hundred dollars, that is, about 1,400 dollars. The intercept 176176 means a brand-new car (age 0) is predicted to sell for about 176 hundred dollars, or about 17,600 dollars. Since the data only start at age 1, an age of 0 sits just outside the observed range, so treat that figure as an estimate rather than a measured fact.

(c) Substitute x=6x = 6:y=14(6)+176=84+176=92y = -14(6) + 176 = -84 + 176 = 92The predicted price is about 92 hundred dollars, roughly 9,200 dollars. Age 6 is inside the data range of 1 to 10 years, so this interpolation is reasonable.

(d) No. Age 25 is far outside the range of 1 to 10 years. The model would predict y=14(25)+176=174y = -14(25) + 176 = -174, a negative price, which is impossible. This shows why extrapolating far beyond the data breaks down.

Practice questions

A scatterplot of daily high temperature (xx, in degrees Fahrenheit) versus number of hot chocolates sold (yy) shows points falling steadily from upper left to lower right, tightly clustered around a line. Which description is best?
  1. Strong negative linear association
  2. Weak negative linear association
  3. Strong positive linear association
  4. No association

Answer: Strong negative linear association

Falling from upper left to lower right means that as temperature rises, sales drop — a negative direction. "Tightly clustered around a line" means the association is both linear and strong. Weak would require a wide, fuzzy scatter, and positive would require the points to rise.
A researcher finds that towns with more firefighters at a blaze tend to have more fire damage, with a strong positive correlation. Does this show that sending more firefighters causes more damage? Explain fully.

Answer: No. The size of the fire is a lurking variable: large fires both attract more firefighters and cause more damage. Only a randomized experiment could establish causation, and such correlational data cannot.

Naming the lurking variable is the heart of a complete answer. Big fires require large crews and inevitably destroy more property, so fire size drives both measured variables at once. The association is real, but the causal arrow runs from fire size to each variable rather than from firefighters to damage. Stating only "correlation is not causation" skips the explanation that shows understanding, and reversing the claim (damage causes firefighters) is closer to the truth than the original but still ignores the true driver.
A trend line for plant height yy (cm) versus days since planting xx is y=0.8x+3y = 0.8x + 3, based on data from day 5 through day 30. Interpret the slope and the intercept, and state one prediction you should not make with this model.

Answer: Slope: each additional day is associated with a predicted increase of about 0.8 cm in height. Intercept: at day 0 the model predicts a height of 3 cm. You should not predict the height at, say, day 200, because that is far outside the range of days 5 to 30.

Slope is always the predicted change in yy per one-unit increase in xx, stated with units — here, centimeters per day. The intercept is the predicted yy at x=0x = 0; day 0 is just outside the data range and would represent a seed or seedling, so 3 cm is a rough estimate at best. Extrapolating to day 200 would predict 163 cm, but plants stop growing, so the linear pattern cannot continue indefinitely.

FAQ

What is the difference between the strength of a correlation and the steepness of the trend line?
They measure completely different things. Strength is about how closely the points hug the line — measured by rr and visible as tight versus fuzzy scatter. Steepness is the slope, which tells how much yy changes per unit of xx. A line with slope 0.050.05 can have r=0.99r = 0.99 if every point sits right on it, and a line with slope 2020 can have r=0.3r = 0.3 if the points are widely scattered.
Does a trend line have to pass through data points?
No. A trend line summarizes the overall pattern, so it may pass through several points, one point, or none at all. What matters is that it runs through the center of the cloud with roughly equal numbers of points above and below and follows the data's direction. Connecting the first and last points is a common mistake because it lets two values, possibly outliers, determine the whole line.
When is it okay to use a trend line to predict?
Predict for xx-values inside the range of your data (interpolation) and only when the pattern really is linear. Predicting far outside the range (extrapolation) assumes the pattern continues, which often fails — it can yield negative prices, impossible test scores, or heights no plant reaches. Always check that your predicted value makes physical sense.
How can I tell whether an association is causal?
From a scatterplot alone, you cannot. Association only shows that two variables move together. Causation requires a well-designed experiment with random assignment to treatment groups, which spreads lurking variables evenly so that outcome differences can be attributed to the treatment. With observational data, always ask what third variable might be influencing both quantities.

Learn this with a teacher, not a page

The Crimsora tutor teaches Scatterplots, Trend Lines & Correlation live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.