what is an ancova?

211
One-way Analysis of Covariance (ANCOVA) Conceptual Tutorial

Upload: ken-plummer

Post on 16-Dec-2014

197 views

Category:

Education


3 download

DESCRIPTION

What is an ANCOVA?

TRANSCRIPT

Page 1: What is an ANCOVA?

One-way Analysis of Covariance(ANCOVA)

Conceptual Tutorial

Page 2: What is an ANCOVA?

First

How did we get here?

Page 3: What is an ANCOVA?

Consider a similar problem

Page 4: What is an ANCOVA?

A pizza café owner wants to know which type of high school athlete she should market to.

Page 5: What is an ANCOVA?

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?

Page 6: What is an ANCOVA?

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.

Page 7: What is an ANCOVA?

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 eaten24 oz. of pizza eaten 28 oz. of pizza eaten 27 oz. of pizza eaten14 oz. of pizza eaten 13 oz. of pizza eaten 15 oz. of pizza eaten27 oz. of pizza eaten 36 oz. of pizza eaten 23 oz. of pizza eaten27 oz. of pizza eaten 29 oz. of pizza eaten 26 oz. of pizza eaten28 oz. of pizza eaten 27 oz. of pizza eaten 17 oz. of pizza eaten27 oz. of pizza eaten 31 oz. of pizza eaten 25 oz. of pizza eaten32 oz. of pizza eaten 33 oz. of pizza eaten 14 oz. of pizza eaten13 oz. of pizza eaten 32 oz. of pizza eaten 29 oz. of pizza eaten35 oz. of pizza eaten 15 oz. of pizza eaten 22 oz. of pizza eaten32 oz. of pizza eaten 30 oz. of pizza eaten 30 oz. of pizza eaten17 oz. of pizza eaten 26 oz. of pizza eaten 25 oz. of pizza eaten

Page 8: What is an ANCOVA?

The owner wondered how much these athletes like pizza to begin with and how that might affect the results.

Page 9: What is an ANCOVA?

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.

Page 10: What is an ANCOVA?

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

Page 11: What is an ANCOVA?

Here were the results:Football Basketball Soccer

7.0 3.0 7.55.0 8.0 4.53.5 4.5 3.59.0 9.5 6.07.0 6.5 6.08.0 7.0 4.56.5 7.5 6.07.5 9.0 1.52.5 8.5 6.59.0 4.0 5.08.0 7.5 5.55.0 8.0 4.0

Page 12: What is an ANCOVA?

Based on this information, let’s determine how we got here.

Page 13: What is an ANCOVA?

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.

Page 14: What is an ANCOVA?

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.

Page 15: What is an ANCOVA?

Is This:

Inferential Descriptiveor

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.

Page 16: What is an ANCOVA?

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 Descriptiveor

Page 17: What is an ANCOVA?

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 Descriptiveor

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.

Page 18: What is an ANCOVA?

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 Descriptiveor

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.

Page 19: What is an ANCOVA?

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 Differenceor

Page 20: What is an ANCOVA?

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 Differenceor

Because the owner wants to compare groups differences, we are dealing with DIFFERENCE.

Page 21: What is an ANCOVA?

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 Differenceor

Because the owner wants to compare groups differences, we are dealing with DIFFERENCE.

Page 22: What is an ANCOVA?

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

InferentialDescriptive

Page 23: What is an ANCOVA?

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 Not Normalor

Page 24: What is an ANCOVA?

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 Not Normalor

After graphing each column we find that the distributions are mostly normal.

Football Players Basketball Players Soccer Players29 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

Page 25: What is an ANCOVA?

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 Not Normalor

After graphing each column we find that the distributions are mostly normal.

Football Players Basketball Players Soccer Players29 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

Page 26: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Page 27: What is an ANCOVA?

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

Page 28: What is an ANCOVA?

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 Players29 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

Page 29: What is an ANCOVA?

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 Players29 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

Page 30: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Scaled Categorical

Page 31: What is an ANCOVA?

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 2 or more DVor

Page 32: What is an ANCOVA?

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 2 or more DVor

Page 33: What is an ANCOVA?

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 2 or more DVor

Page 34: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Scaled Categorical

1 DV 2 or more DV

Page 35: What is an ANCOVA?

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 2 or more IVsor

[Type of Athlete is the only Independent Variable (IV)]

Page 36: What is an ANCOVA?

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 2 or more IVsor

[Type of Athlete is the only Independent Variable (IV)]

Page 37: What is an ANCOVA?

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 2 or more IVsor

[Type of Athlete is the only Independent Variable (IV)]

Page 38: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Scaled Categorical

1 DV 2 or more DV

1 IV 2 or more IV

Page 39: What is an ANCOVA?

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 Levelsor

Page 40: What is an ANCOVA?

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 Levelsor

Page 41: What is an ANCOVA?

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 Levelsor

Page 42: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Scaled Categorical

1 DV 2 or more DV

1 IV 2 or more IV

2 or more IV Levels1 IV Level

Page 43: What is an ANCOVA?

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 Independentor

Page 44: What is an ANCOVA?

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 Independentor

No individual is in more than one group

Page 45: What is an ANCOVA?

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 Independentor

No individual is in more than one group

Page 46: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Scaled Categorical

1 DV 2 or more DV

1 IV 2 or more IV

2 or more IV Levels1 IV Level

IndependentRepeated

Page 47: What is an ANCOVA?

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 Not a Covariateor

Page 48: What is an ANCOVA?

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 Not a Covariateor

Page 49: What is an ANCOVA?

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 Not a Covariateor

Page 50: What is an ANCOVA?

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

InferentialDescriptive

Normal Not Normal

Scaled Categorical

1 DV 2 or more DV

1 IV 2 or more IV

2 or more IV Levels1 IV Level

IndependentRepeated

A Covariate Not a Covariate

Page 51: What is an ANCOVA?

Now that we know how we got here, let’s consider what Analysis of Covariance is.

Page 52: What is an ANCOVA?

Now that we know how we got here, let’s consider what Analysis of Covariance is.First, . . . what is covariance?

Page 53: What is an ANCOVA?

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.

Page 54: What is an ANCOVA?

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.

6 75

Number of Pizza Slices

eaten by Basketball

Players

Not much variance

Page 55: What is an ANCOVA?

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.

6 75

Number of Pizza Slices

eaten by Basketball

Players

Not much variance

6 754 8 932 10

Number of Pizza Slices

eaten by Soccer Players

A lot of variance

Page 56: What is an ANCOVA?

Covariance is a statistic that helps us determine how much two distributions that have some relationship covary.

Page 57: What is an ANCOVA?

Let’s imagine that students take a math test and their ordered scores look like this.

Page 58: What is an ANCOVA?

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

Page 59: What is an ANCOVA?

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

Page 60: What is an ANCOVA?

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.

Page 61: What is an ANCOVA?

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.

Page 62: What is an ANCOVA?

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 Anxiety Score

Page 63: What is an ANCOVA?

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.

Belle has the 2nd highest Math Test Score and the 2nd highest Math Anxiety Score

Page 64: What is an ANCOVA?

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.

Billy has the 3rd highest Math Test Score and the 3rd highest Math Anxiety Score

Page 65: What is an ANCOVA?

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.

Boston has the 4th highest Math Test Score and the 4th highest Math Anxiety Score

Page 66: What is an ANCOVA?

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.

Bryne has the 5th highest Math Test Score and the 5th highest Math Anxiety Score

Page 67: What is an ANCOVA?

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.

Bubba has the 6th highest Math Test Score and the 6th highest Math Anxiety Score

Page 68: What is an ANCOVA?

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.

Page 69: What is an ANCOVA?

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.

This means as one changes the other changes.

These two data sets perfectly covary.

Page 70: What is an ANCOVA?

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.

This means as one changes the other changes.

Either in the same direction

These two data sets perfectly covary.

Page 71: What is an ANCOVA?

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.

This means as one changes the other changes.

Or opposite directions

Math Anxiety Scores

2

3

4

4

5

6

Etc.

These two data sets perfectly covary.

Page 72: What is an ANCOVA?

Covariance is a statistic that describes that relationship.

Page 73: What is an ANCOVA?

Covariance is a statistic that describes that relationship. The larger the covariance statistic (either positive or negative), the more the two samples covary.

Page 74: What is an ANCOVA?

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.

Page 75: What is an ANCOVA?

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.)

Page 76: What is an ANCOVA?

Here is the data set

StudentTest

ScoresMath Anxiety

Scores Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

iX iY

Page 77: What is an ANCOVA?

Here is the sum of each column:

StudentTest

ScoresMath Anxiety

Scores Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24

iX iY

Page 78: What is an ANCOVA?

StudentTest

ScoresMath Anxiety

Scores Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

And the mean:

Page 79: What is an ANCOVA?

StudentTest

ScoresMath Anxiety

Scores Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

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

person.

Page 80: What is an ANCOVA?

Here is the formula for covariance:

i iX Y

XY

X Y

N

Page 81: What is an ANCOVA?

With an explanation for each value:

i iX Y

XY

X Y

N

Page 82: What is an ANCOVA?

i iX Y

XY

X Y

N

Page 83: What is an ANCOVA?

Anxiety Scores

i iX Y

XY

X Y

N

Test Scores

Page 84: What is an ANCOVA?

i iX Y

XY

X Y

N

Page 85: What is an ANCOVA?

Each Test Scores

i iX Y

XY

X Y

N

Page 86: What is an ANCOVA?

i iX Y

XY

X Y

N

Page 87: What is an ANCOVA?

Or in this case is the mean for Test

Scores (82)

i iX Y

XY

X Y

N

Page 88: What is an ANCOVA?

i iX Y

XY

X Y

N

Page 89: What is an ANCOVA?

Each Anxiety Score

i iX Y

XY

X Y

N

Page 90: What is an ANCOVA?

i iX Y

XY

X Y

N

Page 91: What is an ANCOVA?

Or in this case is the mean for

Anxiety Scores (24)

i iX Y

XY

X Y

N

Page 92: What is an ANCOVA?

Let the Covariance Calculations Begin!

Page 93: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

Page 94: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

Page 95: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

Deviation between each math score and the mean.

Page 96: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

Deviation between each math score and the mean.

Page 97: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

Deviation between each math score and the mean.

Page 98: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

98

Deviation between each math score and the mean.

Page 99: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

98 - 82

Deviation between each math score and the mean.

Page 100: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

16

Deviation between each math score and the mean.

Page 101: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

1692 - 82

Deviation between each math score and the mean.

Page 102: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

161084 - 82

Deviation between each math score and the mean.

Page 103: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

1610277 - 82

Deviation between each math score and the mean.

Page 104: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

16102-573 - 82

Deviation between each math score and the mean.

Page 105: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

16102-5-968 - 82

Deviation between each math score and the mean.

Page 106: What is an ANCOVA?

i XX Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

16102-5-9-14

Deviation between each math score and the mean.

Page 107: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

Page 108: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

Deviation between each Anxiety score and its mean.

i YY

Page 109: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

5

Deviation between each Anxiety score and its mean.

Page 110: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

5 - 4

Deviation between each Anxiety score and its mean.

Page 111: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

1

Deviation between each Anxiety score and its mean.

Page 112: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

16 - 4

Deviation between each Anxiety score and its mean.

Page 113: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

124 - 4

Deviation between each Anxiety score and its mean.

Page 114: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

1204 - 4

Deviation between each Anxiety score and its mean.

Page 115: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

12003 - 4

Deviation between each Anxiety score and its mean.

Page 116: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX Student

StudentTest

ScoresBambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i YY

1200

-12 - 4

Deviation between each Anxiety score and its mean.

Page 117: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

Page 118: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

Multiply the two paired Deviations to get what is called “the cross

product”

Page 119: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

16

Multiply the two paired Deviations to get what is called “the cross

product”

Page 120: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

16 x 1

Multiply the two paired Deviations to get what is called “the cross

product”

Page 121: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

16

Multiply the two paired Deviations to get what is called “the cross

product”

Page 122: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

1610 x 2

Multiply the two paired Deviations to get what is called “the cross

product”

Page 123: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

16202 x 0

Multiply the two paired Deviations to get what is called “the cross

product”

Page 124: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

16200

-5 x 0

Multiply the two paired Deviations to get what is called “the cross

product”

Page 125: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

162000

-9 x -1

Multiply the two paired Deviations to get what is called “the cross

product”

Page 126: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

1620009

-14 x -2

Multiply the two paired Deviations to get what is called “the cross

product”

Page 127: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX i iX YX Y

1620009

28

Multiply the two paired Deviations to get what is called “the cross

product”

Page 128: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 129: What is an ANCOVA?

Here’s the covariance equation again:

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 130: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

i iX Y

XY

X Y

N

Page 131: What is an ANCOVA?

i iX Y

XY

X Y

N

So far we have calculated a portion of the numerator of this equation.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 132: What is an ANCOVA?

i iX Y

XY

X Y

N

Now we will sum or add up the cross products.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 133: What is an ANCOVA?

i iX Y

XY

X Y

N

Now we will sum or add up the cross products.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 134: What is an ANCOVA?

i iX Y

XY

X Y

N

Now we will sum or add up the cross products.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Add up

Page 135: What is an ANCOVA?

i iX Y

XY

X Y

N

Now we will sum or add up the cross products.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73

Add up

Page 136: What is an ANCOVA?

i iX Y

XY

X Y

N

Now we will sum or add up the cross products.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73

Page 137: What is an ANCOVA?

i iX Y

XY

X Y

N

Then we divide the result by the number of subjects, which in this case is (6)

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73

Page 138: What is an ANCOVA?

i iX Y

XY

X Y

N

Then we divide the result by the number of subjects, which in this case is (6)

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73 / 6

Page 139: What is an ANCOVA?

i iX Y

XY

X Y

N

Then we divide the result by the number of subjects, which in this case is (6)

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73 / 6 = 12.2

Page 140: What is an ANCOVA?

i iX Y

XY

X Y

N

Covariance = 12.2

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73 / 6 = 12.2

12.2

Page 141: What is an ANCOVA?

Let’s see what the covariance looks like when the direction of the data goes in the opposite direction:

Page 142: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

BEFORE

Page 143: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 2Belle 92 3Billy 84 4Boston 77 4Bryne 73 6Bubba 68 5

Sum 492 24Mean 82 4

iX iYStudent

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

BEFORE AFTER

Page 144: What is an ANCOVA?

Student

StudentTest

ScoresMath

Anxiety Bambi 98 2Belle 92 3Billy 84 4Boston 77 4Bryne 73 6Bubba 68 5

Sum 492 24Mean 82 4

iX iYStudent

StudentTest

ScoresMath

Anxiety Bambi 98 5Belle 92 6Billy 84 4Boston 77 4Bryne 73 3Bubba 68 2

Sum 492 24Mean 82 4

iX iY

BEFORE AFTER

Page 145: What is an ANCOVA?

First we calculate the deviations from the mean:

Student

StudentTest

ScoresMath

Anxiety Bambi 98 2Belle 92 3Billy 84 4Boston 77 4Bryne 73 6Bubba 68 5

Sum 492 24Mean 82 4

iX iY

Page 146: What is an ANCOVA?

First we calculate the deviations from the mean:

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Bambi 98 2 16 - 2Belle 92 3 10 - 1Billy 84 4 2 0Boston 77 4 - 5 0Bryne 73 6 - 9 2Bubba 68 5 - 14 1

Sum 492 24Mean 82 4

iX iY i XX i YY

Page 147: What is an ANCOVA?

We now compute the Cross Products

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Bambi 98 2 16 - 2Belle 92 3 10 - 1Billy 84 4 2 0Boston 77 4 - 5 0Bryne 73 6 - 9 2Bubba 68 5 - 14 1

Sum 492 24Mean 82 4

iX iY i XX i YY

x =x =x = x =x =x =

Page 148: What is an ANCOVA?

We now compute the Cross Products

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 149: What is an ANCOVA?

We sum the cross products and then divide it by the number of students

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

Page 150: What is an ANCOVA?

We sum the cross products and then divide it by the number of students

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73

Page 151: What is an ANCOVA?

We sum the cross products and then divide it by the number of students

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73 / 6

Page 152: What is an ANCOVA?

We sum the cross products and then divide it by the number of students

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73 / 6 = -12.2

Page 153: What is an ANCOVA?

This is the covariance!

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73 / 6 = -12.2

Page 154: What is an ANCOVA?

This is the covariance!

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73 / 6 = -12.2

Notice that when there is a negative relationship between two variables

Page 155: What is an ANCOVA?

This is the covariance!

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73 / 6 = -12.2

Notice that when there is a negative relationship between two variables

Page 156: What is an ANCOVA?

This is the covariance!

Student

StudentTest

ScoresMath

Anxiety Test

ScoresMath

Anxiety Cross ProductsBambi 98 2 16 - 2 -32Belle 92 3 10 - 1 -10Billy 84 4 2 0 0Boston 77 4 - 5 0 0Bryne 73 6 - 9 2 -18Bubba 68 5 - 14 1 -14

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

-73 / 6 = -12.2

Notice that when there is a negative relationship between two variables

The covariance is negative

Page 157: What is an ANCOVA?

On the other hand, when the relationship between two variables is positive . . .

Page 158: What is an ANCOVA?

On the other hand, when the relationship between two variables is positive . . . The covariance will be positive.

Page 159: What is an ANCOVA?

On the other hand, when the relationship between two variables is positive . . . The covariance will be positive.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73 / 6 = 12.2

Page 160: What is an ANCOVA?

On the other hand, when the relationship between two variables is positive . . . The covariance will be positive.

Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16 1Belle 92 6 10 2Billy 84 4 2 0Boston 77 4 -5 0Bryne 73 3 -9 -1Bubba 68 2 -14 -2

Sum 492 24Mean 82 4

iX iY i XX i YY Student

StudentTest

ScoresMath

Anxiety Bambi 98 5 16Belle 92 6 10Billy 84 4 2Boston 77 4 -5Bryne 73 3 -9Bubba 68 2 -14

Sum 492 24Mean 82 4

iX iY i XX

1620009

28

Student

Student Cross ProductsBambi 98 5 16 1 16Belle 92 6 10 2 20Billy 84 4 2 0 0Boston 77 4 -5 0 0Bryne 73 3 -9 -1 9Bubba 68 2 -14 -2 28

Sum 492 24Mean 82 4

iX iY i XX i YY i iX YX Y

73 / 6 = 12.2

Page 161: What is an ANCOVA?

Why is this important to know?

Page 162: What is an ANCOVA?

Why is this important to know?Especially in light of the question we are trying to answer?

Page 163: What is an ANCOVA?

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.

Page 164: What is an ANCOVA?

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.

Page 165: What is an ANCOVA?

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.

Page 166: What is an ANCOVA?

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.

Page 167: What is an ANCOVA?

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).

Page 168: What is an ANCOVA?

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.

Page 169: What is an ANCOVA?

So, let’s begin by running a One-way ANOVA without removing the covariance between pizza preference and ounces eaten by athlete type.

Page 170: What is an ANCOVA?

Here’s the data

Football Players Basketball Players Soccer Players29 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

Page 171: What is an ANCOVA?

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.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Football Players Basketball Players Soccer Players29 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

Page 172: What is an ANCOVA?

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.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Football Players Basketball Players Soccer Players29 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.

Page 173: What is an ANCOVA?

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.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Football Players Basketball Players Soccer Players29 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.

Page 174: What is an ANCOVA?

Then

After calculating the covariance between pizza preference and ounces of pizza eaten in one sitting, we find that there is a positive relationship.

Page 175: What is an ANCOVA?

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.55.0 8.0 4.53.5 4.5 3.59.0 9.5 6.07.0 6.5 6.08.0 7.0 4.56.5 7.5 6.07.5 9.0 1.52.5 8.5 6.59.0 4.0 5.08.0 7.5 5.55.0 8.0 4.0

Football Players Basketball Players Soccer Players29 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

Page 176: What is an ANCOVA?

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.55.0 8.0 4.53.5 4.5 3.59.0 9.5 6.07.0 6.5 6.08.0 7.0 4.56.5 7.5 6.07.5 9.0 1.52.5 8.5 6.59.0 4.0 5.08.0 7.5 5.55.0 8.0 4.0

Football Players Basketball Players Soccer Players29 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

Page 177: What is an ANCOVA?

After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table:

Page 178: What is an ANCOVA?

After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table:

SS df MS FAdjusted means (BG) 74.5 2 37.2 3.8Adjusted error (WG) 314.1 32 9.8

Adjusted total 388.6 34

Page 179: What is an ANCOVA?

After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table:

SS df MS FAdjusted means (BG) 74.5 2 37.2 3.8Adjusted error (WG) 314.1 32 9.8

Adjusted total 388.6 34

Adjusted means – after we took out the covariance between the two variables: Type of Athlete and Pizza Preference (the covariate)

Page 180: What is an ANCOVA?

After running the Analysis of Covariance on the data and partialling out pizza reference, here is the resulting ANOVA table:

SS df MS FAdjusted means (BG) 74.5 2 37.2 3.8Adjusted 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.

Page 181: What is an ANCOVA?

Let’s compare the F-ratio for just the ANOVA

Page 182: What is an ANCOVA?

Let’s compare the F-ratio for just the ANOVA

SS df MS F-RatioBetween Groups 38.9 2 19.4 0.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Before

Page 183: What is an ANCOVA?

Let’s compare the F-ratio for just the ANOVA

With the ANCOVA

SS df MS F-RatioBetween Groups 38.9 2 19.4 0.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Before

Page 184: What is an ANCOVA?

Let’s compare the F-ratio for just the ANOVA

With the ANCOVA

SS df MS F-RatioBetween Groups 38.9 2 19.4 0.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Before

SS df MS F-RatioAdjusted means (BG) 74.5 2 37.2 3.8Adjusted error (WG) 314.1 32 9.8

Adjusted total 388.6 34

After

Page 185: What is an ANCOVA?

Let’s compare the F-ratio for just the ANOVA

With the ANCOVA

SS df MS F-RatioBetween Groups 38.9 2 19.4 0.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Before

SS df MS F-RatioAdjusted means (BG) 74.5 2 37.2 3.8Adjusted error (WG) 314.1 32 9.8

Adjusted total 388.6 34

After

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.

Page 186: What is an ANCOVA?

Let’s compare the F-ratio for just the ANOVA

With the ANCOVA

SS df MS F-RatioBetween Groups 38.9 2 19.4 0.4Within Groups (error) 1587.4 33 48.1Total 1626.3

Before

SS df MS F-RatioAdjusted means (BG) 74.5 2 37.2 3.8Adjusted error (WG) 314.1 32 9.8

Adjusted total 388.6 34

After

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.

Page 187: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Page 188: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Page 189: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

Page 190: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

Notice that after controlling for pizza preference, the mean for

Basketball players drops

Page 191: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

Notice that after controlling for pizza preference, the mean for

Basketball players drops

Page 192: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

Notice that after controlling for pizza preference, the mean for

Basketball players drops

Page 193: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

And the mean for Soccer players

INCREASES!

Page 194: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

And the mean for Soccer players

INCREASES!

Page 195: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

And the mean for Soccer players

INCREASES!

Page 196: What is an ANCOVA?

We can even adjust the original means for amount of ounces of pizza eaten, after controlling for preference.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

That’s the Power of ANCOVA!

Page 197: What is an ANCOVA?

Important note,The more the covariate (pizza preference) covaries with the independent variable (type of athlete) . .

Page 198: What is an ANCOVA?

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.

Page 199: What is an ANCOVA?

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).

Page 200: What is an ANCOVA?

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.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

Page 201: What is an ANCOVA?

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.

Athlete Football Basketball Soccer

Means 25.4 26.3 23.8

Original Means

Athlete Football Basketball Soccer

Means 24.3 23.8 27.3

Adjusted Means (after controlling for the covariance)

Big Adjustments

Page 202: What is an ANCOVA?

One final note

Page 203: What is an ANCOVA?

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.

Page 204: What is an ANCOVA?

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.

Page 205: What is an ANCOVA?

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)

Page 206: What is an ANCOVA?

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.)

Page 207: What is an ANCOVA?

In summary

Page 208: What is an ANCOVA?

Analysis of Covariance is a powerful tool that makes it possible to control for any variable that is not of interest (eg. pizza preference)

Page 209: What is an ANCOVA?

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)

Page 210: What is an ANCOVA?

There are more complex methods such as Factorial ANCOVA, Repeated measures ANCOVA and Multivariate ANCOVA.

Page 211: What is an 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.