Download presentation
Presentation is loading. Please wait.
Published byBuck Ryan Modified over 9 years ago
1
F formula F = Variance (differences) between sample means Variance (differences) expected from sampling error
2
Simple data table - Audience vs. No Audience No AudienceAudience X = 5X = 7
3
Simple data table - Low Esteem vs. High Esteem Self-Esteem LowHigh X = 9X = 3
4
Audience vs. No Audience & High Esteem vs. Low Esteem No AudienceAudience High Low
5
Audience vs. No Audience & High Esteem vs. Low Esteem No AudienceAudience HighX = 3 LowX = 7X = 11
6
Audience vs. No Audience & High Esteem vs. Low Esteem No AudienceAudience HighX = 3 LowX = 7X = 11 X = 5X = 7
7
Audience vs. No Audience & High Esteem vs. Low Esteem No AudienceAudience HighX = 3 LowX = 7X = 11X = 9 X = 5X = 7
8
Graph of Means HighLow 10 8 6 4 2 Mean Number of Errors No Audience Audience
9
Single Factor ANOVA vs. 2 Factor ANOVA Single Independent Variable Dependent Variable Single Factor - One-way ANOVA Now: Two Independent Variables Dependent Variable Two Factor ANOVA
10
Program type vs. Class size Factor B (class size) 18-student class24-student class30-student class Factor A (program) Program I Scores for n = 15 subjects taught by program I in a class of 18 Scores for n = 15 subjects taught by program I in a class of 24 Scores for n = 15 subjects taught by program I in a class of 30 Program II Scores for n = 15 subjects taught by program II in a class of 18 Scores for n = 15 subjects taught by program II in a class of 24 Scores for n = 15 subjects taught by program II in a class of 30
11
Two-factor analysis of variance permits us to test: 1.Mean difference between the 2 teaching programs 2.Mean differences between the 3 class sizes 3.Combinations of teaching program and class size
12
Three separate hypothesis tests in one ANOVA Three F-ratios: F = Variance (differences) between sample means Variance (differences) expected from sampling error
13
Program type vs. Class size data 1 18-student class 24-student class 30-student class Program I X = 85X = 77X = 75X = 79 Program II X = 75X = 67X = 65X = 69 X = 80X = 72X = 70
14
Hypotheses for Teaching program Factor ATeaching Program (Teaching program has no effect on math scores) (Teaching program has an effect on math scores) F = Variance (differences) between treatment means for Factor A Variance (differences) expected from sampling error
15
Program type vs. Class size data 1 18-student class 24-student class 30-student class Program I X = 85X = 77X = 75X = 79 Program II X = 75X = 67X = 65X = 69 X = 80X = 72X = 70
16
Hypotheses for Class Size Factor BClass Size (Class size has no effect on math scores) (Class size has an effect on math scores) F = Variance (differences) between treatment means for Factor B Variance (differences) expected from sampling error At least one population mean is different
17
Program type vs. Class size data 1 18-student class 24-student class 30-student class Program I X = 85X = 77X = 75X = 79 Program II X = 75X = 67X = 65X = 69 X = 80X = 72X = 70
18
Program type vs. Class size data 2 18-student class 24-student class 30-student class Program I X = 80X = 77X = 80X = 79 Program II X = 80X = 67X = 60X = 69 X = 80X = 72X = 70
19
Graphs of Math Test Score Means 18 Students 90 85 80 75 70 Mean math test scores 24 Students 30 Students 65 60 Program I Program II 18 Students 24 Students 30 Students 90 85 80 75 70 Mean math test scores 65 60 Program I Program II
20
Thus two-factor AVOVA composed of 3 distinct hypothesis tests: 1.The main effect of A (called the A-effect) 2.The main effect of B (called the B-effect) 3.The interaction (called the AxB interaction)
21
(a) Data showing a main effect for factor A, but no B-effect and no interaction B1B1 B2B2 A1A1 20 A 1 mean = 20 A2A2 10 A 2 mean = 10 B 1 mean = 15 B 2 mean = 15 No difference 10-point difference
22
(b) Data showing a main effects for both factor A and factor B, but no interaction B1B1 B2B2 A1A1 1030A 1 mean = 20 A2A2 2040A 2 mean = 30 B 1 mean = 15 B 2 mean = 35 20-point difference 10-point difference
23
(c) Data showing no main effect for either factor A or factor B, but an interaction B1B1 B2B2 A1A1 1020A 1 mean = 15 A2A2 2010A 2 mean = 15 B 1 mean = 15 B 2 mean = 15 No difference
24
Null and Alternate Hypotheses for an Interaction Interaction H 0 : There is no interaction between factors A and B. H 1 : There is an interaction between factors A and B. OR H 0 : The effect of factor A does not depend on the levels of factor B (and B does not depend on A). H 1 : The effect of one factor does depend on the levels of the other factor (and B does not depend on A). F = Variance (differences) not explained by main effects Variance (differences) expected from sampling error
25
Differences in Variabiltiy Between Treatment Variability 1.Treatment (factor A, B, or AxB interaction) 2.Individual differences (difference of SS in each treatment condition) 3.Experimental error Variability Within Treatments (Chance) 1.Individual differences 2.Experimental error F = Treatment effect + Individual Differences + Experimental Error Individual Differences + Experimental Error
26
Treatment (Cell) Combinations Factor B Level B 1 Level B 2 Level B 3 Factor A Level A 1 Treatment (cell) A 1 B 1 Treatment (cell) A 1 B 2 Treatment (cell) A 1 B 3 Level A 2 Treatment (cell) A 2 B 1 Treatment (cell) A 2 B 2 Treatment (cell) A 2 B 3
27
Breakdown of Variability Sources Total Variability Within-treatments Variability Between-treatments Variability Factor A Variability Factor B Variability Interaction Variability Stage 2 Stage 1
28
2 - Factor Data Table Factor B B1B1 B2B2 B3B3 Factor A A1A1 1 6 1 AB = 10 SS = 20 7 11 4 6 AB = 35 SS = 26 3 1 6 4 AB = 15 SS = 18 A 1 = 60 A2A2 0 3 7 5 AB = 20 SS = 28 0 5 0 AB = 5 SS = 20 0 2 0 3 AB = 5 SS = 8 A 2 = 30 B 1 = 30B 2 = 40B 3 = 20 N = 30 G = 90 ∑x 2 = 520
29
2 - Factor Data Table w/ Cell Means Factor B B1B1 B2B2 B3B3 Factor A A1A1 1 6 1 AB = 10 SS = 20 7 11 4 6 AB = 35 SS = 26 3 1 6 4 AB = 15 SS = 18 A 1 = 60 A2A2 0 3 7 5 AB = 20 SS = 28 0 5 0 AB = 5 SS = 20 0 2 0 3 AB = 5 SS = 8 A 2 = 30 B 1 = 30B 2 = 40B 3 = 20 N = 30 G = 90 ∑x 2 = 520
30
2 - Factor Data Table w/ Cell Means & Marginal Means Factor B B1B1 B2B2 B3B3 Factor A A1A1 1 6 1 AB = 10 SS = 20 7 11 4 6 AB = 35 SS = 26 3 1 6 4 AB = 15 SS = 18 A 1 = 60 A2A2 0 3 7 5 AB = 20 SS = 28 0 5 0 AB = 5 SS = 20 0 2 0 3 AB = 5 SS = 8 A 2 = 30 B 1 = 30B 2 = 40B 3 = 20 N = 30 G = 90 ∑x 2 = 520
31
Breakdown of Variability Sources and Formulas Interaction SS found by subtraction = 80 Stage 2 Stage 1 TotalBetween TreatmentsWithin TreatmentsFactor AFactor B
32
Breakdown of Degrees of Freedom and Formulas Interaction df = df A x df B = 2 Stage 2 Stage 1 Total df = N - 1 = 29 Between Treatments df = ab - 1 = 5 Within Treatments df = N - ab = 24 Factor A df = a - 1 = 1 Factor B df = b - 1 = 2
33
Breakdown of both Degrees of Freedom and SS Formulas Interaction SS is found by subtraction df = (a - 1)(b - 1) Stage 2 Stage 1 Total df = N - 1 Between Treatments df = ab - 1 Within Treatments df = N - ab Factor A df = a - 1 Factor B df = b - 1
34
2 F-ratio distributions 0123456 0123456 4.26 3.40 Distribution of F-ratios df = 2.24 Distribution of F-ratios df = 1.24
35
2-Factor Source Table SourceSSdfMS Fp <.05 Between Treatments1305 Factor A (program)301 F(1,24)= 6.0 √ Factor B (class size)20210F(1,24)= 2.0 n.s. AxB Interaction80240F(1,24)= 8.0 √ Within Treatments120245 Total25029
36
Plot of the mean scores of Factor A and B 7 6 5 4 3 2 1 0 B1B1 B2B2 B3B3 Factor B Mean score A2A2 A1A1
37
Schacter (1968) Obesity and Eating Behavior Hypothesis: obese individuals do not respond to internal biological signals of hunger
38
Variables 2 Independent Variables or Factors –Weight (obese vs. normal) –Fullness (full stomach vs. empty stomach) Dependent Variable –Number of crackers eaten by each subject
39
Weight vs. Fullness Factor B (fullness) EmptyFull Factor A (weight) Normaln = 20 Obesen = 20
40
Weight vs. Fullness Factor B (fullness) Empty Stomach Full Stomach Factor A (weight) Normal n = 20 X = 22 AB = 440 SS = 1540 n = 20 X = 15 AB = 300 SS = 1270 A 1 = 740 Obese n = 20 X = 17 AB = 340 SS = 1320 n = 20 X = 18 AB = 360 SS = 1266 A 2 = 700 B 1 = 780B 2 = 660 G = 1440 x 2 = 31,836 N = 80
41
Source Table for Weight vs. Fullness SourceSSdfMS Fp <.05 Between Treatments5203 Factor A (weight)201 F(1,76)= 0.28 n.s. Factor B (fullness)1801 F(1,76)= 2.54 n.s. AxB Interaction3201 F(1,76)= 4.51 √ Within Treatments53967671 Total591679
42
Plot of mean number of crackers eaten for each group EmptyFull Normal2215 Obese1718 Mean Number of Crackers Eaten 14 15 16 17 18 19 20 21 22 23 Mean Number of Crackers Eaten Empty Stomach Full Stomach Obese Normal
43
Graph of Schacter 1
44
Schacter Graph 2
45
Conclusion to Weight vs. Fullness Problem The means and standard deviations are presented in Table 1. The two-factor analysis of variance showed no significant main effect for the weight factor, F(1,76) = 0.28, p >.05; no significant main effect for the fullness factor, F(1,76) = 2.54, p >.05; but the interaction between weight and fullness was significant, F(1,76) = 4.51, p <.05. Mean number of crackers eaten in each treatment condition Fullness Empty Stomach Full Stomach Weight Normal M = 22.0 SD = 9.00 M = 15.0 SD = 8.18 Obese M = 17.0 SD = 8.34 M = 18.0 SD = 8.16 TABLE 1
46
Data table - Treatment 1 vs. 2 & Males vs. Females Treatment 1Treatment 2 35 34 13 25 1Males3 7Females7 77 58 69 59 T 1 = 40T 2 = 60 SS 1 = 48SS 2 = 48
47
Data table for Treatment 1 vs. 2 & M vs. F Factor A (Treatment) Treatment 1Treatment 2 Factor B (Sex) Males 3 1 2 1 AB = 10 SS = 4 5 4 3 5 3 AB = 20 SS = 4 B 1 = 30 Females 7 5 6 5 AB = 30 SS = 4 7 8 9 AB = 40 SS = 4 B 2 = 70 A 1 = 40A 2 = 60
48
Assumptions for the 2-factor ANOVA: (Independent Measures) 1.Observations within each sample are independent 2.Populations from which the samples are drawn are normal 3.Populations from which the samples are selected must have equal variances (homogeneity of variance)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.