Statistics

Scatterplots and correlation

Reading direction, form and strength; what weak, moderate and strong correlation look like; r, r² and the least-squares line.

Cheat sheet · Intro stats · AP Stats · 6 sections

1What each strength looks like

Strong positive
r = 0.92
Moderate positive
r = 0.65
Weak positive
r = 0.38
Little or none
r = 0.05
Weak negative
r = -0.38
Moderate negative
r = -0.65
Strong negative
r = -0.92
Every plot has 30 points, and its correlation is exactly the r written under it.

2Strength guide for r

|r|StrengthExample
0.8 to 1Strongr = 0.92: points lie close to a line
0.5 to 0.8Moderater = −0.65: a clear trend with real scatter
0.3 to 0.5Weakr = 0.38: a trend you can just make out
Under 0.3Little or noner = 0.05: no linear trend

A guideline: fields differ (physics expects r near 1; psychology calls 0.5 large). The sign gives the direction: + uphill, − downhill.

3Correlation

Correlation coefficient

Always between −1 and 1; it has no units.

Example: 1, 2, 3, 4, 5 and : 2, 4, 5, 4, 5 give : moderate positive

Computing form

ExampleSame data:

Coefficient of determination

The fraction of the variation in y explained by the line.

Example: 60% of the variation in y is explained by x

Unchanged by units

Changing units, or swapping x and y, does not change r.

ExampleHeight in cm or inches against weight: the same r

4The least-squares line

Line

Example

Slope

Example

Intercept

The line always passes through .

Example

Interpreting the slope

For each 1-unit increase in x, the predicted y changes by b.

ExampleEach extra hour of study predicts 0.6 more points

Predicting

Plug x into the line. Do not extrapolate far outside the x values you have.

Example:

5Where r misleads

Curved: r = 0.05
Without the outlier: r = 0.10
With one outlier: r = 0.60
r measures only straight-line association, and a single outlier can create (or destroy) it. Always plot the data.

6Describing a scatterplot

Give direction (positive or negative), form (linear or curved), strength (weak, moderate or strong) and unusual features (outliers, clusters), in context. For example: there is a moderate, positive, linear association between hours studied and score (r = 0.77), with no outliers.

Correlation is not causation: a strong r between ice cream sales and drownings comes from a lurking variable, summer heat.

Related