Pearson Correlation Coefficient – Guide & Examples

30.11.22 Correlation Time to read: 5min

How do you like this article?

0 Reviews


Pearson-Correlation-Coefficient-Definition

The best and most common method for measuring a linear correlation is calculating the Pearson correlation coefficient. This approach in statistics provides a significant formula in the field of experimental research. This article will account for the various types, how to calculate them, and the significant test. Furthermore, this guide will provide an in-depth understanding of using this method and give respective examples for visualization and clarity.

Pearson Correlation Coefficient – In a Nutshell

  • The Pearson correlation coefficient is an expressive statistic that measures the strength between diverse variables and how they relate.
  • In simpler terms, the Pearson correlation coefficient recaps the features of a dataset.
  • This article gives insight into the various types of Pearson correlation coefficients
  • It also outlines the steps of how to calculate the Pearson correlation coefficient.

Definition: Pearson correlation coefficient

The Pearson correlation coefficient is an expressive statistic that measures the strength between diverse variables and how they relate. In simpler terms, it recaps the features of a dataset. The Pearson correlation coefficient is also known as:

  • Bivariate correlation
  • The correlation coefficient
  • Pearson’s r
  • (PPMCC) Pearson product-moment correlation coefficient

Its formula is as follows:

Conduct a final format revision for a print of your thesis
Before submitting your thesis for print, check on your formatting with our 3D preview function for a final time. It provides an exact virtual visualization of what the printed version will resemble, making sure the physical version meets your expectations.

Types of Pearson correlation coefficients

The Pearson correlation coefficient is a digit between -1 and 1 that calculates the strength and course of the affiliation between two variables. The table below provides a vivid explanation.

Pearson correlation coefficient (r) Correlation type Interpretation Example
Between 0 and 1 Positive correlation A change in one variable triggers a change in the other in the same direction Height and weight of a person:
The taller a person gets, the heavier they weigh
0 No correlation The variables are not affiliated Cost of shoes and width of cars:
The price of shoes will not influence the width of your cars and vice versa.
Between 0 and -1 Negative correlation A change in one variable triggers a change in the other in the opposite direction Elevation and temperature:
The higher you go, the lower the temperature

Positive correlation

Pearson-correlation-coefficient-positive

Negative correlation

Pearson-correlation-coefficient-negative

No correlation

Pearson-correlation-coefficient-no-correlation

The effect size (relationship strength) interpretation may vary depending on the discipline. However, the following standard rules still apply.

Pearson correlation coefficient (r) value Strength Direction
Higher than .5 Strong Positive
.3 to .5 Moderate Positive
0 to .3 Weak Positive
0 None None
0 to -.3 Weak Negative
-.3 to -.5 Moderate Negative
Below -.5 Strong Negative3

Besides descriptive statistics, the Pearson correlation coefficient can also be used for testing statistical hypotheses because it is an inferential statistic.

Visualizing the Pearson correlation coefficient

You can visualize Pearson’s r as a measure of how close the observations in experimental research are to a line of best fit. Also, it tells you whether the slope of the line of best fit is positive or negative.

Example

The line of best fit is when r is 1 or -1.

Pearson correlation coefficient vs. Spearman’s rank correlation coefficients

Besides the Pearson correlation coefficient, another popular correlation coefficient is Spearman’s rank correlation coefficient.

It is a go-to method when at least one of the following characteristics is true:

  • The variables are ordinal
  • The variables are not distributed normally
  • The data features outliers
  • The variables have a non-linear or monotone relationship

Calculating the Pearson correlation coefficient

While the formula is easy to use, you can apply software tools like R or Excel to help you calculate the Pearson correlation coefficient.

Example

You are researching the relationship between the weight and length of newborn babies and have data from 10 babies born within the last four weeks at a local clinic. After translating the imperial dimensions to metrics, you enter the data in this table:

Weight (kg) Length (cm)
3.33 52.9
3.63 53.2
3.02 49.7
3.82 48.4
3.59 54.9
3.42 54.2
2.87 43.7
3.36 54.4
3.03 47.2
3.46 45.2

Step 1: Calculating the sums of x and y

The first step is renaming the variables from weight and length to and . Next, add up all the  and values as indicated in the formula by the symbol (take the sum of).

Example:

Weight =

Length =

Therefore:




Step 2: Calculating x2 and y2 and the respective sums

Next, create two new columns containing the squares of the values in  and . Then, calculate the sums of the new columns.

Example

3.33 52.9 11.09 2798.4
3.63 53.2 13.18 2819.6
3.02 49.7 9.12 2470.1
3.82 48.4 14.59 2342.6
3.59 54.9 12.89 3014
3.42 54.2 11.7 2937.6
2.87 43.7 8.24 1909.7
3.36 54.4 11.29 2959.4
3.03 47.2 9.18 2227.8
3.46 45.2 11.97 2043

 

Calculations:





Step 3: Calculating the cross product and its sum

Finally, create a column with the products of x and y and name it the cross product. Then, calculate the sum of the new column.

Example

3.33 52.9 11.09 2798.4 176.16
3.63 53.2 13.18 2819.6 193.12
3.02 49.7 9.12 2470.1 150.1
3.82 48.4 14.59 2342.6 184.9
3.59 54.9 12.89 3014 197.1
3.42 54.2 11.7 2937.6 185.4
2.87 43.7 8.24 1909.7 125.4
3.36 54.4 11.29 2959.4 182.8
3.03 47.2 9.18 2227.8 143
3.46 45.2 11.97 2043 156.4

 

Calculations:


Step 4: Calculating Pearson correlation coefficient r

Use the formula above and the figures for each section to calculate the Pearson correlation coefficient.

Example






 

Insert the results into the formula of r:

Pearson correlation coefficient: Significance test

You can use the Pearson correlation coefficient to test if the relationship between two variables is significant.

For instance, if the Pearson correlation coefficient of the sample is r, then it is an estimate of rho, which is the correlation of the population. Therefore, determining the r and n (sample size) can help deduce if the rho is meaningfully different from 0.

  • Null hypothesis
  • Alternative hypothesis

You can use tools like the R or Strata software to test the hypothesis. Alternatively, you can follow these three steps:

Step 1: Calculating the t value

Calculating the t value is as easy as the following formula:

Example

The weight and length of 10 babies have a Pearson correlation coefficient of 0.51. So, and

Therefore, using the formula above,

Step 2: Finding the critical value of t

You can find the t in a table that will need the following facts:

  • The degree of freedom (df) (calculated using the formula: ()
  • Significance level α: Which is usually 0.05
  • One-tailed or two-tailed: Two-tailed is the right option for correlations

Example

For a two-tailed significance test at and , the critical value is 1.86.

Step 3: Comparing the t value to the critical value

Then, determine if the absolute t value is greater than the critical value. Note that “absolute” implies that you should disregard the minus sign if the t value is negative.

Example

And critical value

Therefore: the t value is less than the critical value of

Step 4: Deciding whether to reject the null hypothesis

  • If the t value is larger than , the relationship is significant (p ˂ α). This information allows you to reject the null hypothesis and support the alternative hypothesis.
  • If the t value is less than , the relationship is insignificant (p ˃ α). This does not allow you to reject the null hypothesis or support the alternative hypothesis.

Example

In our previous example, the correlation between newborns’ height and weight, the t value, is less than the . Therefore, we do not reject the null hypothesis that the coefficient of the population of p is 0.(6)

Pearson correlation coefficient in a thesis

The Pearson correlation coefficient usually comes up in the results section of an academic paper or thesis. Apply the rules below if you want to report in APA style:

  • No need for a reference
  • Italicize r
  • Include a leading zero before the decimal point
  • Provide two significant digits after the decimal point
Print Your Thesis Now
BachelorPrint as an online printing service offers
numerous advantages for Canadian students:
  • ✓ 3D live preview of your configuration
  • ✓ Free express delivery for every order
  • ✓ High-quality bindings with individual embossing

to printing services

FAQs

It is calculated using the formula below:

You should use this method in inferential statistics or quantitative statistics. You can also use it to test correlations between two variants.

It helps test the relationship between two variants. It also helps determine the course of change if either variant is altered.

It isn’t easy to calculate. However, if you master the formula, you should be okay.

From

Salome Stolle

How do you like this article?

0 Reviews
 
About the author

Salome Stolle works as the brand manager for the English market at BachelorPrint. Throughout her 12-year residency in Denmark, she completed her International baccalaureate and Master’s in Culture, Communication, and Globalization with a specialization in media and market consumption. Through this experience, she has gained advanced competencies in academic writing and a high proficiency level in the English language. With her passion for writing, she does not only deliver well-written content but also strives to adjust to the students’ demands.

Show all articles from this author
About
BachelorPrint | The #1 Online Printing Service
For Canadian Students

As a leading expert in the printing and binding of academic papers, theses, and dissertations, the BachelorPrint online printing service furnishes a diverse range of bindings and configuration options. BachelorPrint’s goal is to elicit a proud smile on every single Canadian student’s face, as they hold their ideal binding in their hands.<br/>Moreover, BachelorPrint provides numerous educational articles on insightful subjects related to academic writing in their Study Guide, assisting students during the process of writing their thesis or dissertation.


Cite This Article

Bibliography

Stolle, S. (2022, November 30). Pearson Correlation Coefficient – Guide & Examples. BachelorPrint. https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/ (retrieved 21/12/2024)

In-text citation

Parenthetical
(Stolle , 2022)
Narrative
Stolle (2022)

Bibliography

Stolle, Salome. 2022. "Pearson Correlation Coefficient – Guide & Examples." BachelorPrint, Retrieved November 30, 2022. https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/.

In-text citation

Parenthetical
(Stolle 2022)

Bibliography

Salome Stolle, "Pearson Correlation Coefficient – Guide & Examples," BachelorPrint, November 30, 2022, https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/ (retrieved December 21, 2024).

Footnotes

Short note
Stolle, "Shortened title."

Bibliography

Stolle, Salome: Pearson Correlation Coefficient – Guide & Examples, in: BachelorPrint, 30/11/2022, [online] https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/ (retrieved 21/12/2024).

Footnotes

Full note
Stolle, Salome: Pearson Correlation Coefficient – Guide & Examples, in: BachelorPrint, 30/11/2022, [online] https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/ (retrieved 21/12/2024).
Direct quote
Stolle, 2022.
Indirect quote
Stolle, 2022.

Bibliography

Stolle, Salome (2022): Pearson Correlation Coefficient – Guide & Examples, in: BachelorPrint, [online] https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/ (retrieved 21/12/2024).

In-text citation

Direct quote
(Stolle, 2022)
Indirect quote
(Stolle, 2022)
Narrative
Stolle (2022)

Bibliography

Stolle, Salome. "Pearson Correlation Coefficient – Guide & Examples." BachelorPrint, 30/11/2022, https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/ (retrieved 21/12/2024).

In-text citation

Parenthetical
(Stolle)
Narrative
Stolle

Bibliography

Number. Stolle S. Pearson Correlation Coefficient – Guide & Examples [Internet]. BachelorPrint. 2022 [cited 21/12/2024]. Available from: https://www.bachelorprint.com/ca/statistics/pearson-correlation-coefficient/


New articles