Using the Formula

This page includes Step-by-Step instructions to calculate a correlation coefficient by hand.


In order to find Pearson’s Sample Correlation Coefficient, r, “by-hand” we need a formula.  

Click here for formula explanation.


 

Preliminary Step  

 

Variable Sample Mean Sample Standard Deviation
x
(temperature)
   
y  (water
consumption)
   

 Click here for solution.

Procedure  

  1. Either print the table above or make your own copy on a sheet of paper.
  2. Enter the x’s into column C1 as in the table above.
  3. Enter the y’s into column C2 as in the table above.
  4. For each row in column C3, take each individual x value and subtract the mean of the x’s.
  5. For each row in column C4, take the answer from that row of C3 and divide the answer by the standard deviation of the x’s.
  6. For each row in column C5, take each individual y value and subtract the mean of the y’s.
  7. For each row in column C6, take the answer from that row of C5 and divide the answer by the standard deviation of the y’s.
  8. For each row in column C7, multiply the answers for that row of column C4 and C6.
  1. Find the sum (i.e. total) of column C7.
  2. Correlation Coefficient, r = sum of column C7 divided by (n-1), where n is the number of pairs of data. Here n=7 pairs.
 

Compare Formula to Using the Table.


Learn the Procedure for calculating correlation coefficients

Correlation Menu  Dictionary

STATS @ MTSU