Excel Correlation & Regression Task
There is some repeat here from a previous task.
Note: You may want to read this file in VIEW – Normal. Page breaks were not adjusted on this file, so if you print this file it may not look good.
Enter the following data into Excel. However, before you type anything remember that cells can be copied and pasted from Word to Excel. Also, do you remember the easy (and safe) way to highlight this entire table? Ans: move insertion bar anyplace within the table, hold down option key and double click.
Height / Weight50 / 155
60 / 190
74 / 250
71 / 200
55 / 149
58 / 180
65 / 185
77 / 220
72 / 195
65 / 180
66 / 178
68 / 200
• Correlation: Use Excel Data Analysis… (Correlation) feature to calculate Pearson's correlation coefficient. Bring the Excel output back to Word and make it into a Table (like below). Type-in the title of the table in MS-Word. Review: Does the output have labels? Are there a reasonable number of decimals?
Table 1. Pearson’s Correlation for College Men (n=12)
Height / WeightHeight / 1
Weight / 0.84 / 1
In Excel, get the same correlation value using the Insert – Function… feature. Notice under the Insert – Function… statistical category that there are actually two commands to do this: CORREL and PEARSON You should end up with the same r value.
• Another Correlation in Excel: Start with the original height and weight data, and add two more columns of data (pull-ups and jump height). Insert phony data yourself. Use Data Analysis… Correlation for all 4 columns of data. Again, make a Table in Word. Notes: (1) The "1" in the table means that there is a perfect positive correlation between any variable and itself! (2) Although this table could be made using the Pearson Function in Excel, one would have to repeat the process 6 times; thus Data Analysis is much quicker to use.
Table 2. Correlation Matrix for College Men (n=12)
Height / Weight / Pullups / Jump Ht.Height / 1
Weight / 0.84 / 1
Pullups / -0.01 / 0.03 / 1
Jump Ht. / 0.53 / 0.54 / 0.15 / 1
Repeat – make a scatter gram from the original two columns of data (height & weight) and then “clean-up” the chart so the figure looks like below. Bring the Excel Chart over to Word and add a title. See example below.
Figure 1. Scatter gram between the height and weight of Cal Poly kinesiology majors N=12).
* Read *
• Clean-up Excel output for reports
MS-Excel is just a "tool" to help a person write a final report and also to understand numerical data. In most cases a person will use the Excel output to help prepare a final report that is done in MS-Word.
• Make sure that tables and figures in your final report represents what you want it to show. In other words, do not show worthless information and do not include information that you do not understand.
• Make your tables and figures readable. Do not copy and paste Excel output directly to MS-Word. Clean things up!
For example, let’s say that you used Data Analysis… Descriptive Statistics on the height and weight data – remember how much output is generated?
Below is an example of a Table that would appear in a Word document showing the “important” descriptive statistics from the output. Notice that:
• The Data Analysis Excel output was not copied and pasted into a table in Word.
• Only "important" descriptive statistics was included.
• Everything was typed in MS-Word using tabs.
• Decimal tabs were used on all numbers.
Table 1
Descriptive Statistics on Cal Poly Kinesiology Majors (n=12)
______
HeightWeight
(inches)(pounds)
Mean (+ sd) 65.08+2.33 190.16+7.78
Minimum 50 149
Maximum 77 250
Pearson's Correlation
Coefficient (r) .84
______