Top Banner
COMPARING THREE OR MORE MEANS Prepared by: Miss MJ B. Eduria
66

Comparing three or more means (ANOVA)

Aug 02, 2015

Download

Education

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Comparing three or more means (ANOVA)

COMPARING THREE OR MORE

MEANSPrepared by:

Miss MJ B. Eduria

Page 2: Comparing three or more means (ANOVA)

OUTLINEI. Compare Three or More Means

1. ANOVA

a. One Factor Anova

b. Two Factor Anova

2. ANCOVA

a. Concept of Covariate

b. Selecting Covariates

c. One Factor Ancova

d. Two Factor Ancova

Page 3: Comparing three or more means (ANOVA)

• The analysis of variance, popularly known as the ANOVA, can be used in cases where there are more than two groups.

• A procedure of comparing more than two groups - independent variable: smoking status non smoking, onepack a day, two pack a day

- dependent variable: number of coughs per day

K = number of conditions (in this case, 3)

ANOVA (Analysis of Variance)

Page 4: Comparing three or more means (ANOVA)

Example 1: A. Determine the Exam performance differed based on

test anxiety levels among the students Independent Variable: TEST ANXIETY Levels a. low stressed students b. medium stressed students c. high stressed students Dependent Variable: Exam Performance (measured from 0-100)  

Page 5: Comparing three or more means (ANOVA)
Page 6: Comparing three or more means (ANOVA)

ONE WAY ANOVA•The ONE-WAY ANOVA is used to determine whether there are any significant differences between the means of three or more independent (unrelated) groups.

Page 7: Comparing three or more means (ANOVA)

TWO-WAY ANOVA

•A TWO-WAY ANOVA is useful when we desire to compare the effect of multiple levels of two factors and we have multiple observations at each level.•One-Way ANOVA compares three or more levels of one factor. But some experiments involve two factors each with multiple levels in which case it is appropriate to use Two-Way ANOVA.

Page 8: Comparing three or more means (ANOVA)

ONE WAY ANOVA VS TWO WAY ANOVA

One way ANOVA Two way ANOVA

• Has one independent variable (1 factor) with >2 conditions conditions

• Condition, Level, Treatment

Example: for a brand of cola (factor)Level: Coke,Pepsi, RC Cola

Independent Variables = factors

• Has 2 Independent Variables (2 Factors)

-each can have multiple conditions

Example: Two Independent Variable (IV’s) - IV1: Brand; and IV2: Calories - Three Levels of Brand: Coke, Pepsi, RC Cola - Two Levels of Calories: Regular, Diet

Page 9: Comparing three or more means (ANOVA)
Page 10: Comparing three or more means (ANOVA)
Page 11: Comparing three or more means (ANOVA)
Page 12: Comparing three or more means (ANOVA)

ANALYSIS OF

COVARIANCE

Page 13: Comparing three or more means (ANOVA)

•ANCOVAThe obvious difference between ANOVA and ANCOVA is the the letter "C", which stands for 'covariance'. • Like ANOVA, "Analysis of Covariance" (ANCOVA) has a single continuous response variable. •Unlike ANOVA, ANCOVA compares a response variable by both a factor and a continuous independent variable (e.g. comparing test score by both 'level of education' and 'number of hours spent studying'). • The term for the continuous independent variable (IV) used in ANCOVA is "covariate". 

Page 14: Comparing three or more means (ANOVA)
Page 15: Comparing three or more means (ANOVA)

WHEN TO USE ANCOVA?

• ANCOVA is used in experimental studies when researchers want to remove the effects of some antecedent variable. For example, pretest scores are used as covariates in pretest posttest experimental designs. • ANCOVA is also used in non-experimental research, such as surveys or nonrandom samples, or in quasi-experiments when subjects cannot be assigned randomly to control and experimental groups. Although fairly common, the use of ANCOVA for non-experimental research is controversial (Vogt, 1999)

Page 16: Comparing three or more means (ANOVA)

EXAMPLE

• A One-way ANCOVA was conducted to determine a statistically significant difference between [name levels of the independent variables] on (dependent variable) controlling for [name the covariate].

Page 17: Comparing three or more means (ANOVA)

SPECIFIC EXAMPLE•A One-way ANCOVA was conducted to determine a statistically significant difference between football, basketball, and basketball players on the number of slices of pizza eaten in one sitting controlling for weight.

Page 18: Comparing three or more means (ANOVA)

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 19: Comparing three or more means (ANOVA)

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 20: Comparing three or more means (ANOVA)

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: Inferent

ialDescript

iveor

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 21: Comparing three or more means (ANOVA)

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 22: Comparing three or more means (ANOVA)

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 23: Comparing three or more means (ANOVA)

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: Relations

hipDifferen

ceor

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

Page 24: Comparing three or more means (ANOVA)

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 25: Comparing three or more means (ANOVA)

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:

NormalNot

Normalor

Page 26: Comparing three or more means (ANOVA)

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:

NormalNot

Normalor

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

Page 27: Comparing three or more means (ANOVA)

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 Normal

or

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

Page 28: Comparing three or more means (ANOVA)

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

Inferential

Descriptive

NormalNot

Normal

Page 29: Comparing three or more means (ANOVA)

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 30: Comparing three or more means (ANOVA)

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

Page 31: Comparing three or more means (ANOVA)

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

Page 32: Comparing three or more means (ANOVA)

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

Inferential

Descriptive

NormalNot

Normal

Scaled Categorical

Page 33: Comparing three or more means (ANOVA)

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 DV2 or more

DVor

Page 34: Comparing three or more means (ANOVA)

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 DV2 or more

DVor

Page 35: Comparing three or more means (ANOVA)

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 DV2 or more

DVor

Page 36: Comparing three or more means (ANOVA)

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 37: Comparing three or more means (ANOVA)

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 IV2 or more

IVsor

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

Page 38: Comparing three or more means (ANOVA)

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 IV2 or more

IVsor

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

Page 39: Comparing three or more means (ANOVA)

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 IV2 or more

IVsor

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

Page 40: Comparing three or more means (ANOVA)

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.

InferentialDescriptiv

e

InferentialDescriptiv

e

NormalNot

Normal

ScaledCategoric

al

1 DV2 or more

DV

1 IV2 or more

IV

Page 41: Comparing three or more means (ANOVA)

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 Level2 or more IV

Levelsor

Page 42: Comparing three or more means (ANOVA)

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 Level2 or more IV

Levelsor

Page 43: Comparing three or more means (ANOVA)

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 Level2 or more IV

Levelsor

Page 44: Comparing three or more means (ANOVA)

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

Inferential

Descriptive

NormalNot

Normal

ScaledCategori

cal

1 DV2 or

more DV

1 IV2 or

more IV

2 or more IV Levels

1 IV Level

Page 45: Comparing three or more means (ANOVA)

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:

RepeatedIndepend

entor

Page 46: Comparing three or more means (ANOVA)

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:

RepeatedIndepend

entor

No individual is in more than one group

Page 47: Comparing three or more means (ANOVA)

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:

RepeatedIndepend

entor

No individual is in more than one group

Page 48: Comparing three or more means (ANOVA)

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.

InferentialDescriptiv

e

InferentialDescriptiv

e

NormalNot

Normal

ScaledCategorica

l

1 DV2 or more

DV

1 IV2 or more

IV

2 or more IV Levels

1 IV Level

Independent

Repeated

Page 49: Comparing three or more means (ANOVA)

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 CovariateNot a

Covariateor

Page 50: Comparing three or more means (ANOVA)

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 CovariateNot a

Covariateor

Page 51: Comparing three or more means (ANOVA)

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 CovariateNot a

Covariateor

Page 52: Comparing three or more means (ANOVA)

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 Levels

1 IV Level

IndependentRepeated

A CovariateNot a

Covariate

Page 53: Comparing three or more means (ANOVA)

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

Page 54: Comparing three or more means (ANOVA)

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

First, . . . what is covariance?

Page 55: Comparing three or more means (ANOVA)

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 56: Comparing three or more means (ANOVA)

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 57: Comparing three or more means (ANOVA)

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 58: Comparing three or more means (ANOVA)

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

Covariance is a measure of linear association between two variables, (i.e. how much a change in one variable is linearly associated with a change in another variable

Page 59: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

Independent Variable with assumed

levels –football, basketball,

soccer players

Page 60: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

Dependent Variable

Page 61: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

Covariate

Page 62: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

Between Groups

Degrees of Freedom

Page 63: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

Within Groups

Degrees of Freedom

Page 64: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

F ratio adjusted for

covariate

Page 65: Comparing three or more means (ANOVA)

There is a significant effect of athlete type on number of slides of pizza eaten in one sitting after controlling for athlete weight, F(2, 26) = 4.83, p < .05

Statistical Significance adjusted for

covariate