Skip to main content

Section 4.3 The Power of Correlation

Measures of central tendency, variability, and spread summarize a single variable by providing important information about its distribution. Often, more than one variable is collected on each individual. For example, in large health studies of populations, it is common to obtain variables such as age, sex, height, weight, blood pressure, and total cholesterol on each individual. In this section, we consider bivariate data, which consists of two quantitative variables for each individual. Our primary interest is in summarizing such data in a way that preserves the underlying relationship between the two variables.

Subsection 4.3.2 Values of Pearson’s Correlation

Scatter plots that show linear relationships can differ in their slope and in how tightly points cluster around the line. A statistical measure of the strength of the linear relationship between two quantitative variables is the Pearson product-moment correlation coefficient (referred to as Pearson’s correlation or simply the correlation coefficient).
If the relationship between variables is not linear, the correlation coefficient does not adequately represent the strength of the relationship.
  • Symbols: The symbol for Pearson’s correlation in a population is \(\rho\) (rho), and in a sample it is \(r\text{.}\)
  • Range: Pearson’s \(r\) ranges from \(-1\) to \(1\text{.}\)
The values of \(r\) represent specific linear patterns:
  • Perfect Positive Linear Relationship (\(r = 1\)): Indicates a perfect positive linear relationship where all points fall exactly on an upward straight line (Figure 4.3.5).
A scatter plot showing a perfect positive linear relationship, where points fall exactly on a straight line sloping upward.
A scatter plot demonstrating a perfect positive linear correlation. The horizontal axis is labeled "x" and ranges from -3 to 3. The vertical axis is labeled "y" and ranges from -6 to 4. The plot contains a series of light blue data points that fall precisely and exactly on a straight diagonal line moving from the bottom left to the top right. There is no scatter or deviation from this line, meaning that for every unit increase in x, y increases by a perfectly consistent amount. This visual represents a correlation coefficient of exactly r = 1.
Figure 4.3.5. A perfect linear relationship, \(r = 1\text{.}\)
  • Perfect Negative Linear Relationship (\(r = -1\)): Indicates a perfect negative linear relationship where points fall on a downward straight line (Figure 4.3.6).
A scatter plot showing a perfect negative linear relationship, where points fall exactly on a straight line sloping downward.
A scatter plot demonstrating a perfect negative linear correlation. The horizontal axis is labeled "x" and ranges from -3 to 3. The vertical axis is labeled "y" and ranges from -6 to 8. The plot consists of light blue data points that lie perfectly and exactly on a straight diagonal line moving from the top left to the bottom right. There is no scatter or deviation from this line, meaning that for every unit increase in x, y decreases by a perfectly consistent amount. This visual represents a correlation coefficient of exactly r = -1.
Figure 4.3.6. A perfect negative linear relationship, \(r = -1\text{.}\)
  • No Linear Relationship (\(r = 0\)): Indicates no linear relationship between variables \(x\) and \(y\) (Figure 4.3.7).
A scatter plot displaying no apparent linear relationship, where points form a random, scattered cloud.
A scatter plot illustrating a dataset with no linear relationship. The horizontal axis is labeled "x" and ranges from -3 to 3. The vertical axis is labeled "y" and ranges from -3 to 4. The data is plotted using dark blue diamond-shaped points. Instead of following a line, the points are distributed randomly and widely across the entire plotting area. While there are two distinct vertical clusters of points around x = -0.5 and x = 2, the points within these columns are scattered vertically with no clear upward or downward trend. This random, directionless scatter represents a correlation coefficient of approximately r = 0.
Figure 4.3.7. A scatter plot for which \(r = 0\text{.}\)
With real-world data, values of \(r\) are rarely exactly \(-1\text{,}\) \(0\text{,}\) or \(1\text{:}\)
  • The data for spousal ages has an \(r\) of \(0.97\) (Figure 4.3.2), showing a very tight clustering along a line.
  • The data for grip strength and arm strength has an \(r\) of \(0.63\) (Figure 4.3.3), reflecting a moderate positive linear relationship.

Subsection 4.3.3 Core Mathematical Properties of \(r\)

Pearson’s \(r\) obeys three fundamental mathematical rules that dictate how it behaves in any dataset:
  1. Strict Bounds (\(-1\) to \(+1\)): The value of \(r\) always stays between \(-1\) and \(+1\text{.}\) The sign indicates direction (positive or negative), while the absolute magnitude reflects strength.
  2. Symmetry: Correlation works identically in both directions. The correlation of \(x\) with \(y\) is the exact same as \(y\) with \(x\)—measuring weight versus height yields the same value as height versus weight.
  3. Invariance to Scale Changes: Pearson’s \(r\) is completely unaffected by linear transformations (adding, subtracting, multiplying, or dividing by a constant). For instance, the correlation between height and weight remains identical whether height is measured in inches, feet, or meters. Similarly, adding five bonus points to every student’s test score will not alter how those scores correlate with GPA.

Subsection 4.3.4 Interpreting \(r\) in Real-World Contexts

Beyond its mathematical definitions, two practical factors heavily influence how a correlation coefficient should be interpreted in practice:
  1. Explained Variance (\(r^2\)): Squaring the correlation coefficient (\(r^2\)) gives the coefficient of determination, which measures the proportion of variance in one variable that is predictable from the other:
    • High Shared Variance: In the spousal age dataset (\(r = 0.97\)), \(r^2 = 0.94\text{,}\) meaning 94% of the variance in wives’ ages is accounted for by their husbands’ ages.
    • Moderate Shared Variance: For arm and grip strength (\(r = 0.63\)), \(r^2 \approx 0.40\text{,}\) leaving 60% of the variance unexplained by grip strength alone.
  2. Restriction of Range: Truncating or limiting data to a narrow range of values can artificially deflate the calculated correlation.

    Example 4.3.8.

    Across the general high school population, standardized admissions test scores and academic performance share a strong positive correlation. However, if an analysis focuses solely on students admitted to an elite university—where test scores fall within a restricted, highly competitive band—the observed correlation between test scores and college GPA drops significantly, hiding the true strength of the broader relationship.

Subsection 4.3.5 Correlation vs. Causation

When two variables consistently move together, it is natural to assume that one must be driving the other. In everyday thinking, we tend to link strong patterns directly to cause-and-effect relationships: if \(x\) and \(y\) always change together, \(x\) seems like the obvious cause of \(y\text{.}\) However, this instinct can be misleading. A strong correlation between two variables does not mean that a causal relationship exists between them. The primary pitfall in inferring causation from observational data is known as the third-variable problem, which occurs when an unmeasured third factor is actually responsible for the observed connection between the two main variables.
An excellent example comes from a study in Taiwan in the 1970s that found a strong positive correlation between the use of contraception and the number of electric appliances in a person’s house. Of course, using contraception does not induce someone to buy electrical appliances, nor does buying appliances cause people to use contraception. Instead, a third variable—education level (or socioeconomic status)—affects both factors independently.
Does the possibility of a third-variable problem make it impossible to draw causal inferences without doing an experiment? One approach is to simply assume that you do not have a third-variable problem. This approach, although common, is not very satisfactory. However, be aware that the assumption of no third-variable problem may be hidden behind a complex causal model that contains sophisticated and elegant mathematics.
A better, though admittedly more difficult, approach is to find converging evidence, where multiple independent lines of evidence point to the same causal relationship. This was the approach taken to conclude that smoking causes cancer. The analysis included converging evidence from retrospective studies, prospective studies, lab studies with animals, and theoretical understandings of cancer causes.
A second major obstacle in non-experimental data is determining the direction of causality. A correlation between two variables does not indicate which variable is causing which. For example, Reinhart and Rogoff (2010) found a strong correlation between public debt and GDP growth. Although some argued that high public debt slows economic growth, most evidence supports the alternative direction: slow GDP growth increases public debt.

Subsection 4.3.6 Establishing Causation in Experiments

Because non-experimental correlations are vulnerable to the third-variable problem and directionality issues, establishing a clear causal connection often requires a controlled experiment.
Consider a simple experiment where people are chosen at random from a population and assigned randomly to either an experimental group or a control group. To make this concrete, imagine the experimental group receives a drug for insomnia, the control group receives a placebo, and researchers measure how many minutes each person sleeps that night. If the experimental group sleeps significantly longer on average than the control group, does that prove the drug caused the difference?
An obvious obstacle to drawing a causal conclusion is that many unmeasured variables affect sleep: stress levels, genetics, caffeine intake, or sleep quality from the night before. Could differences in these background factors be the real reason one group slept longer?
At first glance, it might seem that random assignment—the process of randomly assigning participants to different groups—eliminates these outside factors. However, random assignment only ensures that differences in unmeasured variables are chance differences—it does not remove them entirely. By pure luck, more subjects in the control group might happen to be under high stress. That stress could prevent them from sleeping, creating a difference between the two groups that has nothing to do with the drug.
This seems like a huge problem: how can you account for variables you never measured?
While researchers cannot measure every individual background factor, they can measure the combined effect of all unmeasured variables. Because everyone within the same group receives the exact same treatment, any differences in sleep duration among people in that same group must be caused by these unmeasured individual differences.
By calculating the overall spread (or variance) of scores within each group, researchers can estimate how much natural noise exists in the data. Inferential statistics uses this background noise to calculate a simple probability: How likely is it that chance alone produced a difference this big between the two groups? If that probability is very low, researchers infer that the treatment had a genuine causal effect rather than a lucky fluke. Because that probability is never strictly zero, total certainty is never possible—but it gives us a reliable way to separate real cause-and-effect from pure chance.

Checkpoint 4.3.9. Correlation and Transformations.

A researcher collects data on 200 employees and calculates the correlation between years of work experience and annual salary. The researcher finds a Pearson’s correlation of \(r = 0.85\text{.}\)
The researcher then converts all salary values from dollars to thousands of dollars and adds 2 years to every employee’s work experience to account for previous unpaid internships. The researcher also restricts the analysis to only employees with 10–15 years of experience and recalculates the correlation for this subgroup.
Which of the following statements best describes what will happen to the correlation coefficient after these transformations?
  • The correlation will remain \(0.85\) because Pearson’s \(r\) is unaffected by linear transformations, and it will remain unchanged in the restricted subgroup because subgroups preserve the original correlation.
  • Restriction of range can artificially deflate the calculated correlation. Limiting the data to only employees with 10–15 years of experience reduces the variability in work experience. How might reduced variability affect the correlation?
  • The correlation will change because converting salary to thousands of dollars is not a linear transformation, and it will remain unchanged in the restricted subgroup.
  • Pearson’s \(r\) is completely unaffected by linear transformations such as multiplying or dividing by a constant.
  • The correlation will remain \(0.85\) because Pearson’s \(r\) is unaffected by linear transformations, but it will decrease in the restricted subgroup due to restriction of range.
  • Correct! Converting salary from dollars to thousands of dollars and adding 2 years to work experience are both linear transformations, so Pearson’s \(r\) remains \(0.85\text{.}\) However, restricting the data to only employees with 10–15 years of experience reduces the variability in work experience, which typically weakens the correlation (restriction of range).
  • The correlation will change because adding 2 years to work experience is not a linear transformation, and it will decrease in the restricted subgroup due to restriction of range.
  • Pearson’s \(r\) is completely unaffected by linear transformations such as adding, subtracting, multiplying, or dividing by a constant.
You have attempted of activities on this page.