Scatter Plots Mini Lecture Notes
Scatter Plots: Overview
Scatter plots provide a graphical way to visualize the association between two variables.
When correlations are considered, the explanatory (independent) variable is placed on the x-axis (horizontal axis) and the response (dependent) variable on the y-axis (vertical axis).
Each participant is represented by a point with coordinates corresponding to their scores on the two variables; for example, in the dataset about hazardous drinking behavior and stress levels, stress is the explanatory variable on the x-axis and hazardous drinking is the response variable on the y-axis.
Example data points mentioned in the transcript:
Participant 1: stress = 9, hazardous drinking = 12
Participant 2: stress = 2, hazardous drinking = 4
A total of 81 participants plotted on the scatter plot
Axes, Points, and Interpretation
Center representation: each individual is a dot whose position reflects their scores on the two variables.
The scatter plot is a snapshot of the joint distribution of the two variables.
The main tasks are to visually inspect the plot for patterns and deviations.
Features to Look For in a Scatter Plot
Form: Are there clusters or groupings in the data? Do the points tend to align along a pattern or diagonal? In the example, there are no clear breakaway clusters.
Location with respect to axes: Do most data points lie toward a particular region (e.g., lower-left corner indicates generally low stress and low hazardous drinking)?
Direction (trend): Is there a diagonal pattern suggesting a relationship between the variables?
Strength: How tightly do the points cluster around a pattern or line?
Deviations/outliers: Are there points that deviate substantially from the general pattern?
Scaling effects: The appearance of strength can be affected by how the axes are scaled.
Example Observations from the Transcript
Form: Most data are down toward the lower-left corner (low stress and low hazardous drinking) with no clear cluster formation.
Direction: The data appear to trend upwards along a diagonal, suggesting a positive association.
Scaling effect: It’s noted that changing the x and y axis scales can make strength appear stronger or weaker.
Deviations: Two data points have high hazardous drinking scores but not very high stress, which are deviations from the general pattern.
Visual illusion: A red horizontal line may appear angled due to the plotting, reminding us to verify what is truly horizontal.
Types of Associations
Negative association: a trend from the top-left to the bottom-right of the plot. Higher-than-average values of one variable tend to be associated with lower-than-average values of the other variable.
Positive association: a trend from the bottom-left to the top-right of the plot. Higher-than-average values on one variable tend to be associated with higher-than-average values on the other variable.
Weak strength: Data are broadly scattered around the plot, with a loose directional tendency.
Moderate strength: Data are more tightly clustered around a line.
Strong strength: A clear direction exists and the data are tightly clustered around an imaginary line.
Important note: Strength can be influenced by the scale of the axes; extending the range can make the relationship appear stronger.
Specific Deviations/Outliers Discussed
Deviations to consider:
Two individuals with high hazardous drinking but not correspondingly high stress.
An example of an outlier where one individual smokes many cigarettes but has a relatively high life expectancy compared to others with higher smoking levels and lower life expectancy.
Line of Best Fit (Regression Line)
Scatter plots can be examined further by adding a line of best fit, which imposes a mathematical model on the data to describe direction, strength, form, and deviations.
The line is called the linear regression line or the least squares regression line:
Mathematical description: y = \beta0 + \beta1 x\beta1 = \frac{S{xy}}{S_{xx}}\beta0 = \bar{y} - \beta1 \bar{x}\hat{y} = 13 \quad \text{when} \quad x = 17.\hat{y} = \beta0 + \beta1 x\r
Example: with x = 17, predicted y ≈ 13:
Extensions to multiple predictors are possible and are covered in more advanced coursework.
Note: The transcript includes a stray line, "3,003 psi," which does not pertain to the scatter plot content and can be disregarded in the context of the scatter plot discussion.