Do Those Points
Align?
Explore scatterplots, correlation, and linear regression to discover how data points reveal hidden relationships.
What Is a Scatterplot?
A scatterplot displays the relationship between two quantitative variables. Each point represents one observation: the horizontal axis shows the explanatory variable \( x \), and the vertical axis shows the response variable \( y \).
Describing a Relationship
Why Does Alignment Matter?
When data points align closely along a line, we can model the relationship with a linear equation and predict values we haven't observed. The tighter the alignment, the more reliable our predictions.
The Correlation Coefficient \( r \)
The correlation coefficient \( r \) measures the strength and direction of the linear relationship between two quantitative variables.
Key Properties of \( r \)
Correlation vs. Causation
A strong correlation does not prove that one variable causes changes in the other. Hidden lurking variables or coincidence may explain the association.
The Least-Squares Regression Line
The least-squares regression line (LSRL) is the unique line that minimizes the sum of the squared vertical distances (residuals) from each data point to the line.
Understanding Residuals
A residual is the difference between an observed value and its predicted value from the regression line:
The Coefficient of Determination \( r^2 \)
\( r^2 \) tells us the proportion of variation in \( y \) that is explained by the linear relationship with \( x \).
How to Analyze a Relationship
Example 1: Study Hours vs. Score
A teacher records study hours (\( x \)) and test scores (\( y \)) for 8 students. The data give \( \bar{x} = 5 \), \( s_x = 2 \), \( \bar{y} = 78 \), \( s_y = 10 \), and \( r = 0.92 \). Find the LSRL.
Example 2: Prediction and Residual
Using the LSRL \( \hat{y} = 55 + 4.6x \), predict the score for a student who studied 7 hours. The student actually scored 90. Find the residual.
Example 3: Interpreting \( r^2 \)
Since \( r = 0.92 \), we compute \( r^2 = (0.92)^2 = 0.8464 \).
The remaining 15.36% is due to other factors not captured by study hours alone.
Common Mistakes
Summary Table
| Concept | Symbol | What It Tells You |
|---|---|---|
| Correlation | \( r \) | Strength and direction of linear association |
| Coefficient of Determination | \( r^2 \) | % of variation in \( y \) explained by \( x \) |
| Slope | \( b \) | Predicted change in \( y \) per 1-unit increase in \( x \) |
| Intercept | \( a \) | Predicted \( y \) when \( x = 0 \) |
| Residual | \( y - \hat{y} \) | How far an observed value is from the prediction |
| LSRL | \( \hat{y} = a + bx \) | Best-fit line minimizing squared residuals |
Question 1 of 5
A dataset has \( r = -0.85 \). Which of the following best describes the scatterplot?
Question 2 of 5
If the LSRL is \( \hat{y} = 12 + 3.5x \), what is the predicted value when \( x = 4 \)?
Question 3 of 5
A student's actual score is 88 and the regression line predicts 92. What is the residual?
Question 4 of 5
If \( r = 0.60 \), what percentage of the variation in the response variable is explained by the linear model?
Question 5 of 5
Which statement is always true about the least-squares regression line?