A gardener measures a sunflower seedling once a week. The heights go up, but not in a perfectly straight line, since one week is warm and the next is cloudy. Still, a single straight line drawn through the cloud of points says a lot. It gives a growth rate, it lets you guess the height on a day nobody measured, and it shows which weeks were better or worse than usual. SAT questions on data models ask exactly these things, and they also ask what the model cannot tell you.
Key terms
Scatterplot
Definition A scatterplot displays paired numerical data as points in the coordinate plane. Each point is one observation, with the explanatory variable on the horizontal axis and the response variable on the vertical axis. Both axes are labeled with the variable and its units.
In plain words Every dot is one thing that was measured twice. Its left to right position shows one measurement and its height shows the other.
Example The seedling’s height in centimeters, weeks after planting, was recorded for eight weeks.
| Week | Height (cm) |
|---|---|
The scatterplot has eight points, from up to , with weeks on the horizontal axis and centimeters on the vertical axis.
Association
Definition Two numerical variables have a positive association when larger values of one tend to go with larger values of the other, and a negative association when larger values of one tend to go with smaller values of the other. The association is linear when the points lie close to a line and nonlinear when they follow a curve. It is strong when the points lie close to that line or curve and weak when they are widely scattered. When no such tendency appears, the variables show no association. An association, however strong, does not by itself show that one variable causes changes in the other.
In plain words Association describes the shape of the cloud of points. It says the two quantities move together, not why they do.
Example The seedling data show a strong, positive, linear association, since every point sits close to one rising line. A city’s daily ice cream sales and its daily number of sunburns also have a positive association, yet ice cream does not cause sunburns. Hot sunny days push both up. A question that asks whether one variable causes the other usually needs a controlled experiment, which you meet in Experiments, Observations and Causal Claims.
Line of best fit
Definition A line of best fit is a line chosen to summarize a roughly linear scatterplot, with the points as close to it as possible overall. The most common choice, the least squares regression line, makes the sum of the squared vertical distances from the points to the line as small as possible. The fitted line usually passes through few or none of the data points. In context, the slope is the predicted change in for each increase of in , and the intercept is the predicted value of when .
In plain words The line follows the trend and ignores the small ups and downs. Its slope is the typical rate, and its intercept is the model’s starting value, which may or may not make sense in the real situation.
Example For the seedling data the least squares line, with rounded coefficients, is
It goes through none of the eight points. The slope says the model predicts about centimeters of growth per week. The intercept says the model gives a height of centimeters at week , which is outside the measured weeks and does not match a seed just placed in soil. That intercept only anchors the line, it is not a real measurement.
Prediction
Definition A prediction from a model is the value that the model gives at a chosen input . It is an estimate of a typical response at , not a guaranteed value for any single observation.
In plain words Put the input into the equation, or trace up from the input to the line and across to the vertical axis. What you read off is the model’s best guess.
Example At week the line predicts
The seedling actually measured centimeters that week, so the prediction is close but not exact.
Residual
Definition For a data point and a model that predicts at , the residual is
the observed value minus the predicted value. This is the standard convention, and it is the one to use unless a question defines residual differently. With it, a positive residual means the point lies above the graph of the model and a negative residual means it lies below. On a graph the residual is the signed vertical distance from the model to the point.
In plain words A residual measures how wrong the model was for one actual observation. Always subtract in the order actual minus predicted.
Example The seedling residuals for are listed below.
At week the point sits centimeter above the line. The residuals are small and switch between positive and negative with no pattern, which is a good sign that a line suits these data. A curved pattern in the residuals, such as negative at both ends and positive in the middle, says the line misses a bend in the data.
Interpolation and extrapolation
Definition Using a model to predict at an input inside the range of the observed values is interpolation. Predicting at an input outside that range is extrapolation. Interpolation is usually reasonable when the model fits the data well. Extrapolation assumes the pattern continues where nothing was measured, so it becomes less reliable the farther the input is from the data, and far outside the data it can give impossible values.
In plain words Between the dots, the trend has been checked. Beyond the dots, you are guessing that the world keeps behaving the same way.
Example The weeks observed run from to . A prediction for week is interpolation,
and it is believable. A prediction for week is extrapolation,
and it is not believable, because a sunflower finishes growing and dies long before a year has passed. The equation does not know that.
Quadratic model
Definition A quadratic model has the form
Its graph is a parabola that opens down when and up when , so it suits data that rise and then fall, or fall and then rise. The vertex sits at . Smaller residuals for one model than for another mean that model fits these particular points better. They do not prove that it describes the true process, and some other model, not yet tried, might fit as well or better.
In plain words Use a parabola when the points bend. Judge a fit by its residuals, but remember that a good fit to a handful of points is evidence, not proof.
Example A farm tests hundred kilograms of fertilizer per hectare and records the yield in tons per hectare. The least squares line for these five points is , which rounds to the line . The least squares parabola, with its coefficients rounded to whole numbers, is . The residuals below are computed from these two rounded models.
| Line residual | Parabola residual | ||
|---|---|---|---|
The line’s residuals are large and form a curve, negative, positive, positive, positive, negative. The parabola’s residuals are all small with no pattern, so the quadratic model fits these data much better. Its vertex is at
so the parabola predicts the highest yield, about tons per hectare, at kilograms of fertilizer per hectare. Extrapolating to gives tons, an impossible yield, which is another reminder to stay near the data.
Exponential fit
Definition An exponential model has the form
The value is the predicted value of at , and each increase of in multiplies the predicted value by . When the model predicts growth of percent per unit of , and when it predicts decay of percent per unit. An exponential fit suits data whose ratios of consecutive values, at equally spaced inputs, stay roughly constant.
In plain words A linear model adds the same amount each step. An exponential model multiplies by the same factor each step.
Example A lab counts bacteria colonies on a dish hours after a sample is added, and an exponential fit to the counts is
The model estimates colonies at the start and an increase of percent each hour. Three hours in, it predicts
In the Desmos graphing calculator you can enter the data in a table, whose columns are named and , and then type a regression that uses the tilde symbol in place of the equals sign, such as for an exponential fit or for a linear one. The calculator finds values for the letters and , or and , and displays them.
Check yourself
- For a set of used cars, the line of best fit relating price , in thousands of dollars, to age , in years, is . Which choice is the best interpretation of in this context? (A) The predicted price of a new car is thousand dollars. (B) For each additional year of age, the predicted price decreases by thousand dollars. (C) Every car in the data loses exactly thousand dollars of value each year. (D) For each additional years of age, the predicted price decreases by thousand dollars.
Show the answer
The correct choice is (B). The slope is the predicted change in per one unit of . Choice (A) describes the intercept, and the intercept is , not . Choice (C) treats the model as exact for every car, but a line of best fit describes a trend and individual cars have residuals. Choice (D) swaps the roles of the two variables.
- A line of best fit for a data set is . One data point is . Using residual equals actual value minus predicted value, what is the residual for this point?
Show the answer
The model predicts
so the residual is . The point lies units below the line. The tempting answer comes from subtracting in the wrong order.
- The estimated number of fish of one species in a lake years after a survey began is modeled by . Which choice is the best interpretation of ? (A) The estimated number of fish decreases by percent each year. (B) The estimated number of fish decreases by percent each year. (C) The estimated number of fish decreases by fish each year. (D) The estimated number of fish when the survey began was percent of .
Show the answer
The correct choice is (B). Each year the estimate is multiplied by , so percent remains and , or percent, is lost. Choice (A) confuses the part kept with the part lost. Choice (C) reads the model as linear. Choice (D) is wrong because the estimate at is .