Line of Best Fit
Learn to draw a line of best fit by eye on a scatter plot, find its equation from two points and explain what its slope and intercept mean.
Intermediate25 min18 problems
Definition
A line of best fit (also called a trend line) is a straight line drawn through a scatter plot that shows the overall trend of the data. It does not have to pass through any of the points.
A good line of best fit drawn by eye:
- has about half of the points above it and half below it
- follows the direction of the points (up, down, how steep)
- has the points spread along its whole length, not all above at one end and all below at the other
Once the line is drawn, pick two points on the line (not data points), far apart and on grid crossings, and find its equation :
The mean point is a useful guide: the least-squares regression line always passes through it, so a good line by eye should pass through it or very close to it.
Try it now
Which description fits a good line of best fit drawn by eye?
Interactive Visual
Scatter Plot
Weeks of training and push-ups
ŷ = 1.93x + 3.32
r = 0.982 · strong positive correlation
Tap a point to see its coordinates.
Function graph
Tap the grid to place a point. Tap a point again to remove it.Place at least 2 points to see the line through them.
Interactive Sandbox
Interactive Grapher
Tap or hover over the graph to read off values.
Try these examples:
y = 2x + 3
m=2, b=3
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsProblem 1 of 18
Easy
Which description fits a good line of best fit drawn by eye?
Glossary
- Line of best fit
- A straight line through a scatter plot that shows the overall trend of the data (also called a trend line)
- Slope
- The change in for each increase of 1 in ; along the line,
- Intercept
- The value of where the line crosses the y-axis, at
- Mean point
- The point made of the mean of all x-values and the mean of all y-values (also called the point of means)
- Regression line
- The exact line of best fit found by the least-squares method; it always passes through the mean point
Formula Card
Slope from two points
Use two points on the drawn line, not data points
Intercept
Put one point of the line and the slope into $y = mx + b$
Line of best fit
The equation of the trend line
Mean point
The least-squares line passes through $(\bar{x}, \bar{y})$