Sunteți pe pagina 1din 29

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

SPSS for Beginners: Lesson 7



ANOVA Tests

.

-

Page 1 of 29

Page 2 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

1-7 Introduction

.




.


Pooled Test
Analysis of Variance Test
ANOVA .

.1

.2

Page 3 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

F
F Distribution .


Between groups Within
groups .

:
: .

F
.

F
.


F Post-Hoc Multiple
Comparisons

Page 4 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

.1

.2

) (

.3

.4

Lesson 007. By Dr. Abdelfatah Mustafa.

.
.

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 5 of 29

SPSS for Beginners:


Lesson 7
2-7
One Way ANOVA

Page 6 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

2-7

Lesson 007. By Dr. Abdelfatah Mustafa.

One Way ANOVA

m

SPSS :
:1-7 .


:
7

10

Second: 3

Third:

First:

:
OWA Factor
Vitamins

Page 7 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

:
:
:

H 0 : 1 = 2 = 3
H a : at least two means are not equals


:

H 0 : i = j ,
, i < j = 1, 2, 3
H a : i j

Lesson 007. By Dr. Abdelfatah Mustafa.

Page 8 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

.
Analyze Descriptive Statistics Explore
:

Tests of Normality

Statistic
df
Sig.

Kolmogorov-Smirnova

Vitamins
Shapiro-Wilk
Vitamins
Kolmogorov-Smirnova Vitamins
Shapiro-Wilk
Vitamins
Kolmogorov-Smirnova Vitamins
Shapiro-Wilk
Vitamins

1
.155
.998
4
4
.
.995

factor
2
.153
.952
7
7
.200*
.744

3
.231
.881
5
5
.200*
.314

*. This is a lower bound of the true significance.


a. Lilliefors Significance Correction

. ) (

.
.

Page 9 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.


SPSS
:
-1 Analyze Compare Means
-2 One Way ANOVA

Lesson 007. By Dr. Abdelfatah Mustafa.

Page 10 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

-3 One-Way ANOVA
Vitamins Dependent
List: factor Factor:
-4 Options
one-way ANOVA: Options
Descriptive
Homogeneity-of-Variance test
Means plot
.
-5 Continue
-6 Post Hoc
One-way- ANOVA: Post Hoc
Multiple Comparisons

.

Lesson 007. By Dr. Abdelfatah Mustafa.

Page 11 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

-7 Equal
variances Assumed
LSD


Equal variances Not
Assumed
-8 Significance level
0.05 .

Post Hoc

.

-9 Continue
OK

Lesson 007. By Dr. Abdelfatah Mustafa.

Lesson 007. By Dr. Abdelfatah Mustafa.

Page 12 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Descriptives
Vitamins

N
1
2
3
Total

4
7
5
16

Mean
5.5000
6.5714
2.2000
4.9375

Std. Deviation
2.08167
2.63674
.83666
2.76812

Std. Error
1.04083
.99659
.37417
.69203

95% Confidence Interval for


Mean
Lower Bound Upper Bound
2.1876
8.8124
4.1329
9.0100
1.1611
3.2389
3.4625
6.4125

Minimum
3.00
3.00
1.00
1.00

Maximum
8.00
10.00
3.00
10.00

:
Descriptives

.1
.

.2
. 95%

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 13 of 29

Test of Homogeneity of Variances


Vitamins
Levene
Statistic
3.726

df1

df2
2

13

Sig.
.053

:
Test of Homogeneity of Variances
Levene
=0.05 Sig. = 0.53
. .

Page 14 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

ANOVA
Vitamins
Sig.
.011

F
6.490

Mean Square
28.712
4.424

df
2
13
15

Sum of
Squares
57.423
57.514
114.938

Between Groups
Within Groups
Total

:
ANOVA
Sig. = 0.011 =0.05
) (
) (
.

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 15 of 29

Multiple Comparisons
Dependent Variable: Vitamins
LSD

(I) factor
1
2
3

(J) factor
2
3
1
3
1
2

Mean
Difference
(I-J)
-1.07143
3.30000*
1.07143
4.37143*
-3.30000*
-4.37143*

Std. Error
1.31836
1.41099
1.31836
1.23161
1.41099
1.23161

Sig.
.431
.036
.431
.004
.036
.004

95% Confidence Interval


Lower Bound
Upper Bound
-3.9196
1.7767
.2518
6.3482
-1.7767
3.9196
1.7107
7.0322
-6.3482
-.2518
-7.0322
-1.7107

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

:
: multiple Comparisons

.1

.2

.3

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 16 of 29

Page 17 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

)
.1
(

.2

:

)(i
Family wise error k
)(ii
k 0.05
0.15

)(iii
3
Bonferroni
)(iv

.3
Planned Comparisons
.

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 18 of 29

SPSS for Beginners:


Lesson 7

Two Way ANOVA

Page 19 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

3-7 Two Way ANOVA

) (


.

-1 )(
) (
-2

F-max

Page 20 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

2


) ( .
.

:
/

10

11

13

15

17

15

20

18

18

13

20

Page 21 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

:

.

:
-1
:
:

-2
:
:
.

Page 22 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

:
:





.
.


:SPSS

:
C
R Prod
twa.sav

Lesson 007. By Dr. Abdelfatah Mustafa.

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 23 of 29

:
General Linear Model Analyze -1
Univariate
Prod Univariate -2
R, Dependent Variable
Fixed Factors C
Options -3
Univariate: Options

Page 24 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

-4
Estimated Marginal Means

) ( )Factor(s
and factor interactions Display
means for: Display

descriptive statistics
Homogeneity tests
Estimate of effect size

Significance level
) (
0.05 . Continue
Univariate:

Lesson 007. By Dr. Abdelfatah Mustafa.

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 25 of 29

Specify Model Univariate: Mode Model -5


Model: Factors & Covariates C, R Custom
Continue Main effects Build Term(s)
Univariate:

Page 26 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Lesson 007. By Dr. Abdelfatah Mustafa.

-6 )
(
Post Hoc
-7 Ok

Lesson 007. By Dr. Abdelfatah Mustafa.

Page 27 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Univariate Analysis of Variance


Between-Subjects Factors
N
C

1
2
3
1
2
3
4

4
4
4
3
3
3
3

Between-subjects factors :

.

Descriptive :
Statistics

.

Descriptive Statistics
Dependent Variable: Prod
C
1

Total

R
1
2
3
4
Total
1
2
3
4
Total
1
2
3
4
Total
1
2
3
4
Total

Mean
10.00
15.00
20.00
13.00
14.50
11.00
17.00
18.00
9.00
13.75
13.00
15.00
18.00
20.00
16.50
11.33
15.67
18.67
14.00
14.92

Std. Deviation
.
.
.
.
4.203
.
.
.
.
4.425
.
.
.
.
3.109
1.528
1.155
1.155
5.568
3.777

N
1
1
1
1
4
1
1
1
1
4
1
1
1
1
4
3
3
3
3
12

Lesson 007. By Dr. Abdelfatah Mustafa.

Page 28 of 29

Math. Department, Faculty of Science, Mansoura University, Egypt.

Tests of Between-Subjects Effects


Dependent Variable: Prod
Type III Sum
Source
of Squares
Corrected Model
101.083a
Intercept
2670.083
C
16.167
R
84.917
Error
55.833
Total
2827.000
Corrected Total
156.917

df
5
1
2
3
6
12
11

Mean Square
20.217
2670.083
8.083
28.306
9.306

F
2.173
286.934
.869
3.042

Sig.
.186
.000
.466
.114

Partial Eta
Squared
.644
.980
.225
.603

a. R Squared = .644 (Adjusted R Squared = .348)

Tests of Between-subjects Effects :


R, C
. 0.05 Sig.
.

Lesson 007. By Dr. Abdelfatah Mustafa.

Math. Department, Faculty of Science, Mansoura University, Egypt.

Page 29 of 29


Dr. A. Mustafa
amelsayed@mans.edu.eg

S-ar putea să vă placă și