SlideShare ist ein Scribd-Unternehmen logo
1 von 211
One-way Analysis of Covariance 
(ANCOVA) 
Conceptual Tutorial
First 
How did we get here?
Consider a similar problem
A pizza café owner wants to know which type of high 
school athlete she should market to.
A pizza café owner wants to know which type of high 
school athlete she should market to. Should she market 
to football, basketball or soccer players?
A pizza café owner wants to know which type of high 
school athlete she should market to. Should she market 
to football, basketball or soccer players? 
So she measures the ounces of pizza eaten by 12 football, 
12 basketball, and 12 soccer players in one sitting.
Here are the raw data: 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
The owner wondered how much these athletes like pizza 
to begin with and how that might affect the results.
The owner wondered how much these athletes like pizza 
to begin with and how that might affect the results. She 
surveyed them prior to their eating the pizza.
The Survey 
On a scale of 1 to 10 how 
much do you like pizza? 
1 2 3 4 5 6 7 8 9 10
Here were the results: 
Football Basketball Soccer 
7.0 3.0 7.5 
5.0 8.0 4.5 
3.5 4.5 3.5 
9.0 9.5 6.0 
7.0 6.5 6.0 
8.0 7.0 4.5 
6.5 7.5 6.0 
7.5 9.0 1.5 
2.5 8.5 6.5 
9.0 4.0 5.0 
8.0 7.5 5.5 
5.0 8.0 4.0
Based on this information, let’s determine how we got 
here.
Here is the problem again: 
A pizza café owner wants to know which type of 
high school athlete she should market to, by 
comparing how many ounces of pizza are 
consumed across all three athlete groups. 
She will control for pizza preference.
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference.
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This: 
Inferential or Descriptive
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This: 
Inferential or Descriptive
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This: 
Inferential or Descriptive 
Based on the data set of 36 athletes, this is a 
sample from which the owner would like to make 
generalizations about potential athlete customers.
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This: 
Inferential or Descriptive 
Based on the data set of 36 athletes, this is a 
sample from which the owner would like to make 
generalizations about potential athlete customers.
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This Question of: 
Relationship or Difference
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This Question of: 
Relationship or Difference 
Because the owner wants to compare groups differences, 
we are dealing with DIFFERENCE.
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is This Question of: 
Relationship or Difference 
Because the owner wants to compare groups differences, 
we are dealing with DIFFERENCE.
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is The Distribution: 
Normal or Not Normal
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is The Distribution: 
Normal or Not Normal 
After graphing each 
column we find that the 
distributions are mostly 
normal. 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is The Distribution: 
Normal or Not Normal 
After graphing each 
column we find that the 
distributions are mostly 
normal. 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Are the Data: 
Scaled? 
(ratio/interval/ordinal) 
Categorical? 
(ordinal) 
or
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Are the Data: 
Scaled? 
(ratio/interval/ordinal) 
Categorical? 
(ordinal) 
or 
The data is interval (ounces of 
Pizza) 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Are the Data: 
Scaled? 
(ratio/interval/ordinal) 
Categorical? 
(ordinal) 
or 
The data is interval (ounces of 
Pizza) 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal 
Scaled Categorical
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 DV or 2 or more DV
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 DV or 2 or more DV
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 DV or 2 or more DV
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal 
Scaled Categorical 
1 DV 2 or more DV
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 IV or 2 or more IVs 
[Type of Athlete is the only Independent Variable (IV)]
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 IV or 2 or more IVs 
[Type of Athlete is the only Independent Variable (IV)]
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 IV or 2 or more IVs 
[Type of Athlete is the only Independent Variable (IV)]
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal 
Scaled Categorical 
1 DV 2 or more DV 
1 IV 2 or more IV
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 IV Level 
2 or more IV 
Levels or
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 IV Level 
2 or more IV 
Levels or
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is there: 
1 IV Level 
2 or more IV 
Levels or
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal 
Scaled Categorical 
1 DV 
2 or more 
DV 
1 IV 2 or more IV 
2 or more IV 
Levels 
1 IV Level
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Are the Samples: 
Repeated or Independent
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Are the Samples: 
Repeated or Independent 
No individual is in more than one group
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Are the Samples: 
Repeated or Independent 
No individual is in more than one group
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal 
Scaled Categorical 
1 DV 2 or more DV 
1 IV 2 or more IV 
2 or more IV 
Levels 
1 IV Level 
Repeated Independent
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is There: 
A Covariate or Not a Covariate
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is There: 
A Covariate or Not a Covariate
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Is There: 
A Covariate or Not a Covariate
The Problem: A pizza café owner wants to know which type of high school athlete she 
should market to, by comparing how many ounces of pizza are consumed across all three 
athlete groups. She will control for pizza preference. 
Inferential Descriptive 
Descriptive Inferential 
Normal Not Normal 
Scaled Categorical 
1 DV 2 or more DV 
1 IV 2 or more IV 
1 IV Level 2 or more IV Levels 
Repeated Independent 
A Covariate Not a Covariate
Now that we know how we got here, let’s consider what 
Analysis of Covariance is.
Now that we know how we got here, let’s consider what 
Analysis of Covariance is. 
First, . . . what is covariance?
Now that we know how we got here, let’s consider what 
Analysis of Covariance is. 
First, . . . what is covariance? 
As you know, variance is a statistic that helps you 
determine how much the data in a distribution varies.
Now that we know how we got here, let’s consider what 
Analysis of Covariance is. 
First, . . . what is covariance? 
As you know, variance is a statistic that helps you 
determine how much the data in a distribution varies. 
5 6 7 
Number of 
Pizza Slices 
eaten by 
Basketball 
Players 
Not much 
variance
Now that we know how we got here, let’s consider what 
Analysis of Covariance is. 
First, . . . what is covariance? 
As you know, variance is a statistic that helps you 
determine how much the data in a distribution varies. 
5 6 7 
Number of 
Pizza Slices 
eaten by 
Basketball 
Players 
Not much 
variance 
Number of 
Pizza Slices 
eaten by 
Soccer Players 
2 3 4 5 6 7 8 9 10 
A lot of 
variance
Covariance is a statistic that helps us determine how 
much two distributions that have some relationship 
covary.
Let’s imagine that students take a math test and their 
ordered scores look like this.
Let’s imagine that students take a math test and their 
ordered scores look like this. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc
Let’s imagine that students take a math test and their 
ordered scores look like this. Then let’s imagine they take 
a math anxiety survey. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc
Let’s imagine that students take a math test and their 
ordered scores look like this. Then let’s imagine they take 
a math anxiety survey. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
How much do they covary? 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
Bambi has the highest Math Test Score and the highest Math 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Anxiety Score 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
Belle has the 2nd highest Math Test Score and the 2nd highest 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Score 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
Billy has the 3rd highest Math Test Score and the 3rd highest Math 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Anxiety Score 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
Boston has the 4th highest Math Test Score and the 4th highest 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Score 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
Bryne has the 5th highest Math Test Score and the 5th highest 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Score 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
Bubba has the 6th highest Math Test Score and the 6th highest 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Score 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
These two data sets perfectly covary. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
These two data sets perfectly covary. 
This means as one changes the other changes. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc.
These two data sets perfectly covary. 
This means as one changes the other changes. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc. 
Either in the same 
direction
These two data sets perfectly covary. 
This means as one changes the other changes. 
Student Test Scores 
Bambi 98 
Belle 92 
Billy 84 
Boston 77 
Bryne 73 
Bubba 68 
Etc 
Math Anxiety Scores 
6 
5 
4 
4 
3 
2 
Etc. 
Or opposite 
directions 
2 
3 
5 
6
Covariance is a statistic that describes that relationship.
Covariance is a statistic that describes that relationship. 
The larger the covariance statistic (either positive or 
negative), the more the two samples covary.
Covariance is a statistic that describes that relationship. 
The larger the covariance statistic (either positive or 
negative), the more the two samples covary. 
Let’s demonstrate how to calculate covariance by hand.
Covariance is a statistic that describes that relationship. 
The larger the covariance statistic (either positive or 
negative), the more the two samples covary. 
Let’s demonstrate how to calculate covariance by hand. 
(Although most statistical software can do it for you automatically.)
Here is the data set 
Student 
X i Yi 
Test 
Scores 
Math Anxiety 
Scores 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2
Here is the sum of each column: 
Student 
i X i Y 
Test 
Scores 
Math Anxiety 
Scores 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24
And the mean: 
Student 
i X i Y 
Test 
Scores 
Math Anxiety 
Scores 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
Remember – Covariance can only be computed between two or more variables 
(e.g., test questions, test scores, ect.) with scores across each variable for each 
Student 
person. 
i X i Y 
Test 
Scores 
Math Anxiety 
Scores 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
Here is the formula for covariance: 
 i X  i Y  
XY 
  
X Y 
N 
 
   

With an explanation for each value: 
 i X  i Y  
XY 
  
X Y 
N 
 
   

 i X  i Y  
XY 
  
X Y 
N 
 
   

    
i X i  
Y Anxiety 
Scores 
XY 
X Y 
N 
 
   
 
Test 
Scores
 i X  i Y  
XY 
  
X Y 
N 
 
   

    
i X i  
Y Each Test 
Scores 
XY 
X Y 
N 
 
   

 i X  i Y  
XY 
  
X Y 
N 
 
   

    
i X i  
Y Or in this case is 
the mean for Test 
Scores (82) 
XY 
X Y 
N 
 
   

 i X  i Y  
XY 
  
X Y 
N 
 
   

    
i X i  
Y Each 
Anxiety 
Score 
XY 
X Y 
N 
 
   

 i X  i Y  
XY 
  
X Y 
N 
 
   

    
i X i  
Y Or in this case is 
the mean for 
Anxiety Scores 
(24) 
XY 
X Y 
N 
 
   

Let the Covariance Calculations Begin!
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
98
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
98 - 82
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16 
92 - 82
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16 
10 
84 - 82
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16 
10 
2 
77 - 82
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16 
10 
2 
-5 
73 - 82
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16 
10 
2 
-5 
-9 
68 - 82
Deviation between each 
math score and the mean. 
 X i   X  
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4 
16 
10 
2 
-5 
-9 
-14
i X i Y   i X X   
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X   
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
  Yi  Y
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
5
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
5 - 4
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
1
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
1 
6 - 4
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
1 
2 
4 - 4
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
1 
2 
0 
4 - 4
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
1 
2 
0 
0 
3 - 4
Deviation between each Anxiety 
score and its mean. 
i X i Y   i X X     Yi  Y 
i Xi Y  i X X   Student 
Student 
Student 
Student 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
1 
2 
0 
0 
-1 
2 - 4
Student 
Student 
Student 
Student 
XX i i YY i i  X  X   
     Yi   i i X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
product”
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 x 1
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
10 x 2
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
2 x 0
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
-5 x 0
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
-9 x -1
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
-14 x -2
Student 
Student 
Student 
Student 
Multiply the two paired Deviations 
to get what is called “the cross 
product” 
i X i Y   i X X     X i   X Yi Y 
i Xi Y  i X X     Yi  Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
XX i i YY i i  X  X   
     Yi   i i X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4
Here’s the covariance equation again: 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
XX i i YY i i  X  X   
     Yi   i i X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4
Student 
Student 
Student 
Student 
   i X i Y 
XY 
  
i X i Y   i X X    i Y Y     X i   X Yi Y 
XX i i YY i i  X  X   
     Yi   i i X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
X Y 
N 
 
   

 i X  i Y  
XY 
  
X Y 
N 
 
   
 
So far we have calculated a portion 
of the numerator of this equation. 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Now we will sum or add up the 
cross products. 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Now we will sum or add up the 
cross products. 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Now we will sum or add up the 
cross products. 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
Add up
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Now we will sum or add up the 
cross products. 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
73 
Mean 82 4 
Add up
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Now we will sum or add up the 
cross products. 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
73 
Mean 82 4
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Then we divide the result by the 
number of subjects, which in this 
case is (6) 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
73 
Mean 82 4
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Then we divide the result by the 
number of subjects, which in this 
case is (6) 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
73 / 6
 i X  i Y  
XY 
  
X Y 
N 
 
   
 
Then we divide the result by the 
number of subjects, which in this 
case is (6) 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
73 / 6 = 12.2
 i X  i Y  
XY 
  
X Y 
12.2 
N 
 
   
 
Covariance = 12.2 
Student 
Student 
Student 
Student 
i X i Y   i X X    i Y Y     X i   X Yi Y 
X X i i Y Y i i  X  X   
     i i Yi   X X Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
73 / 6 = 12.2
Let’s see what the covariance looks like when the direction 
of the data goes in the opposite direction:
Student 
Student 
BEFORE 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
BEFORE AFTER 
X Student 
Student 
i Y i Student 
Student 
Test 
Scores 
Math 
Anxiety 
Bambi 98 2 
Belle 92 3 
Billy 84 4 
Boston 77 4 
Bryne 73 6 
Bubba 68 5 
Sum 492 24 
Mean 82 4 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
BEFORE AFTER 
X Student 
Student 
i Y i Student 
Student 
Test 
Scores 
Math 
Anxiety 
Bambi 98 2 
Belle 92 3 
Billy 84 4 
Boston 77 4 
Bryne 73 6 
Bubba 68 5 
Sum 492 24 
Mean 82 4 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 
Belle 92 6 
Billy 84 4 
Boston 77 4 
Bryne 73 3 
Bubba 68 2 
Sum 492 24 
Mean 82 4
First we calculate the deviations from the mean: 
Student 
Student 
i X i Y 
Test 
Scores 
Math 
Anxiety 
Bambi 98 2 
Belle 92 3 
Billy 84 4 
Boston 77 4 
Bryne 73 6 
Bubba 68 5 
Sum 492 24 
Mean 82 4
First we calculate the deviations from the mean: 
Student 
Student 
i Xi Y  i X X    i Y Y   
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety 
Bambi 98 2 16 - 2 
Belle 92 3 10 - 1 
Billy 84 4 2 0 
Boston 77 4 - 5 0 
Bryne 73 6 - 9 2 
Bubba 68 5 - 14 1 
Sum 492 24 
Mean 82 4
We now compute the Cross Products 
Student 
Student 
i Xi Y  i X X    i Y Y   
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety 
x = 
x = 
x = 
x = 
x = 
x = 
Bambi 98 2 16 - 2 
Belle 92 3 10 - 1 
Billy 84 4 2 0 
Boston 77 4 - 5 0 
Bryne 73 6 - 9 2 
Bubba 68 5 - 14 1 
Sum 492 24 
Mean 82 4
We now compute the Cross Products 
Student 
Student 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4
We sum the cross products and then divide it by the 
number of students 
Student 
Student 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4
We sum the cross products and then divide it by the 
number of students 
Student 
Student 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
-73 
Mean 82 4
We sum the cross products and then divide it by the 
number of students 
Student 
Student 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4 
-73 / 6
We sum the cross products and then divide it by the 
number of students 
Student 
Student 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4 
-73 / 6 = -12.2
This is the covariance! 
Student 
Student 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4 
-73 / 6 = -12.2
This is the covariance! 
Student 
Student 
Notice that when there is a negative 
relationship between two variables 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4 
-73 / 6 = -12.2
This is the covariance! 
Student 
Student 
Notice that when there is a negative 
relationship between two variables 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4 
-73 / 6 = -12.2
This is the covariance! 
Student 
Student 
Notice that when there is a negative 
relationship between two variables 
i Xi Y  i X X     i Y Y     X i   X Yi Y 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 2 16 - 2 -32 
Belle 92 3 10 - 1 -10 
Billy 84 4 2 0 0 
Boston 77 4 - 5 0 0 
Bryne 73 6 - 9 2 -18 
Bubba 68 5 - 14 1 -14 
Sum 492 24 
Mean 82 4 
-73 / 6 = -12.2 
The covariance is 
negative
On the other hand, when the relationship between two 
variables is positive . . .
On the other hand, when the relationship between two 
variables is positive . . . 
The covariance will be positive.
On the other hand, when the relationship between two 
variables is positive . . . 
The covariance will be positive. 
Student 
Student 
Student 
Student 
i X i Y   X i   X   Yi  Y    X i   X Yi Y 
XX i i YY i i  X  X        Yi   i i X X 
Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
73 / 6 = 12.2
On the other hand, when the relationship between two 
variables is positive . . . 
The covariance will be positive. 
Student 
Student 
Student 
Student 
i X i Y   X i   X   Yi  Y    X i   X Yi Y 
XX i i YY i i  X  X        Yi   i i X X 
Y 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Math 
Anxiety 
Test 
Scores 
Test 
Scores 
Math 
Anxiety 
Bambi 98 5 16 
Belle 92 6 10 
Billy 84 4 2 
Boston 77 4 -5 
Bryne 73 3 -9 
Bubba 68 2 -14 
Sum 492 24 
Mean 82 4 
Bambi 98 5 16 1 
Belle 92 6 10 2 
Billy 84 4 2 0 
Boston 77 4 -5 0 
Bryne 73 3 -9 -1 
Bubba 68 2 -14 -2 
Sum 492 24 
Mean 82 4 
16 
20 
0 
0 
9 
28 
Student 
Student 
Test 
Scores 
Math 
Anxiety 
Test 
Scores 
Math 
Anxiety Cross Products 
Bambi 98 5 16 1 16 
Belle 92 6 10 2 20 
Billy 84 4 2 0 0 
Boston 77 4 -5 0 0 
Bryne 73 3 -9 -1 9 
Bubba 68 2 -14 -2 28 
Sum 492 24 
Mean 82 4 
73 / 6 = 12.2
Why is this important to know?
Why is this important to know? 
Especially in light of the question we are trying to 
answer?
Why is this important to know? 
Especially in light of the question we are trying to 
answer? 
The Problem: A pizza café owner wants to know which 
type of high school athlete she should market to, by 
comparing how many ounces of pizza are consumed 
across all three athlete groups. She will control for pizza 
preference.
Computing covariance helps us- 
The Problem: A pizza café owner wants to know which 
type of high school athlete she should market to, by 
comparing how many ounces of pizza are consumed 
across all three athlete groups. She will control for pizza 
preference.
Computing covariance helps us- 
The Problem: A pizza café owner wants to know which 
type of high school athlete she should market to, by 
comparing how many ounces of pizza are consumed 
across all three athlete groups. She will control for pizza 
preference.
Computing covariance helps us- 
The Problem: A pizza café owner wants to know which 
type of high school athlete she should market to, by 
comparing how many ounces of pizza are consumed 
across all three athlete groups. She will control for pizza 
preference. 
Meaning that we want to know what the difference 
between the three groups would be if we took away all 
of the covariance between pizza preference and amount 
of ounces of pizza eaten.
Computing covariance helps us- 
The Problem: A pizza café owner wants to know which 
type of high school athlete she should market to, by 
comparing how many ounces of pizza are consumed 
across all three athlete groups. She will control for pizza 
preference. 
If we did not take out the covariance, then a bunch of 
soccer players may like pizza not because they are soccer 
players (our research question) but because they just 
LOVE PIZZA (not our research question).
Computing covariance helps us- 
The Problem: A pizza café owner wants to know which 
type of high school athlete she should market to, by 
comparing how many ounces of pizza are consumed 
across all three athlete groups. She will control for pizza 
preference. 
Because their love of pizza is not what we are testing, we 
will control for it by computing covariance and see how 
much of the fact that they are soccer players really 
affects the amount of ounces of pizza they eat.
So, let’s begin by running a One-way ANOVA without 
removing the covariance between pizza preference and 
ounces eaten by athlete type.
Here’s the data 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
Here are the results of the one-way ANOVA for this 
data set: 
Sums of 
Squares df Mean Square F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups 
(error) 1587.4 33 48.1 
Total 1626.3 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
Here are the results of the one-way ANOVA for this 
data set: 
Sums of 
Squares df Mean Square F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups 
(error) 1587.4 33 48.1 
Total 1626.3 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten 
As you will recall, an F-ratio 
1 or lower with any ANOVA 
method is not significant.
Here are the results of the one-way ANOVA for this 
data set: 
Sums of 
Squares df Mean Square F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups 
(error) 1587.4 33 48.1 
Total 1626.3 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten 
As you will recall, an F-ratio 
1 or lower with any ANOVA 
method is not significant.
Then 
After calculating the covariance between pizza 
preference and ounces of pizza eaten in one 
sitting, we find that there is a positive 
relationship.
After calculating the covariance between pizza preference 
and ounces of pizza eaten in one sitting, we find that there 
is a positive relationship. 
Pizza Preference (scale 1-10) 
Football Basketball Soccer 
7.0 3.0 7.5 
5.0 8.0 4.5 
3.5 4.5 3.5 
9.0 9.5 6.0 
7.0 6.5 6.0 
8.0 7.0 4.5 
6.5 7.5 6.0 
7.5 9.0 1.5 
2.5 8.5 6.5 
9.0 4.0 5.0 
8.0 7.5 5.5 
5.0 8.0 4.0 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
After calculating the covariance between pizza preference 
and ounces of pizza eaten in one sitting, we find that there 
is a positive relationship. 
Pizza Preference (scale 1-10) 
Football Basketball Soccer 
7.0 3.0 7.5 
5.0 8.0 4.5 
3.5 4.5 3.5 
9.0 9.5 6.0 
7.0 6.5 6.0 
8.0 7.0 4.5 
6.5 7.5 6.0 
7.5 9.0 1.5 
2.5 8.5 6.5 
9.0 4.0 5.0 
8.0 7.5 5.5 
5.0 8.0 4.0 
Football Players Basketball Players Soccer Players 
29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 
24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 
14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 
27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 
27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 
28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 
27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 
32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 
13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 
35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 
32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 
17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten 
Covariance = 
12.1
After running the Analysis of Covariance on the data and 
partialling out pizza reference, here is the resulting ANOVA 
table:
After running the Analysis of Covariance on the data and 
partialling out pizza reference, here is the resulting ANOVA 
table: 
SS df MS F 
Adjusted means (BG) 74.5 2 37.2 3.8 
Adjusted error (WG) 314.1 32 9.8 
Adjusted total 388.6 34
After running the Analysis of Covariance on the data and 
partialling out pizza reference, here is the resulting ANOVA 
table: 
Adjusted means – after we took out 
the covariance between the two 
variables: Type of Athlete and Pizza 
Preference (the covariate) 
SS df MS F 
Adjusted means (BG) 74.5 2 37.2 3.8 
Adjusted error (WG) 314.1 32 9.8 
Adjusted total 388.6 34
After running the Analysis of Covariance on the data and 
partialling out pizza reference, here is the resulting ANOVA 
table: 
SS df MS F 
Adjusted means (BG) 74.5 2 37.2 3.8 
Adjusted error (WG) 314.1 32 9.8 
Adjusted total 388.6 34 
Notice the F-ratio is larger 
making it more likely to be 
significant.
Let’s compare the F-ratio for just the ANOVA
Let’s compare the F-ratio for just the ANOVA 
Before 
SS df MS F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups (error) 1587.4 33 48.1 
Total 1626.3
Let’s compare the F-ratio for just the ANOVA 
With the ANCOVA 
Before 
SS df MS F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups (error) 1587.4 33 48.1 
Total 1626.3
Let’s compare the F-ratio for just the ANOVA 
With the ANCOVA 
Before 
SS df MS F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups (error) 1587.4 33 48.1 
Total 1626.3 
After 
SS df MS F-Ratio 
Adjusted means (BG) 74.5 2 37.2 3.8 
Adjusted error (WG) 314.1 32 9.8 
Adjusted total 388.6 34
Let’s compare the F-ratio for just the ANOVA 
With the ANCOVA 
Before 
SS df MS F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups (error) 1587.4 33 48.1 
Total 1626.3 
After 
SS df MS F-Ratio 
Adjusted means (BG) 74.5 2 37.2 3.8 
Adjusted error (WG) 314.1 32 9.8 
Adjusted total 388.6 34 
So we would conclude that there is a significant difference between football, 
basketball & soccer players in terms of the ounces of pizza they eat, that is, 
when we control for pizza preference.
Let’s compare the F-ratio for just the ANOVA 
With the ANCOVA 
Before 
SS df MS F-Ratio 
Between Groups 38.9 2 19.4 0.4 
Within Groups (error) 1587.4 33 48.1 
Total 1626.3 
After 
SS df MS F-Ratio 
Adjusted means (BG) 74.5 2 37.2 3.8 
Adjusted error (WG) 314.1 32 9.8 
Adjusted total 388.6 34 
So we would conclude that there is a significant difference between football, 
basketball & soccer players in terms of the ounces of pizza they eat, that is, 
when we control for pizza preference.
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference.
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
Notice that after controlling for 
pizza preference, the mean for 
Basketball players drops
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
Notice that after controlling for 
pizza preference, the mean for 
Basketball players drops
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
Notice that after controlling for 
pizza preference, the mean for 
Basketball players drops
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
And the mean for 
Soccer players 
INCREASES!
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
And the mean for 
Soccer players 
INCREASES!
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
And the mean for 
Soccer players 
INCREASES!
We can even adjust the original means for amount of 
ounces of pizza eaten, after controlling for preference. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3 
That’s the Power of 
ANCOVA!
Important note, 
The more the covariate (pizza preference) covaries with 
the independent variable (type of athlete) . .
Important note, 
The more the covariate (pizza preference) covaries with 
the independent variable (type of athlete) . . . the 
bigger the adjustment will be between original and 
adjusted means.
Important note, 
The more the covariate (pizza preference) covaries with 
the independent variable (type of athlete) . . . the 
bigger the adjustment will be between original and 
adjusted means. 
Meaning they share a larger covariance 
value (either positive or negative).
Important note, 
The more the covariate (pizza preference) covaries with 
the independent variable (type of athlete) . . . the 
bigger the adjustment will be between original and 
adjusted means. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3
Important note, 
The more the covariate (pizza preference) covaries with 
the independent variable (type of athlete) . . . the 
bigger the adjustment will be between original and 
adjusted means. 
Original Means 
Athlete Football Basketball Soccer 
Means 25.4 26.3 23.8 
Adjusted Means 
Big Adjustments 
(after controlling for the covariance) 
Athlete Football Basketball Soccer 
Means 24.3 23.8 27.3
One final note
In this case the covariate (the thing we were controlling 
for) was a continuous variable like 
• Ounces of pizza eaten 
• Time it takes to eat pizza 
• The weight of each athlete.
In this case the covariate (the thing we were controlling 
for) was a continuous variable like 
• Ounces of pizza eaten 
• Time it takes to eat pizza 
• The weight of each athlete.
In this case the covariate (the thing we were controlling 
for) was a continuous variable like 
• Ounces of pizza eaten 
• Time it takes to eat pizza 
• The weight of each athlete. 
But it also can be categorical (one or the other)
In this case the covariate (the thing we were controlling 
for) was a continuous variable like 
• Ounces of pizza eaten 
• Time it takes to eat pizza 
• The weight of each athlete. 
But it also can be categorical (one or the other) 
• Year in School (Sophomores, Juniors, or Seniors) 
• Gender (Male or Female) 
• Religious Affiliation (Muslim, Catholic, etc.)
In summary
Analysis of Covariance is a powerful tool that 
makes it possible to control for any variable that is 
not of interest (eg. pizza preference)
Analysis of Covariance is a powerful tool that 
makes it possible to control for any variable that is 
not of interest (eg. pizza preference) in order to 
see the true effect of the variable of interest (type 
of athlete) on a dependent variable of interest 
(ounces of pizza eaten)
There are more complex methods such as 
Factorial ANCOVA, Repeated measures ANCOVA 
and Multivariate ANCOVA.
There are more complex methods such as 
Factorial ANCOVA, Repeated measures ANCOVA 
and Multivariate ANCOVA. 
This presentation gives you the conceptual 
foundation necessary to understand the Analysis 
of Covariance elements of these methods.

Weitere ähnliche Inhalte

Was ist angesagt?

Reporting pearson correlation in apa
Reporting pearson correlation in apaReporting pearson correlation in apa
Reporting pearson correlation in apaKen Plummer
 
Reporting an ANCOVA
Reporting an ANCOVAReporting an ANCOVA
Reporting an ANCOVAKen Plummer
 
Reporting pearson correlation in apa
Reporting pearson correlation in apa Reporting pearson correlation in apa
Reporting pearson correlation in apa Amit Sharma
 
Reporting a one way ANOVA
Reporting a one way ANOVAReporting a one way ANOVA
Reporting a one way ANOVAAmit Sharma
 
Reporting a Factorial ANOVA
Reporting a Factorial ANOVAReporting a Factorial ANOVA
Reporting a Factorial ANOVAKen Plummer
 
Reporting a paired sample t -test
Reporting a paired sample t -testReporting a paired sample t -test
Reporting a paired sample t -testAmit Sharma
 
What is a Factorial ANOVA?
What is a Factorial ANOVA?What is a Factorial ANOVA?
What is a Factorial ANOVA?Ken Plummer
 
What is a Friedman Test?
What is a Friedman Test?What is a Friedman Test?
What is a Friedman Test?Ken Plummer
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTONE Virtual Services
 
What is a kendall's tau?
What is a kendall's tau?What is a kendall's tau?
What is a kendall's tau?Ken Plummer
 
Reporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APAReporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APAKen Plummer
 
Reporting a one-way anova
Reporting a one-way anovaReporting a one-way anova
Reporting a one-way anovaKen Plummer
 
Reporting a Kruskal Wallis Test
Reporting a Kruskal Wallis TestReporting a Kruskal Wallis Test
Reporting a Kruskal Wallis TestKen Plummer
 
Null hypothesis for partial correlation
Null hypothesis for partial correlationNull hypothesis for partial correlation
Null hypothesis for partial correlationKen Plummer
 
Two-way Mixed Design with SPSS
Two-way Mixed Design with SPSSTwo-way Mixed Design with SPSS
Two-way Mixed Design with SPSSJ P Verma
 

Was ist angesagt? (20)

Reporting pearson correlation in apa
Reporting pearson correlation in apaReporting pearson correlation in apa
Reporting pearson correlation in apa
 
Reporting an ANCOVA
Reporting an ANCOVAReporting an ANCOVA
Reporting an ANCOVA
 
Reporting pearson correlation in apa
Reporting pearson correlation in apa Reporting pearson correlation in apa
Reporting pearson correlation in apa
 
Reporting a one way ANOVA
Reporting a one way ANOVAReporting a one way ANOVA
Reporting a one way ANOVA
 
Reporting a Factorial ANOVA
Reporting a Factorial ANOVAReporting a Factorial ANOVA
Reporting a Factorial ANOVA
 
Reporting a paired sample t -test
Reporting a paired sample t -testReporting a paired sample t -test
Reporting a paired sample t -test
 
What is a Factorial ANOVA?
What is a Factorial ANOVA?What is a Factorial ANOVA?
What is a Factorial ANOVA?
 
What is a Friedman Test?
What is a Friedman Test?What is a Friedman Test?
What is a Friedman Test?
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
 
Z test for two sample mean
Z test for two sample meanZ test for two sample mean
Z test for two sample mean
 
What is a kendall's tau?
What is a kendall's tau?What is a kendall's tau?
What is a kendall's tau?
 
Reporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APAReporting Mann Whitney U Test in APA
Reporting Mann Whitney U Test in APA
 
Reporting a one-way anova
Reporting a one-way anovaReporting a one-way anova
Reporting a one-way anova
 
Reporting a Kruskal Wallis Test
Reporting a Kruskal Wallis TestReporting a Kruskal Wallis Test
Reporting a Kruskal Wallis Test
 
Phi (φ) Correlation
Phi (φ) CorrelationPhi (φ) Correlation
Phi (φ) Correlation
 
Null hypothesis for partial correlation
Null hypothesis for partial correlationNull hypothesis for partial correlation
Null hypothesis for partial correlation
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation
CorrelationCorrelation
Correlation
 
Pearson Correlation
Pearson CorrelationPearson Correlation
Pearson Correlation
 
Two-way Mixed Design with SPSS
Two-way Mixed Design with SPSSTwo-way Mixed Design with SPSS
Two-way Mixed Design with SPSS
 

Mehr von Ken Plummer

Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Ken Plummer
 
Learn About Range - Copyright updated
Learn About Range - Copyright updatedLearn About Range - Copyright updated
Learn About Range - Copyright updatedKen Plummer
 
Inferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedInferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedKen Plummer
 
Diff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedDiff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedKen Plummer
 
Normal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedNormal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedKen Plummer
 
Normal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedNormal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedKen Plummer
 
Nature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedNature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedKen Plummer
 
Nature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedNature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedKen Plummer
 
Mode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedMode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedKen Plummer
 
Nature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedNature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedKen Plummer
 
Dichotomous or scaled
Dichotomous or scaledDichotomous or scaled
Dichotomous or scaledKen Plummer
 
Skewed less than 30 (ties)
Skewed less than 30 (ties)Skewed less than 30 (ties)
Skewed less than 30 (ties)Ken Plummer
 
Skewed sample size less than 30
Skewed sample size less than 30Skewed sample size less than 30
Skewed sample size less than 30Ken Plummer
 
Ordinal and nominal
Ordinal and nominalOrdinal and nominal
Ordinal and nominalKen Plummer
 
Relationship covariates
Relationship   covariatesRelationship   covariates
Relationship covariatesKen Plummer
 
Relationship nature of data
Relationship nature of dataRelationship nature of data
Relationship nature of dataKen Plummer
 
Number of variables (predictive)
Number of variables (predictive)Number of variables (predictive)
Number of variables (predictive)Ken Plummer
 
Levels of the iv
Levels of the ivLevels of the iv
Levels of the ivKen Plummer
 
Independent variables (2)
Independent variables (2)Independent variables (2)
Independent variables (2)Ken Plummer
 

Mehr von Ken Plummer (20)

Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)
 
Learn About Range - Copyright updated
Learn About Range - Copyright updatedLearn About Range - Copyright updated
Learn About Range - Copyright updated
 
Inferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedInferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright Updated
 
Diff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedDiff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright Updated
 
Normal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedNormal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updated
 
Normal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedNormal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updated
 
Nature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedNature of the data practice - Copyright updated
Nature of the data practice - Copyright updated
 
Nature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedNature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updated
 
Mode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedMode practice 1 - Copyright updated
Mode practice 1 - Copyright updated
 
Nature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedNature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updated
 
Dichotomous or scaled
Dichotomous or scaledDichotomous or scaled
Dichotomous or scaled
 
Skewed less than 30 (ties)
Skewed less than 30 (ties)Skewed less than 30 (ties)
Skewed less than 30 (ties)
 
Skewed sample size less than 30
Skewed sample size less than 30Skewed sample size less than 30
Skewed sample size less than 30
 
Ordinal (ties)
Ordinal (ties)Ordinal (ties)
Ordinal (ties)
 
Ordinal and nominal
Ordinal and nominalOrdinal and nominal
Ordinal and nominal
 
Relationship covariates
Relationship   covariatesRelationship   covariates
Relationship covariates
 
Relationship nature of data
Relationship nature of dataRelationship nature of data
Relationship nature of data
 
Number of variables (predictive)
Number of variables (predictive)Number of variables (predictive)
Number of variables (predictive)
 
Levels of the iv
Levels of the ivLevels of the iv
Levels of the iv
 
Independent variables (2)
Independent variables (2)Independent variables (2)
Independent variables (2)
 

Kürzlich hochgeladen

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 

Kürzlich hochgeladen (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 

What is an ANCOVA?

  • 1. One-way Analysis of Covariance (ANCOVA) Conceptual Tutorial
  • 2. First How did we get here?
  • 4. A pizza café owner wants to know which type of high school athlete she should market to.
  • 5. A pizza café owner wants to know which type of high school athlete she should market to. Should she market to football, basketball or soccer players?
  • 6. A pizza café owner wants to know which type of high school athlete she should market to. Should she market to football, basketball or soccer players? So she measures the ounces of pizza eaten by 12 football, 12 basketball, and 12 soccer players in one sitting.
  • 7. Here are the raw data: Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 8. The owner wondered how much these athletes like pizza to begin with and how that might affect the results.
  • 9. The owner wondered how much these athletes like pizza to begin with and how that might affect the results. She surveyed them prior to their eating the pizza.
  • 10. The Survey On a scale of 1 to 10 how much do you like pizza? 1 2 3 4 5 6 7 8 9 10
  • 11. Here were the results: Football Basketball Soccer 7.0 3.0 7.5 5.0 8.0 4.5 3.5 4.5 3.5 9.0 9.5 6.0 7.0 6.5 6.0 8.0 7.0 4.5 6.5 7.5 6.0 7.5 9.0 1.5 2.5 8.5 6.5 9.0 4.0 5.0 8.0 7.5 5.5 5.0 8.0 4.0
  • 12. Based on this information, let’s determine how we got here.
  • 13. Here is the problem again: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference.
  • 14. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference.
  • 15. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This: Inferential or Descriptive
  • 16. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This: Inferential or Descriptive
  • 17. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This: Inferential or Descriptive Based on the data set of 36 athletes, this is a sample from which the owner would like to make generalizations about potential athlete customers.
  • 18. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This: Inferential or Descriptive Based on the data set of 36 athletes, this is a sample from which the owner would like to make generalizations about potential athlete customers.
  • 19. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This Question of: Relationship or Difference
  • 20. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This Question of: Relationship or Difference Because the owner wants to compare groups differences, we are dealing with DIFFERENCE.
  • 21. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is This Question of: Relationship or Difference Because the owner wants to compare groups differences, we are dealing with DIFFERENCE.
  • 22. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential
  • 23. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is The Distribution: Normal or Not Normal
  • 24. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is The Distribution: Normal or Not Normal After graphing each column we find that the distributions are mostly normal. Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 25. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is The Distribution: Normal or Not Normal After graphing each column we find that the distributions are mostly normal. Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 26. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal
  • 27. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Are the Data: Scaled? (ratio/interval/ordinal) Categorical? (ordinal) or
  • 28. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Are the Data: Scaled? (ratio/interval/ordinal) Categorical? (ordinal) or The data is interval (ounces of Pizza) Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 29. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Are the Data: Scaled? (ratio/interval/ordinal) Categorical? (ordinal) or The data is interval (ounces of Pizza) Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 30. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal Scaled Categorical
  • 31. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 DV or 2 or more DV
  • 32. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 DV or 2 or more DV
  • 33. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 DV or 2 or more DV
  • 34. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal Scaled Categorical 1 DV 2 or more DV
  • 35. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 IV or 2 or more IVs [Type of Athlete is the only Independent Variable (IV)]
  • 36. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 IV or 2 or more IVs [Type of Athlete is the only Independent Variable (IV)]
  • 37. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 IV or 2 or more IVs [Type of Athlete is the only Independent Variable (IV)]
  • 38. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal Scaled Categorical 1 DV 2 or more DV 1 IV 2 or more IV
  • 39. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 IV Level 2 or more IV Levels or
  • 40. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 IV Level 2 or more IV Levels or
  • 41. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is there: 1 IV Level 2 or more IV Levels or
  • 42. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal Scaled Categorical 1 DV 2 or more DV 1 IV 2 or more IV 2 or more IV Levels 1 IV Level
  • 43. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Are the Samples: Repeated or Independent
  • 44. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Are the Samples: Repeated or Independent No individual is in more than one group
  • 45. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Are the Samples: Repeated or Independent No individual is in more than one group
  • 46. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal Scaled Categorical 1 DV 2 or more DV 1 IV 2 or more IV 2 or more IV Levels 1 IV Level Repeated Independent
  • 47. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is There: A Covariate or Not a Covariate
  • 48. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is There: A Covariate or Not a Covariate
  • 49. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Is There: A Covariate or Not a Covariate
  • 50. The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Inferential Descriptive Descriptive Inferential Normal Not Normal Scaled Categorical 1 DV 2 or more DV 1 IV 2 or more IV 1 IV Level 2 or more IV Levels Repeated Independent A Covariate Not a Covariate
  • 51. Now that we know how we got here, let’s consider what Analysis of Covariance is.
  • 52. Now that we know how we got here, let’s consider what Analysis of Covariance is. First, . . . what is covariance?
  • 53. Now that we know how we got here, let’s consider what Analysis of Covariance is. First, . . . what is covariance? As you know, variance is a statistic that helps you determine how much the data in a distribution varies.
  • 54. Now that we know how we got here, let’s consider what Analysis of Covariance is. First, . . . what is covariance? As you know, variance is a statistic that helps you determine how much the data in a distribution varies. 5 6 7 Number of Pizza Slices eaten by Basketball Players Not much variance
  • 55. Now that we know how we got here, let’s consider what Analysis of Covariance is. First, . . . what is covariance? As you know, variance is a statistic that helps you determine how much the data in a distribution varies. 5 6 7 Number of Pizza Slices eaten by Basketball Players Not much variance Number of Pizza Slices eaten by Soccer Players 2 3 4 5 6 7 8 9 10 A lot of variance
  • 56. Covariance is a statistic that helps us determine how much two distributions that have some relationship covary.
  • 57. Let’s imagine that students take a math test and their ordered scores look like this.
  • 58. Let’s imagine that students take a math test and their ordered scores look like this. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc
  • 59. Let’s imagine that students take a math test and their ordered scores look like this. Then let’s imagine they take a math anxiety survey. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc
  • 60. Let’s imagine that students take a math test and their ordered scores look like this. Then let’s imagine they take a math anxiety survey. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 61. How much do they covary? Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 62. Bambi has the highest Math Test Score and the highest Math Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Anxiety Score Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 63. Belle has the 2nd highest Math Test Score and the 2nd highest Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Score Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 64. Billy has the 3rd highest Math Test Score and the 3rd highest Math Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Anxiety Score Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 65. Boston has the 4th highest Math Test Score and the 4th highest Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Score Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 66. Bryne has the 5th highest Math Test Score and the 5th highest Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Score Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 67. Bubba has the 6th highest Math Test Score and the 6th highest Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Score Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 68. These two data sets perfectly covary. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 69. These two data sets perfectly covary. This means as one changes the other changes. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Scores 6 5 4 4 3 2 Etc.
  • 70. These two data sets perfectly covary. This means as one changes the other changes. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Scores 6 5 4 4 3 2 Etc. Either in the same direction
  • 71. These two data sets perfectly covary. This means as one changes the other changes. Student Test Scores Bambi 98 Belle 92 Billy 84 Boston 77 Bryne 73 Bubba 68 Etc Math Anxiety Scores 6 5 4 4 3 2 Etc. Or opposite directions 2 3 5 6
  • 72. Covariance is a statistic that describes that relationship.
  • 73. Covariance is a statistic that describes that relationship. The larger the covariance statistic (either positive or negative), the more the two samples covary.
  • 74. Covariance is a statistic that describes that relationship. The larger the covariance statistic (either positive or negative), the more the two samples covary. Let’s demonstrate how to calculate covariance by hand.
  • 75. Covariance is a statistic that describes that relationship. The larger the covariance statistic (either positive or negative), the more the two samples covary. Let’s demonstrate how to calculate covariance by hand. (Although most statistical software can do it for you automatically.)
  • 76. Here is the data set Student X i Yi Test Scores Math Anxiety Scores Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2
  • 77. Here is the sum of each column: Student i X i Y Test Scores Math Anxiety Scores Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24
  • 78. And the mean: Student i X i Y Test Scores Math Anxiety Scores Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 79. Remember – Covariance can only be computed between two or more variables (e.g., test questions, test scores, ect.) with scores across each variable for each Student person. i X i Y Test Scores Math Anxiety Scores Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 80. Here is the formula for covariance:  i X  i Y  XY   X Y N     
  • 81. With an explanation for each value:  i X  i Y  XY   X Y N     
  • 82.  i X  i Y  XY   X Y N     
  • 83.     i X i  Y Anxiety Scores XY X Y N      Test Scores
  • 84.  i X  i Y  XY   X Y N     
  • 85.     i X i  Y Each Test Scores XY X Y N     
  • 86.  i X  i Y  XY   X Y N     
  • 87.     i X i  Y Or in this case is the mean for Test Scores (82) XY X Y N     
  • 88.  i X  i Y  XY   X Y N     
  • 89.     i X i  Y Each Anxiety Score XY X Y N     
  • 90.  i X  i Y  XY   X Y N     
  • 91.     i X i  Y Or in this case is the mean for Anxiety Scores (24) XY X Y N     
  • 92. Let the Covariance Calculations Begin!
  • 93. Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 94.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 95. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 96. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 97. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 98. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 98
  • 99. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 98 - 82
  • 100. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16
  • 101. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16 92 - 82
  • 102. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16 10 84 - 82
  • 103. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16 10 2 77 - 82
  • 104. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16 10 2 -5 73 - 82
  • 105. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16 10 2 -5 -9 68 - 82
  • 106. Deviation between each math score and the mean.  X i   X  Student Student i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4 16 10 2 -5 -9 -14
  • 107. i X i Y   i X X   i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4
  • 108. Deviation between each Anxiety score and its mean. i X i Y   i X X   i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4   Yi  Y
  • 109. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 5
  • 110. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 5 - 4
  • 111. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 1
  • 112. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 1 6 - 4
  • 113. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 1 2 4 - 4
  • 114. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 1 2 0 4 - 4
  • 115. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 1 2 0 0 3 - 4
  • 116. Deviation between each Anxiety score and its mean. i X i Y   i X X     Yi  Y i Xi Y  i X X   Student Student Student Student Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 1 2 0 0 -1 2 - 4
  • 117. Student Student Student Student XX i i YY i i  X  X        Yi   i i X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4
  • 118. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 product”
  • 119. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16
  • 120. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 x 1
  • 121. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16
  • 122. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 10 x 2
  • 123. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 2 x 0
  • 124. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 -5 x 0
  • 125. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 -9 x -1
  • 126. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 -14 x -2
  • 127. Student Student Student Student Multiply the two paired Deviations to get what is called “the cross product” i X i Y   i X X     X i   X Yi Y i Xi Y  i X X     Yi  Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28
  • 128. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y XX i i YY i i  X  X        Yi   i i X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4
  • 129. Here’s the covariance equation again: Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y XX i i YY i i  X  X        Yi   i i X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4
  • 130. Student Student Student Student    i X i Y XY   i X i Y   i X X    i Y Y     X i   X Yi Y XX i i YY i i  X  X        Yi   i i X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 X Y N     
  • 131.  i X  i Y  XY   X Y N      So far we have calculated a portion of the numerator of this equation. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4
  • 132.  i X  i Y  XY   X Y N      Now we will sum or add up the cross products. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4
  • 133.  i X  i Y  XY   X Y N      Now we will sum or add up the cross products. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4
  • 134.  i X  i Y  XY   X Y N      Now we will sum or add up the cross products. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 Add up
  • 135.  i X  i Y  XY   X Y N      Now we will sum or add up the cross products. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 73 Mean 82 4 Add up
  • 136.  i X  i Y  XY   X Y N      Now we will sum or add up the cross products. Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 73 Mean 82 4
  • 137.  i X  i Y  XY   X Y N      Then we divide the result by the number of subjects, which in this case is (6) Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 73 Mean 82 4
  • 138.  i X  i Y  XY   X Y N      Then we divide the result by the number of subjects, which in this case is (6) Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 73 / 6
  • 139.  i X  i Y  XY   X Y N      Then we divide the result by the number of subjects, which in this case is (6) Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 73 / 6 = 12.2
  • 140.  i X  i Y  XY   X Y 12.2 N      Covariance = 12.2 Student Student Student Student i X i Y   i X X    i Y Y     X i   X Yi Y X X i i Y Y i i  X  X        i i Yi   X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 73 / 6 = 12.2
  • 141. Let’s see what the covariance looks like when the direction of the data goes in the opposite direction:
  • 142. Student Student BEFORE i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 143. BEFORE AFTER X Student Student i Y i Student Student Test Scores Math Anxiety Bambi 98 2 Belle 92 3 Billy 84 4 Boston 77 4 Bryne 73 6 Bubba 68 5 Sum 492 24 Mean 82 4 i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 144. BEFORE AFTER X Student Student i Y i Student Student Test Scores Math Anxiety Bambi 98 2 Belle 92 3 Billy 84 4 Boston 77 4 Bryne 73 6 Bubba 68 5 Sum 492 24 Mean 82 4 i X i Y Test Scores Math Anxiety Bambi 98 5 Belle 92 6 Billy 84 4 Boston 77 4 Bryne 73 3 Bubba 68 2 Sum 492 24 Mean 82 4
  • 145. First we calculate the deviations from the mean: Student Student i X i Y Test Scores Math Anxiety Bambi 98 2 Belle 92 3 Billy 84 4 Boston 77 4 Bryne 73 6 Bubba 68 5 Sum 492 24 Mean 82 4
  • 146. First we calculate the deviations from the mean: Student Student i Xi Y  i X X    i Y Y   Test Scores Math Anxiety Test Scores Math Anxiety Bambi 98 2 16 - 2 Belle 92 3 10 - 1 Billy 84 4 2 0 Boston 77 4 - 5 0 Bryne 73 6 - 9 2 Bubba 68 5 - 14 1 Sum 492 24 Mean 82 4
  • 147. We now compute the Cross Products Student Student i Xi Y  i X X    i Y Y   Test Scores Math Anxiety Test Scores Math Anxiety x = x = x = x = x = x = Bambi 98 2 16 - 2 Belle 92 3 10 - 1 Billy 84 4 2 0 Boston 77 4 - 5 0 Bryne 73 6 - 9 2 Bubba 68 5 - 14 1 Sum 492 24 Mean 82 4
  • 148. We now compute the Cross Products Student Student i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4
  • 149. We sum the cross products and then divide it by the number of students Student Student i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4
  • 150. We sum the cross products and then divide it by the number of students Student Student i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 -73 Mean 82 4
  • 151. We sum the cross products and then divide it by the number of students Student Student i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4 -73 / 6
  • 152. We sum the cross products and then divide it by the number of students Student Student i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4 -73 / 6 = -12.2
  • 153. This is the covariance! Student Student i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4 -73 / 6 = -12.2
  • 154. This is the covariance! Student Student Notice that when there is a negative relationship between two variables i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4 -73 / 6 = -12.2
  • 155. This is the covariance! Student Student Notice that when there is a negative relationship between two variables i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4 -73 / 6 = -12.2
  • 156. This is the covariance! Student Student Notice that when there is a negative relationship between two variables i Xi Y  i X X     i Y Y     X i   X Yi Y Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 2 16 - 2 -32 Belle 92 3 10 - 1 -10 Billy 84 4 2 0 0 Boston 77 4 - 5 0 0 Bryne 73 6 - 9 2 -18 Bubba 68 5 - 14 1 -14 Sum 492 24 Mean 82 4 -73 / 6 = -12.2 The covariance is negative
  • 157. On the other hand, when the relationship between two variables is positive . . .
  • 158. On the other hand, when the relationship between two variables is positive . . . The covariance will be positive.
  • 159. On the other hand, when the relationship between two variables is positive . . . The covariance will be positive. Student Student Student Student i X i Y   X i   X   Yi  Y    X i   X Yi Y XX i i YY i i  X  X        Yi   i i X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 73 / 6 = 12.2
  • 160. On the other hand, when the relationship between two variables is positive . . . The covariance will be positive. Student Student Student Student i X i Y   X i   X   Yi  Y    X i   X Yi Y XX i i YY i i  X  X        Yi   i i X X Y Test Scores Test Scores Math Anxiety Math Anxiety Test Scores Test Scores Math Anxiety Bambi 98 5 16 Belle 92 6 10 Billy 84 4 2 Boston 77 4 -5 Bryne 73 3 -9 Bubba 68 2 -14 Sum 492 24 Mean 82 4 Bambi 98 5 16 1 Belle 92 6 10 2 Billy 84 4 2 0 Boston 77 4 -5 0 Bryne 73 3 -9 -1 Bubba 68 2 -14 -2 Sum 492 24 Mean 82 4 16 20 0 0 9 28 Student Student Test Scores Math Anxiety Test Scores Math Anxiety Cross Products Bambi 98 5 16 1 16 Belle 92 6 10 2 20 Billy 84 4 2 0 0 Boston 77 4 -5 0 0 Bryne 73 3 -9 -1 9 Bubba 68 2 -14 -2 28 Sum 492 24 Mean 82 4 73 / 6 = 12.2
  • 161. Why is this important to know?
  • 162. Why is this important to know? Especially in light of the question we are trying to answer?
  • 163. Why is this important to know? Especially in light of the question we are trying to answer? The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference.
  • 164. Computing covariance helps us- The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference.
  • 165. Computing covariance helps us- The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference.
  • 166. Computing covariance helps us- The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Meaning that we want to know what the difference between the three groups would be if we took away all of the covariance between pizza preference and amount of ounces of pizza eaten.
  • 167. Computing covariance helps us- The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. If we did not take out the covariance, then a bunch of soccer players may like pizza not because they are soccer players (our research question) but because they just LOVE PIZZA (not our research question).
  • 168. Computing covariance helps us- The Problem: A pizza café owner wants to know which type of high school athlete she should market to, by comparing how many ounces of pizza are consumed across all three athlete groups. She will control for pizza preference. Because their love of pizza is not what we are testing, we will control for it by computing covariance and see how much of the fact that they are soccer players really affects the amount of ounces of pizza they eat.
  • 169. So, let’s begin by running a One-way ANOVA without removing the covariance between pizza preference and ounces eaten by athlete type.
  • 170. Here’s the data Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 171. Here are the results of the one-way ANOVA for this data set: Sums of Squares df Mean Square F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3 Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 172. Here are the results of the one-way ANOVA for this data set: Sums of Squares df Mean Square F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3 Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten As you will recall, an F-ratio 1 or lower with any ANOVA method is not significant.
  • 173. Here are the results of the one-way ANOVA for this data set: Sums of Squares df Mean Square F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3 Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten As you will recall, an F-ratio 1 or lower with any ANOVA method is not significant.
  • 174. Then After calculating the covariance between pizza preference and ounces of pizza eaten in one sitting, we find that there is a positive relationship.
  • 175. After calculating the covariance between pizza preference and ounces of pizza eaten in one sitting, we find that there is a positive relationship. Pizza Preference (scale 1-10) Football Basketball Soccer 7.0 3.0 7.5 5.0 8.0 4.5 3.5 4.5 3.5 9.0 9.5 6.0 7.0 6.5 6.0 8.0 7.0 4.5 6.5 7.5 6.0 7.5 9.0 1.5 2.5 8.5 6.5 9.0 4.0 5.0 8.0 7.5 5.5 5.0 8.0 4.0 Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten
  • 176. After calculating the covariance between pizza preference and ounces of pizza eaten in one sitting, we find that there is a positive relationship. Pizza Preference (scale 1-10) Football Basketball Soccer 7.0 3.0 7.5 5.0 8.0 4.5 3.5 4.5 3.5 9.0 9.5 6.0 7.0 6.5 6.0 8.0 7.0 4.5 6.5 7.5 6.0 7.5 9.0 1.5 2.5 8.5 6.5 9.0 4.0 5.0 8.0 7.5 5.5 5.0 8.0 4.0 Football Players Basketball Players Soccer Players 29 oz. of pizza eaten 15 oz. of pizza eaten 32 oz. of pizza eaten 24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten 27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten 27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten 27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten 32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten 13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten 35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten 32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten 17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten Covariance = 12.1
  • 177. After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table:
  • 178. After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table: SS df MS F Adjusted means (BG) 74.5 2 37.2 3.8 Adjusted error (WG) 314.1 32 9.8 Adjusted total 388.6 34
  • 179. After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table: Adjusted means – after we took out the covariance between the two variables: Type of Athlete and Pizza Preference (the covariate) SS df MS F Adjusted means (BG) 74.5 2 37.2 3.8 Adjusted error (WG) 314.1 32 9.8 Adjusted total 388.6 34
  • 180. After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table: SS df MS F Adjusted means (BG) 74.5 2 37.2 3.8 Adjusted error (WG) 314.1 32 9.8 Adjusted total 388.6 34 Notice the F-ratio is larger making it more likely to be significant.
  • 181. Let’s compare the F-ratio for just the ANOVA
  • 182. Let’s compare the F-ratio for just the ANOVA Before SS df MS F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3
  • 183. Let’s compare the F-ratio for just the ANOVA With the ANCOVA Before SS df MS F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3
  • 184. Let’s compare the F-ratio for just the ANOVA With the ANCOVA Before SS df MS F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3 After SS df MS F-Ratio Adjusted means (BG) 74.5 2 37.2 3.8 Adjusted error (WG) 314.1 32 9.8 Adjusted total 388.6 34
  • 185. Let’s compare the F-ratio for just the ANOVA With the ANCOVA Before SS df MS F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3 After SS df MS F-Ratio Adjusted means (BG) 74.5 2 37.2 3.8 Adjusted error (WG) 314.1 32 9.8 Adjusted total 388.6 34 So we would conclude that there is a significant difference between football, basketball & soccer players in terms of the ounces of pizza they eat, that is, when we control for pizza preference.
  • 186. Let’s compare the F-ratio for just the ANOVA With the ANCOVA Before SS df MS F-Ratio Between Groups 38.9 2 19.4 0.4 Within Groups (error) 1587.4 33 48.1 Total 1626.3 After SS df MS F-Ratio Adjusted means (BG) 74.5 2 37.2 3.8 Adjusted error (WG) 314.1 32 9.8 Adjusted total 388.6 34 So we would conclude that there is a significant difference between football, basketball & soccer players in terms of the ounces of pizza they eat, that is, when we control for pizza preference.
  • 187. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.
  • 188. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8
  • 189. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3
  • 190. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 Notice that after controlling for pizza preference, the mean for Basketball players drops
  • 191. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 Notice that after controlling for pizza preference, the mean for Basketball players drops
  • 192. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 Notice that after controlling for pizza preference, the mean for Basketball players drops
  • 193. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 And the mean for Soccer players INCREASES!
  • 194. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 And the mean for Soccer players INCREASES!
  • 195. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 And the mean for Soccer players INCREASES!
  • 196. We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3 That’s the Power of ANCOVA!
  • 197. Important note, The more the covariate (pizza preference) covaries with the independent variable (type of athlete) . .
  • 198. Important note, The more the covariate (pizza preference) covaries with the independent variable (type of athlete) . . . the bigger the adjustment will be between original and adjusted means.
  • 199. Important note, The more the covariate (pizza preference) covaries with the independent variable (type of athlete) . . . the bigger the adjustment will be between original and adjusted means. Meaning they share a larger covariance value (either positive or negative).
  • 200. Important note, The more the covariate (pizza preference) covaries with the independent variable (type of athlete) . . . the bigger the adjustment will be between original and adjusted means. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3
  • 201. Important note, The more the covariate (pizza preference) covaries with the independent variable (type of athlete) . . . the bigger the adjustment will be between original and adjusted means. Original Means Athlete Football Basketball Soccer Means 25.4 26.3 23.8 Adjusted Means Big Adjustments (after controlling for the covariance) Athlete Football Basketball Soccer Means 24.3 23.8 27.3
  • 203. In this case the covariate (the thing we were controlling for) was a continuous variable like • Ounces of pizza eaten • Time it takes to eat pizza • The weight of each athlete.
  • 204. In this case the covariate (the thing we were controlling for) was a continuous variable like • Ounces of pizza eaten • Time it takes to eat pizza • The weight of each athlete.
  • 205. In this case the covariate (the thing we were controlling for) was a continuous variable like • Ounces of pizza eaten • Time it takes to eat pizza • The weight of each athlete. But it also can be categorical (one or the other)
  • 206. In this case the covariate (the thing we were controlling for) was a continuous variable like • Ounces of pizza eaten • Time it takes to eat pizza • The weight of each athlete. But it also can be categorical (one or the other) • Year in School (Sophomores, Juniors, or Seniors) • Gender (Male or Female) • Religious Affiliation (Muslim, Catholic, etc.)
  • 208. Analysis of Covariance is a powerful tool that makes it possible to control for any variable that is not of interest (eg. pizza preference)
  • 209. Analysis of Covariance is a powerful tool that makes it possible to control for any variable that is not of interest (eg. pizza preference) in order to see the true effect of the variable of interest (type of athlete) on a dependent variable of interest (ounces of pizza eaten)
  • 210. There are more complex methods such as Factorial ANCOVA, Repeated measures ANCOVA and Multivariate ANCOVA.
  • 211. There are more complex methods such as Factorial ANCOVA, Repeated measures ANCOVA and Multivariate ANCOVA. This presentation gives you the conceptual foundation necessary to understand the Analysis of Covariance elements of these methods.

Hinweis der Redaktion

  1. What is someone came a long and asked did you control for pizza preference – we respond with a resounding Yes.
  2. What is someone came a long and asked did you control for pizza preference – we respond with a resounding Yes.
  3. What is someone came a long and asked did you control for pizza preference – we respond with a resounding Yes.
  4. What is someone came a long and asked did you control for pizza preference – we respond with a resounding Yes.