Scatter Plots & the Line of Best Fit
Plot two measurements against each other and a pattern can leap off the page — even before you draw a single line through it.
Two measurements, one plot
Suppose you record, for each student in a class, how many hours they studied and what score they got on a quiz. Each student gives you a pair of numbers. Plot every pair as a point — hours on the x-axis, score on the y-axis — and you get a scatter plot: a cloud of points that can reveal a relationship no single number ever could.
Reading the shape of the cloud
Before fitting anything, just look. Do the points trend upward, downward, or scatter with no trend? Do they hug a straight path, or bend like a curve? Is there one point way off to the side — an outlier — that doesn't fit the rest of the story? Naming the shape in words is often the most useful step, because it's the shape that tells you whether a straight line is even the right tool.
- As x (TV hours) increases, the y-values (homework hours) tend to get smaller.
- The points fall roughly along a straight downward path, with no obvious outliers.
Fitting a line by eye
When the association looks roughly linear, you can sketch a single straight line that seems to pass through the “middle” of the cloud — with about as many points above the line as below it. This is called a line of best fit, and at this stage you are drawing it informally, by eye: there is no single correct line, only a reasonable one that tracks the trend.
Using the line to predict
Once you have a line of best fit, it behaves like any line in slope-intercept form, y = mx + b. The slope tells you, in context, how much y tends to change for every one-unit increase in x. The intercept tells you the predicted y-value when x = 0. Reading a value off the line for an x you didn't directly measure is called interpolation, and it's only a reasonable prediction, not a certainty.
- The slope is 5, meaning each extra hour of study is associated with about 5 more points on the quiz.
- The intercept 60 is the predicted score for a student who studied 0 hours.
- Substitute x = 4: y = 5(4) + 60 = 20 + 60.
Check your understanding
- A scatter plot displays paired (bivariate) measurements as points, one axis per variable.
- An association can be positive, negative, or none, and linear or nonlinear — watch for clusters and outliers too.
- A line of best fit can be sketched informally, by eye, when the association looks roughly linear.
- The line's slope and intercept describe the trend in context and support rough predictions.
- Association is not causation, and predictions get shakier the further you stray from the data you actually measured.