Title: So far. . .
1(No Transcript)
2One-Way ANOVA
- ANOVA Analysis of Variance
- This is a technique used to analyze the results
of an experiment when you have more than two
groups
3Example
- You measure the number of days 7 psychology
majors, 7 sociology majors, and 7 biology majors
are absent from class - You wonder if the average number of days each of
these three groups was absent is significantly
different from one another
4Results
X 3.00
X 2.00
X 1.00
5Hypothesis
- Alternative hypothesis (H1)
- H1 The three population means are not all equal
6Hypothesis
- Null hypothesis (H0)
- ?psych ?socio ?bio
7Between and Within Group Variability
- Two types of variability
- Between
- the differences between the mean scores of the
three groups - The more different these means are, the more
variability!
8Results
X 3.00
X 2.00
X 1.00
9Between Variability
S2 .66
X 3.00
X 2.00
X 1.00
10Between Group Variability
- What causes this variability to increase?
- 1) Effect of the variable (college major)
- 2) Sampling error
11Between and Within Group Variability
- Two types of variability
- Within
- the variability of the scores within each group
12Results
X 3.00
X 2.00
X 1.00
13Within Variability
S2 .57
S2 1.43
S2 .57
X 3.00
X 2.00
X 1.00
14Within Group Variability
- What causes this variability to increase?
- 1) Sampling error
15Between and Within Group Variability
- Between-group variability
- Within-group variability
16Between and Within Group Variability
- sampling error effect of variable
- sampling error
17Between and Within Group Variability
- sampling error effect of variable
- sampling error
- Thus, if null hypothesis was true this would
result in a value of 1.00
18Between and Within Group Variability
- sampling error effect of variable
- sampling error
- Thus, if null hypothesis was not true this value
would be greater than 1.00
19(No Transcript)
20Calculating this Variance Ratio
21Calculating this Variance Ratio
22Calculating this Variance Ratio
23Degrees of Freedom
- dfbetween
- dfwithin
- dftotal
- dftotal dfbetween dfwithin
24Degrees of Freedom
- dfbetween k - 1 (k number of groups)
- dfwithin N - k (N total number of
observations) - dftotal N - 1
- dftotal dfbetween dfwithin
25Degrees of Freedom
- dfbetween k - 1 3 - 1 2
- dfwithin N - k 21 - 3 18
- dftotal N - 1 21 - 1 20
- 20 2 18
26Sum of Squares
- SSBetween
- SSWithin
- SStotal
- SStotal SSBetween SSWithin
27Sum of Squares
28Sum of Squares
29Sum of Squares
30Sum of Squares
- Ingredients
- ?X
- ?X2
- ?Tj2
- N
- n
31To Calculate the SS
32?X
?Xs 21
?Xp 14
?XB 7
33?X
?X 42
?Xs 21
?Xp 14
?XB 7
34?X2
?X 42
?Xs 21
?Xp 14
?XB 7
?X2s 67
?X2P 38
?X2B 11
35?X2
?X 42 ?X2 116
?Xs 21
?Xp 14
?XB 7
?X2s 67
?X2P 38
?X2B 11
36T2 (?X)2 for each group
?X 42 ?X2 116
?Xs 21
?Xp 14
?XB 7
?X2s 67
?X2P 38
?X2B 11
T2P 196
T2B 49
T2s 441
37?Tj2
?X 42 ?X2 116 ?Tj2 686
?Xs 21
?Xp 14
?XB 7
?X2s 67
?X2P 38
?X2B 11
T2P 196
T2B 49
T2s 441
38N
?X 42 ?X2 116 ?Tj2 686 N 21
?Xs 21
?Xp 14
?XB 7
?X2s 67
?X2P 38
?X2B 11
T2P 196
T2B 49
T2s 441
39n
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
?Xs 21
?Xp 14
?XB 7
?X2s 67
?X2P 38
?X2B 11
T2P 196
T2B 49
T2s 441
40Ingredients
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
41Calculate SS
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
42Calculate SS
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
42
116
32
21
43Calculate SS
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
44Calculate SS
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
686
18
116
7
45Calculate SS
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
46Calculate SS
?X 42 ?X2 116 ?Tj2 686 N 21 n 7
14
686
42
7
21
47Sum of Squares
- SSBetween
- SSWithin
- SStotal
- SStotal SSBetween SSWithin
48Sum of Squares
- SSBetween 14
- SSWithin 18
- SStotal 32
- 32 14 18
49Calculating the F value
50Calculating the F value
51Calculating the F value
14
7
2
52Calculating the F value
7
53Calculating the F value
7
18
1
18
54Calculating the F value
7
7
1
55How to write it out
56Significance
- Is an F value of 7.0 significant at the .05
level? - To find out you need to know both df
57Degrees of Freedom
- Dfbetween k - 1 (k number of groups)
- dfwithin N - k (N total number of
observations)
58Degrees of Freedom
- Dfbetween k - 1 3 - 1 2
- dfwithin N - k 21 - 3 18
- Page 390 Table F
- Dfbetween are in the numerator
- Dfwithin are in the denominator
- Write this in the table
59Critical F Value
- F(2,18) 3.55
- The nice thing about the F distribution is that
everything is a one-tailed test
60Decision
- Thus, if F value gt than F critical
- Reject H0, and accept H1
- If F value lt or to F critical
- Fail to reject H0
61Current Example
- F value 7.00
- F critical 3.55
- Thus, reject H0, and accept H1
62- Alternative hypothesis (H1)
- H1 The three population means are not all equal
- In other words, psychology, sociology, and
biology majors do not have equal class attendence - Notice It does not say where this difference is
at!!
63How to write it out
64(No Transcript)