Quantum Tutoring Learn
Learn › Digital SAT › Data analysis and statistics › Two-variable data: scatterplots & line of best fit
Digital SAT Math · Data analysis and statistics

Two-variable data: scatterplots & line of best fit

The rule. A scatterplot plots paired data as points, one dot for each (x, y) pair, and a line of best fit is a straight line drawn to summarize the overall trend. For a line written as y = mx + b, the slope m is the predicted change in y for each one-unit increase in x — a rate — and b is the predicted value of y when x is 0. To predict a y-value, put the x-value into the whole equation. A residual is the actual value minus the predicted value, so a point sitting above the line has a positive residual. The sign of the slope tells you the direction of the association (rising or falling), and how closely the points hug the line tells you how strong it is. Choose the model from the pattern: a roughly constant change each step is linear, while repeated multiplying (doubling or halving, a curving shape) is exponential. Finally, an association between two variables does not by itself prove that one causes the other.

How to approach it

Start here. Figure out what is being asked: interpret the slope or the intercept, predict a value, compare an actual point to the prediction (a residual), judge the association, or choose the type of model.

Plan

  1. Read the slope as the change in y for each one-unit increase in x, and the intercept as the value when x is 0.
  2. To predict, substitute the x-value into the whole equation.
  3. For a residual, subtract the predicted value from the actual value.
  4. Pick a linear model for constant change and an exponential model for repeated multiplying.

Work it. Substitute and work it out, keeping the slope (a rate) separate from any single predicted value.

Check yourself. Did you read the slope as a rate rather than a total or the intercept? Did the prediction use the whole equation? Is the residual the actual minus the predicted, with the right sign? Does the model type match the pattern? Did you avoid claiming cause from a mere association?

Worked examples

Worked example 1

A line of best fit is y = 4x + 7, where y is a bakery's daily sales in dollars and x is the number of loaves of a new bread put out. How much in sales does the model predict when 6 loaves are put out?

The model is y = 4x + 7. Here x is the number of loaves, which is 6, and y is the predicted sales. To predict, we substitute x = 6 into the whole equation.

Plan

  1. Substitute x = 6 into y = 4x + 7.
  2. Multiply first, then add the intercept.
y = 4x + 7start from the model
= 4(6) + 7substitute x = 6
= 24 + 7multiply first
= 31add the intercept

Check. The slope 4 adds 4 for each loaf and the intercept 7 is the sales when x is 0, so 6 loaves add 6 times 4, or 24, above the starting 7 — a total of 31. Using the whole equation, not just the 24, gives the right prediction.

Answer: the model predicts 31 dollars in sales

Worked example 2

A line of best fit is y = 4x + 7, where y is a bakery's daily sales in dollars and x is the number of loaves put out. How many loaves does the model predict are needed for sales of 47 dollars?

Here we are given the output y = 47 and must find the input x. Instead of substituting for x, we substitute 47 for y and solve the equation for x.

Plan

  1. Substitute y = 47 into y = 4x + 7.
  2. Subtract the intercept 7 from both sides.
  3. Divide by the slope 4.
47 = 4x + 7substitute y = 47
40 = 4xsubtract 7 from both sides
x = 10divide both sides by 4

Check. Checking forward, 4(10) + 7 = 40 + 7 = 47, which matches the target sales, so 10 loaves is correct.

Answer: the model predicts 10 loaves

Common mistakes

Best-fit slope interpretation error

Misreads the slope of the line of best fit — treats it as a total, as a single predicted y-value, as the intercept (the value when x is 0), or as the x-variable, instead of the predicted change in y for each one-unit increase in x. Fix: the slope is a per-unit rate of change in y.

Intercept/prediction misuse

Predicts with only part of the equation — uses m times x but drops the intercept, or uses only the intercept, reads the wrong axis, or reports an actual data value as if it were the prediction. Fix: substitute x into the whole equation y = mx + b.

Model-type choice error

Fits a straight line to data that is clearly curving or multiplying, or forces an exponential model onto data that changes by a constant amount. Fix: constant additive change is linear; repeated multiplication is exponential.

Association/causation misread

Reads a falling association as a rising one (or the reverse), treats a correlation as proof of cause, or claims the model gives an exact rather than an estimated value. Fix: the slope's sign gives the direction, and an association alone never proves causation.

Related lessons

Practice this until it sticks

The adaptive tutor has 5 practice questions on this skill, names the exact mistake when you miss one, and gives you a fresh problem to confirm the fix. It is part of the Digital SAT program: $59 once, 12 months of access, no renewal.

See the Digital SAT programEnroll
← Distributions & standard deviation (comparing spread)Probability & two-way tables →