Lines of Best Fit and Correlation: Complete Guide with Solved Exercises

Master lines of best fit and correlation: positive/negative correlations, trend line estimation, and prediction through these 3 detailed exercises.

Lines of Best Fit and Correlation
1 Positive Correlation with Line of Best Fit
Exercise 1
The table shows the number of hours spent studying per week and the corresponding math test scores for 8 students. Draw a scatter plot, sketch the line of best fit, and use it to predict the test score for a student who studies 11 hours per week.
Hours Studying Test Score
2 65
4 72
6 78
8 85
10 90
12 92
14 95
16 98
Key Definitions:

Line of Best Fit: A straight line that best represents the data on a scatter plot

Positive Correlation: As one variable increases, the other also increases

Linear Regression: Process of finding the line that best fits the data

Interpolation: Making predictions within the range of the data

Extrapolation: Making predictions outside the range of the data

Solution Method:
  1. Create a coordinate system with appropriate scales
  2. Plot each data point as an ordered pair (x, y)
  3. Sketch the line of best fit by eye, balancing points above and below
  4. Estimate the equation of the line using two points on the line
  5. Use the equation to make predictions
Step 1: Plot the Data Points

Plot (2, 65), (4, 72), (6, 78), (8, 85), (10, 90), (12, 92), (14, 95), (16, 98)

Step 2: Draw the Line of Best Fit

The line should pass through the middle of the data points, with roughly equal numbers above and below.

Step 3: Estimate the Line Equation

Using points (2, 65) and (16, 98): slope = (98-65)/(16-2) = 33/14 ≈ 2.36

Using point-slope form: y - 65 = 2.36(x - 2), so y = 2.36x + 60.28

Step 4: Make the Prediction

For x = 11 hours: y = 2.36(11) + 60.28 = 25.96 + 60.28 = 86.24 ≈ 86 points

Predicted test score for 11 hours of study: approximately 86 points
Final Answer:

The line of best fit has a positive slope, indicating a strong positive correlation. A student who studies 11 hours per week is predicted to score approximately 86 points on the test.

Applied Rules and Patterns:

• Line of Best Fit: Minimizes distance between line and all data points

• Positive Slope: Indicates positive correlation

• Prediction Accuracy: More reliable within data range than outside it

• Correlation Strength: Points closely following the line indicate strong correlation

Tip 1: The line of best fit doesn't need to pass through every point.
Tip 2: Balance the number of points above and below the line.
2 Negative Correlation with Line of Best Fit
Exercise 2
The table shows the temperature (in degrees Fahrenheit) and the number of hot chocolate cups sold at a coffee shop over 7 days. Draw a scatter plot, sketch the line of best fit, and use it to predict how many cups would be sold on a day with 75°F temperature.
Temperature (°F) Hot Chocolate Sold
30 45
40 38
50 30
60 22
70 15
80 8
90 3
Key Definitions:

Negative Correlation: As one variable increases, the other decreases

Negative Slope: Line that goes downward from left to right

Interpolation: Making predictions within the data range (more reliable)

Extrapolation: Making predictions outside the data range (less reliable)

Solution Method:
  1. Set up coordinate system with appropriate scales
  2. Plot each data point accurately
  3. Sketch the line of best fit with negative slope
  4. Calculate the slope and y-intercept
  5. Make the prediction using the line equation
Step 1: Plot the Data Points

Plot (30, 45), (40, 38), (50, 30), (60, 22), (70, 15), (80, 8), (90, 3)

Step 2: Draw the Line of Best Fit

The line should slope downward from left to right, representing the negative correlation.

Step 3: Estimate the Line Equation

Using points (30, 45) and (90, 3): slope = (3-45)/(90-30) = -42/60 = -0.7

Using point-slope form: y - 45 = -0.7(x - 30), so y = -0.7x + 66

Step 4: Make the Prediction

For x = 75°F: y = -0.7(75) + 66 = -52.5 + 66 = 13.5 ≈ 14 cups

Predicted hot chocolate sales at 75°F: approximately 14 cups
Final Answer:

The line of best fit has a negative slope, indicating a strong negative correlation. On a 75°F day, approximately 14 cups of hot chocolate would be sold.

Applied Rules and Patterns:

• Negative Correlation: Points slope downward from left to right

• Negative Slope: Indicates inverse relationship between variables

• Prediction Reliability: Interpolation is more reliable than extrapolation

• Practical Context: Higher temperature leads to lower hot chocolate sales

Tip 1: Negative correlations have downward-sloping lines of best fit.
Tip 2: Check if your prediction makes sense in the real-world context.
3 Weak Correlation and Line of Best Fit
Exercise 3
The table shows the shoe size and reading comprehension score for 10 students. Draw a scatter plot, sketch the line of best fit, and comment on the correlation strength.
Shoe Size Reading Score
6 78
7 82
8 75
9 88
10 72
11 85
12 79
13 83
14 80
15 87
Key Definitions:

Weak Correlation: Little to no relationship between variables

Random Scatter: Points show no clear pattern

Horizontal Line of Best Fit: Indicates no correlation

Correlation Coefficient: Measure of correlation strength (not calculated at 7th grade)

Solution Method:
  1. Create coordinate system with appropriate scales
  2. Plot each data point accurately
  3. Observe if there's a discernible pattern
  4. Sketch the line of best fit (if any)
  5. Assess the correlation strength
  6. Comment on the relationship between variables
Step 1: Plot the Data Points

Plot (6, 78), (7, 82), (8, 75), (9, 88), (10, 72), (11, 85), (12, 79), (13, 83), (14, 80), (15, 87)

Step 2: Observe the Pattern

The points appear randomly scattered with no clear upward or downward trend.

Step 3: Sketch the Line of Best Fit

The line of best fit would be nearly horizontal, indicating minimal correlation.

Step 4: Assess the Correlation

There appears to be little to no correlation between shoe size and reading comprehension.

Weak correlation: no meaningful relationship between shoe size and reading scores
Final Answer:

The scatter plot shows a weak correlation with a nearly horizontal line of best fit. There is no meaningful relationship between shoe size and reading comprehension scores.

Applied Rules and Patterns:

• Weak Correlation: Points are scattered without a clear pattern

• Horizontal Line: Indicates no correlation between variables

• Practical Meaning: Shoe size does not influence reading ability

• Correlation vs Causation: No correlation confirms no causal relationship

Tip 1: Not all variables are correlated; some have no meaningful relationship.
Tip 2: A horizontal line of best fit indicates no correlation.
Detailed Summary: Lines of Best Fit and Correlation
Core Definitions:

Line of Best Fit: A straight line drawn through a scatter plot that best represents the relationship between two variables. It minimizes the distances between the line and all data points.

Correlation: A measure of how strongly two variables are related. It describes the direction and strength of the relationship.

Positive Correlation: When both variables increase together (line slopes upward from left to right).

Negative Correlation: When one variable increases while the other decreases (line slopes downward from left to right).

No Correlation: When there is no apparent relationship between the variables (line is horizontal or points are randomly scattered).

Core Rules and Principles:

• Line Properties: The line of best fit should have roughly equal numbers of points above and below it.

• Correlation Strength: The closer the points are to the line, the stronger the correlation.

• Prediction Accuracy: Predictions are more accurate when made within the range of the data.

• Correlation vs Causation: Correlation does not prove that one variable causes the other to change.

• Line Equations: Can be expressed in the form y = mx + b where m is the slope and b is the y-intercept.

Step-by-Step Procedure for Finding Lines of Best Fit:
  1. Organize Data: Arrange data in a table with paired values
  2. Create Scatter Plot: Plot each data point on a coordinate plane
  3. Visual Assessment: Look for overall patterns in the data
  4. Draw Line: Sketch a line that balances points above and below it
  5. Calculate Slope: Choose two points on the line and calculate rise over run
  6. Find Y-Intercept: Determine where the line crosses the y-axis
  7. Write Equation: Express the line in the form y = mx + b
  8. Make Predictions: Substitute x-values into the equation to predict y-values
Strong Positive
Points closely follow upward line. Example: Study time vs test scores
Strong Negative
Points closely follow downward line. Example: Temperature vs hot chocolate sales
Weak/No Correlation
Points randomly scattered. Example: Shoe size vs reading ability
Tip 1: Always consider the real-world context when interpreting correlations.
Tip 2: The line of best fit doesn't need to pass through any actual data points.
Tip 3: Extrapolation (predicting outside the data range) is less reliable than interpolation.
Tip 4: Outliers can significantly affect the line of best fit.
Common Mistakes: Drawing a line that passes through too many points, ignoring outliers, assuming correlation implies causation, making predictions outside the data range.
Memorization Tips: Positive correlation = line goes up, Negative correlation = line goes down, No correlation = horizontal line. Remember: Correlation ≠ Causation!
Rules, Tips, and Q&A
Essential Rules:

• Always label axes clearly with variable names and units

• Use consistent scales on both axes

• The line of best fit should minimize distances to all points

• Correlation does not prove causation

• Stronger correlations have points that cluster more tightly around the line

Questions & Answers

Question: How do I know if my line of best fit is correct?

Answer: A good line of best fit should have these characteristics:

  • About half the points are above the line and half are below
  • The line follows the general trend of the data
  • The line minimizes the vertical distances to all points
  • The line extends beyond the data points to show the trend

Remember, there isn't one exact "correct" line, but your line should represent the overall pattern of the data.

Question: What's the difference between interpolation and extrapolation?

Answer: The key differences are:

  • Interpolation: Making predictions within the range of your data (more reliable)
  • Extrapolation: Making predictions outside the range of your data (less reliable)

Example: If your data ranges from 2-16 hours of study, predicting a score for 11 hours (within range) is interpolation. Predicting a score for 20 hours (outside range) is extrapolation and less reliable.

Question: Why is it important to remember that correlation doesn't imply causation?

Answer: This is crucial because:

  1. Two variables might be correlated due to a third factor affecting both
  2. Correlation could be coincidental
  3. One variable doesn't necessarily cause changes in the other

Example: Ice cream sales and drowning incidents might be positively correlated, but ice cream doesn't cause drowning. Instead, both are related to hot weather. Always consider alternative explanations for correlations.