Skip to main content
Back

Scatter Diagrams and Correlation: Study Notes for Statistics Students

Study Guide - Smart Notes

Tailored notes based on your materials, expanded with key definitions, examples, and context.

Scatter Diagrams and Correlation

Introduction

This section explores the graphical and numerical methods for describing the relationship between two quantitative variables. The focus is on scatter diagrams, the linear correlation coefficient, and the distinction between correlation and causation.

Response and Explanatory Variables

Definitions

  • Response variable: The variable you want to predict. Also called the dependent variable.

  • Explanatory (or predictor) variable: The variable used to predict the response variable. Also called the independent variable.

In a statistical relationship, the response variable's value is explained by the value of the explanatory variable.

Scatter Diagrams

Definition and Construction

  • Scatter diagram: A graph showing the relation between two quantitative variables measured on the same individual.

  • Each data point represents a pair of observations: .

  • Procedure:

    1. Plot each data point on the diagram.

    2. Response variable (y): vertical axis.

    3. Explanatory variable (x): horizontal axis.

Example

A golf pro investigates the relationship between club-head speed (mph) and driving distance (yards):

Club-head Speed (mph)

Distance (yards)

100

257

102

264

103

274

101

266

105

277

106

263

99

258

103

275

The scatter diagram shows that as club-head speed increases, the distance the ball travels also increases.

Types of Relationships in Scatter Diagrams

  • Linear relation: Points form a pattern that can be approximated by a straight line.

  • Nonlinear relation: Points form a pattern that is not linear (e.g., curved).

  • No relation: Points are scattered randomly, with no apparent pattern.

Positive vs Negative Association

  • Positive association: As one variable increases, the other also increases.

  • Negative association: As one variable increases, the other decreases.

Linear Functions

Definition

  • A linear function is given by the formula .

  • The graph of a linear function is a straight line.

  • a: slope of the line; b: y-intercept.

Linear Correlation Coefficient

Definition and Purpose

  • The linear correlation coefficient (Pearson correlation coefficient) measures the strength and direction of the linear relationship between two quantitative variables.

  • Population correlation coefficient: (rho).

  • Sample correlation coefficient: .

Formulas

  • Sample covariance between and :

  • Sample linear correlation coefficient: where and are the sample standard deviations of and .

  • Expanded formula:

Properties of the Linear Correlation Coefficient

  • If , perfect positive linear relation.

  • If , perfect negative linear relation.

  • If is close to 0, little or no evidence of a linear relation (but possibly a nonlinear relation).

  • Not resistant: Outliers can greatly affect .

  • Unitless: The units of and do not affect .

Interpreting Scatter Plots and Correlation Coefficient

  • Perfect positive:

  • Strong positive: close to +1

  • Moderate positive: moderately positive

  • Perfect negative:

  • Strong negative: close to -1

  • Moderate negative: moderately negative

  • No linear relation:

Testing for a Linear Relation

Steps

  1. Determine the absolute value of the correlation coefficient.

  2. Find the critical value for the given sample size (see Table II below).

  3. If is greater than the critical value, a linear relation exists; otherwise, no linear relation exists.

Table: Critical Values for Correlation Coefficient

n

Critical Value

3

0.997

4

0.990

5

0.878

6

0.811

7

0.754

8

0.707

9

0.666

10

0.632

11

0.602

12

0.576

13

0.553

14

0.532

Worked Example: Correlation between BMI and Blood Pressure

Data Table

x = Body Mass Index

y = Systolic Blood Pressure

18.4

120

20.1

110

22.4

120

25.9

135

26.5

140

28.9

115

30.1

150

32.9

165

33.0

160

34.7

180

Calculation Steps

  • Compute variance of :

  • Compute variance of :

  • Compute covariance:

  • Compute :

  • Compare to critical value for :

  • Since , there is a positive linear relation between BMI and SBP.

Conclusion: BMI and SBP are positively correlated in this sample.

Outliers and Correlation

Effect of Outliers

  • Outliers can distort the value of the correlation coefficient, making it appear weaker or stronger than it truly is.

  • Always inspect scatter plots for outliers before interpreting .

Correlation vs Causation

Key Distinctions

  • Correlation measures association, not causation.

  • High correlation may result from both variables increasing over time (e.g., time series data).

  • Causality can only be claimed when data are collected through a designed experiment, not from observational data.

Example

A correlation of 0.940 between the percentage of females with bachelor's degrees and the percentage of births to unmarried mothers does not imply that one causes the other; both may be increasing over time independently.

Practice and Application

Exercises

  • Given a scatterplot, estimate whether the correlation is positive, negative, or near zero.

  • Calculate for a given data set.

  • Consider how changes in units or outliers affect the correlation coefficient.

Summary Table: Types of Relationships in Scatter Diagrams

Type

Description

Correlation Coefficient

Perfect positive linear

All points lie on a straight line with positive slope

Strong positive linear

Points closely follow a line with positive slope

close to +1

Moderate positive linear

Points loosely follow a line with positive slope

moderately positive

Perfect negative linear

All points lie on a straight line with negative slope

Strong negative linear

Points closely follow a line with negative slope

close to -1

Moderate negative linear

Points loosely follow a line with negative slope

moderately negative

No linear relation

Points scattered randomly

Nonlinear relation

Points follow a curved pattern

Additional info: These notes expand on the original lecture slides by providing full definitions, formulas, and context for the interpretation and calculation of the linear correlation coefficient, as well as the distinction between correlation and causation. All tables have been recreated in HTML for clarity and completeness.

Pearson Logo

Study Prep