MS Excel will compute a Pearson r

advertisement
MS Excel will compute a Pearson r.
1. Enter your data into columns A and B; i.e., x values in A, y values in B. Let’s
assume you have 20 paired values, meaning 2 columns, 20 rows.
2. Go to any free cell on the worksheet and type:
=pearson(a1:a20,b1:b20)
The correlation coefficient will appear in that cell.
Note: This assumes you have 20 rows. If you have 30 rows, the command will look like
this:
=pearson(a1:a30,b1:b30)
Excel will also draw the scatter plot:
1.
2.
3.
4.
5.
Go to Insert/Chart and pick XY Scatter, then Next.
Under data range, type “=a1:a20,b1:b20” (for this example).
Under “Series in” pick columns.
Hit Next to label the axes and whatnot
Hit Finish
A sample is attached. See the link “Pearson r/Excel Example”.
Download