This summary covers relations, independent and dependent variables, four ways to describe a relation, how to describe a scatter plot, lines and curves of best fit, interpolating and extrapolating, and when a model is not justified.

Two linked quantities make a relation. We describe it, then model it so we can predict.

Relations and variables

A relation is a set of ordered pairs that links two quantities. In the salary data, each pair is (years of education, average salary), such as .

The independent variable is the one that is controlled or, when nothing is controlled, the one we predict from; it comes first in each ordered pair and goes on the horizontal axis. The dependent variable depends on it and goes on the vertical axis.

Nobody controlled years of education; we chose it as independent because we predict salary from it. The same choice set the axes for thumb and palm.

Four ways to describe a relation

Education and salary

A relation can be described in words, as a table of values, as an equation, and as a graph.

As a table of values.

Years of educationAverage salary ($1000s)
9.016.3
10.519.1
12.025.1
13.029.9
14.031.4
17.041.4
19.050.7
22.076.7
23.071.5

As a graph. A scatter plot: one point per pair (below).

In words. Describe the plot in three ways.

Direction: positive if one quantity increases as the other increases; negative if one decreases as the other increases.

Strength: strong, moderate, or weak, by how closely the points follow a pattern.

Shape: linear if the points follow a line; non-linear if they follow a curve.

Salary against years of education is positive, strong, and roughly linear: about $4000 more for each extra year.

A line of best fit follows the trend, with about as many points above it as below. When the points bend, we draw a curve of best fit instead.

The nine salary points, years of education from 0 to 26 across and average salary from 0 to 90 thousand dollars up, with a line of best fit rising through them. Dashed readings mark about 42 thousand dollars at 16 years and about 81 thousand dollars at 25 years.

Data: Augusta State University, 2002.

As an equation. Not yet: the salaries are measurements, so no rule gives them exactly. A line of best fit is a model, and a model can have an equation, but the equations in this thread come later.

Interpolate and extrapolate

For 16 years of education, my line of best fit gives about $42 000. Sixteen years lies inside the data (9 to 23 years), so this is an interpolation: a prediction between known values.

For 25 years it gives about $81 000. Twenty-five years lies beyond the data, so this is an extrapolation: a prediction outside the known values.

I trust the interpolation more: an extrapolation assumes the trend carries on beyond the data.

When a model is not justified

A sportswriter claimed that Roy Halladay pitched poorly in hot weather. His Game Scores plotted against the temperature form a wide cloud with no clear trend: hot days and cool days both have high and low scores.

A line through that cloud would be nearly flat and predict almost nothing, so the data do not support the claim.

A model is only as good as the relation behind it, so check for a trend before drawing a line or curve.

The question for this thread

The palm data bend, so a line will not fit them. To predict from a curve, we need an equation that describes it, the fourth way to describe a relation. The rest of this thread builds one: the quadratic relation.

Curriculum connection

A1.1

collect data that can be represented as a quadratic relation, from experiments using appropriate equipment and technology (e.g., concrete materials, scientific probes, graphing calculators), or from secondary sources (e.g., the Internet, Statistics Canada); graph the data and draw a curve of best fit, if appropriate, with or without the use of technology (Sample problem: Make a 1 m ramp that makes a angle with the floor. Place a can 30 cm up the ramp. Record the time it takes for the can to roll to the bottom. Repeat by placing the can 40 cm, 50 cm, and 60 cm up the ramp, and so on. Graph the data and draw the curve of best fit.);

Link to original