Comparison of means: F-test ANOVA

Comparison of means: F-test ANOVA Example 1: Bivariate Analysis Variable 2 2 LEVELS >2 LEVELS >2 LEVELS CONTINUOUS X2 ANOVA X2 chi square test ...
64 downloads 2 Views 105KB Size
Comparison of means: F-test ANOVA

Example 1:

Bivariate Analysis

Variable 2

2 LEVELS >2 LEVELS

>2 LEVELS

CONTINUOUS

X2 ANOVA X2 chi square test chi square test (F-test) ANOVA (F-test)

ƒ ƒ

Ho : Average weight A = Average weight Ha : At least two averages are different

ƒ

Statistical test: F-test = (Analysis of Variance)= ANOVA

ƒ

X2 t-test X2 chi square test chi square test

CONTINUOUS t-test

Research question: Among university students, is the average weight of students in university “A” different than that in university “B” and that in university “C”? Is there an association between weight and type of university?

B

= Average weight

Comparison of means: F-test

Variable 1 2 LEVELS

ƒ

-Correlation -Simple linear Regression

One way F-Test (SPSS output): Example 1 Descriptives

weight

N A B C Total

290 1340 345 1975

Mean 65.59 63.46 67.74 64.52

Std. Deviation 13.297 14.201 15.299 14.360

Std. Error .781 .388 .824 .323

95% Confidence Interval for Mean Lower Bound Upper Bound 64.06 67.13 62.70 64.22 66.12 69.36 63.89 65.15

Minimum 41 39 42 39

Maximum 125 135 115 135

ANOVA weight

Between Groups Within Groups Total

Sum of Squares 5414.963 401651.5 407066.5

df 2 1972 1974

Mean Square 2707.482 203.677

F 13.293

Sig. .000

C

Comparison of means: F-test ƒ

This is the p-value for the F-test (testing of the null hypothesis of whether the mean of weight for A = mean of weight for B = mean of weight for C).

ƒ

If this p-value is > 0.05 then accept null hypothesis and conclude that the means of the 3 groups are equal.

ƒ

Comparison of means: F-test ƒ

Post Hoc Tests Multiple Comparisons Dependent Variable: weight Bonferroni

If the p-value is < 0.05 then reject null hypothesis (accept the alternative) and conclude that at least two means are different.

(I) university A

ANOVA

B

weight

C

Between Groups Within Groups Total

Sum of Squares 5414.963 401651.5 407066.5

df 2 1972 1974

Mean Square 2707.482 203.677

F 13.293

Sig. .000

Comparison of means: F-test

ƒ

Sum of Squares 5414.963 401651.5 407066.5

df 2 1972 1974

Mean Square 2707.482 203.677

F 13.293

Sig. .000

(J) university B C A C A B

Mean Difference (I-J) 2.135 -2.144 -2.135 -4.279* 2.144 4.279*

Std. Error .924 1.137 .924 .862 1.137 .862

Sig. .063 .178 .063 .000 .178 .000

95% Confidence Interval Lower Bound Upper Bound -.08 4.35 -4.87 .58 -4.35 .08 -6.34 -2.21 -.58 4.87 2.21 6.34

*. The mean difference is significant at the .05 level.

Comparison of means: F-test ƒ

ANOVA weight

Between Groups Within Groups Total

If we want to know exactly what 2 means are different: need to ask for Post Hoc Test

A p-value < 0.05 (*) identifies significance between 2 groups: In this example differences in average of weight are between B and C. Post Hoc Tests Multiple Comparisons

Since p-value is < 0.05 then reject null hypothesis (accept the alternative) and conclude that at least two means are different.

Dependent Variable: weight Bonferroni

(I) university A B

BUT which of the means are different???

C

(J) university B C A C A B

Mean Difference (I-J) 2.135 -2.144 -2.135 -4.279* 2.144 4.279*

Std. Error .924 1.137 .924 .862 1.137 .862

*. The mean difference is significant at the .05 level.

Sig. .063 .178 .063 .000 .178 .000

95% Confidence Interval Lower Bound Upper Bound -.08 4.35 -4.87 .58 -4.35 .08 -6.34 -2.21 -.58 4.87 2.21 6.34

Comparison of means: F-test

Comparison of means: F-test

Example 1:

ƒ

ƒ Research question: Is there an association between weight and type of university? ƒ Ho : Average weight A = Average weight ƒ Ha : At least two averages are different

B

= Average weight

Multiple Comparisons Dependent Variable: height Bonferroni

C (I) university A

ƒ Statistical test: F-test = 13.293; p

Suggest Documents