A line is controlled by an intercept and a slope. This lesson separates the displayed points from the later rule that chooses the line.

highlighted = computed this step

A line has parameters

A candidate line has intercept a and slope b. Choosing a and b selects one line from the family.

y=a+bxy=a+b x
Exact data pointsThe observed points before any fitted line is drawn.Least-squares dataExact data points with the fitted line when shown.ABCD

Why fit means choose

Fit means choose a and b so the line matches the shown data by an exact rule. Fitting means choosing a and b for these points; it is not a capability claim.

choose a,b from shown data\text{choose }a,b\text{ from shown data}
Exact data pointsThe observed points before any fitted line is drawn.Least-squares dataExact data points with the fitted line when shown.ABCD

Summary

The plot shows only the data. The line has not been chosen yet.

data first, line second\text{data first, line second}
Exact data pointsThe observed points before any fitted line is drawn.Least-squares dataExact data points with the fitted line when shown.ABCD