Math · Problem Solving and Data Analysis

Two-variable data: Models and scatterplots

Explanation

Two-variable (bivariate) data analysis focuses on studying the relationship between two different quantitative variables, usually plotted on a coordinate plane as a scatterplot to identify patterns, trends, and models.

Understanding Scatterplots and Trends

A scatterplot displays data points where the horizontal axis represents the independent variable (xx) and the vertical axis represents the dependent variable (yy).

  • Positive Association (Trend): As xx increases, yy tends to increase.

    Example: Study hours (xx) vs. test scores (yy). As study time increases, test scores generally rise.

  • Negative Association (Trend): As xx increases, yy tends to decrease.

    Example: Car age (xx) vs. resale value (yy). As a car gets older, its value generally goes down.

  • No Association: There is no clear pattern or relationship between xx and yy.

    Example: Shoe size (xx) vs. score on a math test (yy). The points are scattered randomly.

  • Linear vs. Non-linear Patterns: Points can form a straight line pattern (linear) or a curve (such as quadratic or exponential).

Line of Best Fit (Linear Models)

A line of best fit (trend line) is a straight line drawn through a scatterplot to model the general relationship between xx and yy, usually written as y^=mx+b\hat{y} = mx + b.

  • Slope (mm): The predicted change in yy for every 11-unit increase in xx.

    Example: For a model y=2.5x+10y = 2.5x + 10 tracking plant height (yy, in cm) over weeks (xx), the plant grows by an estimated 2.5 cm2.5\text{ cm} each week.

  • yy-intercept (bb): The predicted starting value of yy when x=0x = 0.

    Example: In y=2.5x+10y = 2.5x + 10, the initial height of the plant at week 00 is 10 cm10\text{ cm}.

Example 1

Scatterplot with line of best fit (9 data points)02468100481216xy
The scatterplot shows the relationship between two variables, xx and yy, for 99 data points. A line of best fit for the data is also shown. Which of the following is closest to the difference between the yy-coordinate of the data point at x=3x = 3 and the yy-value predicted by the line of best fit at x=3x = 3?
A
11
B
22
C
33
D
88
Choice B is correct. The data point at x=3x = 3 has a yy-coordinate of 88. The line of best fit passes through (0,3)(0, 3) and (10,13)(10, 13), so its slope is 13−310−0=1\frac{13-3}{10-0} = 1 and its equation is y=x+3y = x + 3. At x=3x = 3, the line of best fit predicts y=3+3=6y = 3 + 3 = 6. The difference between the observed value and the predicted value is 8−6=28 - 6 = 2. Choice A is incorrect and may result from misreading the scatterplot by one unit. Choice C is incorrect and may result from misreading the line of best fit's slope. Choice D is incorrect; this is the yy-coordinate of the data point itself, not the difference between it and the predicted value.

Example 2

A gardener models the height of a sunflower, hh, in centimeters, ww weeks after it was planted, using the equation h=8.5w+12h = 8.5w + 12. Which of the following is the best interpretation of 8.58.5 in this context?
A
The sunflower's height, in centimeters, when it was planted
B
The predicted increase in the sunflower's height, in centimeters, each week
C
The total number of weeks the sunflower was measured
D
The predicted height of the sunflower, in centimeters, after 8.58.5 weeks
Choice B is correct. The equation is in slope-intercept form, h=mw+bh = mw + b, where mm is the slope. Since the slope is 8.58.5, and ww represents the number of weeks, an increase of 11 in ww corresponds to a predicted increase of 8.58.5 centimeters in hh. Choice A is incorrect; this describes 1212, the yy-intercept, not 8.58.5. Choice C is incorrect; the number of weeks is represented by the variable ww, not by the constant 8.58.5. Choice D is incorrect; this describes a specific predicted output value, which would require substituting w=8.5w = 8.5 into the equation, not the meaning of the coefficient itself.

Tips for solving

  1. Interpret the slope in word problems by adding the phrase "for each additional unit of xx."

    Example: A scatterplot models cost CC based on weight ww with equation C=3.5w+12C = 3.5w + 12. What does 3.53.5 mean?

    • Identify xx-variable: Weight (ww, in pounds)

    • Meaning: The cost increases by $3.50\$3.50 for each additional pound of weight.

  2. Distinguish between model predictions and actual data points on graph questions.

    Example: A scatterplot shows a point at (5,40)(5, 40) and a line of best fit passing through (5,32)(5, 32) at x=5x = 5.

    • Actual value: y=40y = 40 (the plotted point)

    • Model prediction: y^=32\hat{y} = 32 (the line height)

Practice questions

00:00
Question 1 · easy
The number of visitors, vv, to a museum tt weeks after a new exhibit opened is modeled by the equation v=45t+900v = 45t + 900. What does the number 4545 represent in this context?
Question 2 · easy
The number of visitors, vv, to a museum tt weeks after a new exhibit opened is modeled by the equation v=45t+900v = 45t + 900. What does the number 900900 represent in this context?
Question 3 · easy
WeekHeight (cm)
214
526
The table shows the height of a plant, in centimeters, recorded at two different weeks after it was planted. What is the average rate of change, in centimeters per week, in the height of the plant from week 22 to week 55?
Question 4 · easy
Scatterplot with line of best fit02468100481216xy
The scatterplot shows the relationship between two variables, xx and yy, for a set of data points. A line of best fit for the data is also shown. Which of the following is closest to the difference between the yy-coordinate of the data point at x=3x = 3 and the yy-value predicted by the line of best fit at x=3x = 3?
Question 5 · easy
xy
05
18
211
314
The table shows values of xx and yy for four data points. Which type of equation best models the relationship between xx and yy?
Question 6 · easy
A company's monthly profit, in dollars, is modeled by the equation p=250x−400p = 250x - 400, where xx is the number of units sold. What is the predicted profit, in dollars, when 3030 units are sold?
Question 7 · easy
Hours, hDistance, d (miles)
120
480
The table shows a car's distance from home, in miles, at two different times after it began a trip. What is the average rate of change, in miles per hour, of the car's distance from home between these two times?
Question 8 · easy
A model predicts that a company's sales, ss, are related to the number of ads run, nn, by the equation s=3n+50s = 3n + 50. On a day when 1010 ads ran, actual sales were 9292. What is the difference between the actual sales and the sales predicted by the model (actual minus predicted)?
Question 9 · easy
xy
0100
180
264
351.2
The table shows values of xx and yy for four data points that follow the pattern y=a(b)xy = a(b)^x. What is the value of bb?
Question 10 · easy
A line of best fit passes through the points (2,15)(2, 15) and (6,35)(6, 35). What is the slope of this line of best fit?