Statistics
Textbooks
Boundless Statistics
Estimation and Hypothesis Testing
Hypothesis Testing: Correlations
Statistics Textbooks Boundless Statistics Estimation and Hypothesis Testing Hypothesis Testing: Correlations
Statistics Textbooks Boundless Statistics Estimation and Hypothesis Testing
Statistics Textbooks Boundless Statistics
Statistics Textbooks
Statistics
Concept Version 7
Created by Boundless

Hypothesis Tests with the Pearson Correlation

We test the correlation coefficient to determine whether the linear relationship in the sample data effectively models the relationship in the population.

Learning Objective

  • Use a hypothesis test in order to determine the significance of Pearson's correlation coefficient.


Key Points

    • Pearson's correlation coefficient, $r$, tells us about the strength of the linear relationship between $x$ and $y$ points on a regression plot.
    • The hypothesis test lets us decide whether the value of the population correlation coefficient $\rho$ is "close to 0" or "significantly different from 0" based on the sample correlation coefficient $r$ and the sample size $n$.
    • If the test concludes that the correlation coefficient is significantly different from 0, we say that the correlation coefficient is "significant".
    • If the test concludes that the correlation coefficient is not significantly different from 0 (it is close to 0), we say that correlation coefficient is "not significant".

Term

  • Pearson's correlation coefficient

    a measure of the linear correlation (dependence) between two variables $X$ and $Y$, giving a value between $+1$ and $-1$ inclusive, where 1 is total positive correlation, 0 is no correlation, and $-1$ is negative correlation


Full Text

Testing the Significance of the Correlation Coefficient

Pearson's correlation coefficient, $r$, tells us about the strength of the linear relationship between $x$ and $y$ points on a regression plot. However, the reliability of the linear model also depends on how many observed data points are in the sample. We need to look at both the value of the correlation coefficient $r$ and the sample size $n$, together. We perform a hypothesis test of the "significance of the correlation coefficient" to decide whether the linear relationship in the sample data is strong enough to use to model the relationship in the population.

The hypothesis test lets us decide whether the value of the population correlation coefficient $\rho$ is "close to 0" or "significantly different from 0". We decide this based on the sample correlation coefficient $r$ and the sample size $n$.

If the test concludes that the correlation coefficient is significantly different from 0, we say that the correlation coefficient is "significant."

Conclusion: "There is sufficient evidence to conclude that there is a significant linear relationship between $x$ and $y$ because the correlation coefficient is significantly different from 0."

What the conclusion means: There is a significant linear relationship between $x$ and $y$. We can use the regression line to model the linear relationship between $x$ and $y$ in the population.

If the test concludes that the correlation coefficient is not significantly different from 0 (it is close to 0), we say that correlation coefficient is "not significant. "

Conclusion: "There is insufficient evidence to conclude that there is a significant linear relationship between $x$ and $y$ because the correlation coefficient is not significantly different from 0. "

What the conclusion means: There is not a significant linear relationship between $x$ and $y$. Therefore we can NOT use the regression line to model a linear relationship between $x$ and $y$ in the population.

Performing the Hypothesis Test

Our null hypothesis will be that the correlation coefficient IS NOT significantly different from 0. There IS NOT a significant linear relationship (correlation) between $x$ and $y$ in the population. Our alternative hypothesis will be that the population correlation coefficient IS significantly different from 0. There IS a significant linear relationship (correlation) between $x$ and $y$ in the population.

Using a Table of Critical Values to Make a Decision

The 95% critical values of the sample correlation coefficient table shown in gives us a good idea of whether the computed value of $r$ is significant or not. Compare $r$ to the appropriate critical value in the table. If $r$ is not between the positive and negative critical values, then the correlation coefficient is significant. If $r$ is significant, then we can use the line for prediction.

95% Critical Values of the Sample Correlation Coefficient Table

This table gives us a good idea of whether the computed value of r is significant or not.

As an example, suppose you computed $r=0.801$ using $n=10$ data points. $df = n-2 =10-2 = 8$. The critical values associated with $df=8$ are $\pm 0.632$. If $r$ is less than the negative critical value or $r$ is greater than the positive critical value, then $r$ is significant. Since $r=0.801$ and $0.801 > 0.632$, $r$ is significant and the line may be used for prediction.

Assumptions in Testing the Significance of the Correlation Coefficient

Testing the significance of the correlation coefficient requires that certain assumptions about the data are satisfied. The premise of this test is that the data are a sample of observed points taken from a larger population. We have not examined the entire population because it is not possible or feasible to do so. We are examining the sample to draw a conclusion about whether the linear relationship that we see between $x$ and $y$ in the sample data provides strong enough evidence so that we can conclude that there is a linear relationship between $x$ and $y$ in the population.

The assumptions underlying the test of significance are:

  • There is a linear relationship in the population that models the average value of $y$ for varying values of $x$. In other words, the expected value of $y$ for each particular value lies on a straight line in the population. (We do not know the equation for the line for the population. Our regression line from the sample is our best estimate of this line in the population. )
  • The $y$ values for any particular $x$ value are normally distributed about the line. This implies that there are more $y$ values scattered closer to the line than are scattered farther away. Assumption one above implies that these normal distributions are centered on the line: the means of these normal distributions of $y$ values lie on the line.
  • The standard deviations of the population $y$ values about the line are equal for each value of $x$. In other words, each of these normal distributions of $y$ values has the same shape and spread about the line.
  • The residual errors are mutually independent (no pattern).
[ edit ]
Edit this content
Prev Concept
Determining Sample Size
The F-Test
Next Concept
Subjects
  • Accounting
  • Algebra
  • Art History
  • Biology
  • Business
  • Calculus
  • Chemistry
  • Communications
  • Economics
  • Finance
  • Management
  • Marketing
  • Microbiology
  • Physics
  • Physiology
  • Political Science
  • Psychology
  • Sociology
  • Statistics
  • U.S. History
  • World History
  • Writing

Except where noted, content and user contributions on this site are licensed under CC BY-SA 4.0 with attribution required.