1 Two Factor ANOVA Greg C Elvers. 2 Factorial Designs Often researchers want to study the effects of two or more independent variables at the same time.

Slides:



Advertisements
Similar presentations
Multiple-choice question
Advertisements

ANOVA Demo Part 2: Analysis Psy 320 Cal State Northridge Andrew Ainsworth PhD.
Chapter Fourteen The Two-Way Analysis of Variance.
Statistics for the Behavioral Sciences Two-Way Between-Groups ANOVA
Smith/Davis (c) 2005 Prentice Hall Chapter Thirteen Inferential Tests of Significance II: Analyzing and Interpreting Experiments with More than Two Groups.
Dr George Sandamas Room TG60
Two Factor ANOVA.
TWO-WAY BETWEEN SUBJECTS ANOVA Also called: Two-Way Randomized ANOVA Also called: Two-Way Randomized ANOVA Purpose: Measure main effects and interaction.
ONE-WAY BETWEEN SUBJECTS ANOVA Also called One-Way Randomized ANOVA Purpose: Determine whether there is a difference among two or more groups – used mostly.
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Analysis of Variance: ANOVA. Group 1: control group/ no ind. Var. Group 2: low level of the ind. Var. Group 3: high level of the ind var.
Chapter 10 - Part 1 Factorial Experiments.
The Two-way ANOVA We have learned how to test for the effects of independent variables considered one at a time. However, much of human behavior is determined.
Complex Design. Two group Designs One independent variable with 2 levels: – IV: color of walls Two levels: white walls vs. baby blue – DV: anxiety White.
Intro to Statistics for the Behavioral Sciences PSYC 1900
Chapter 9 - Lecture 2 Computing the analysis of variance for simple experiments (single factor, unrelated groups experiments).
Factorial Designs More than one Independent Variable: Each IV is referred to as a Factor All Levels of Each IV represented in the Other IV.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 14: Factorial ANOVA.
Comparing Several Means: One-way ANOVA Lesson 14.
Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin.
2-Way ANOVA, 3-Way ANOVA, etc.
2x2 BG Factorial Designs Definition and advantage of factorial research designs 5 terms necessary to understand factorial designs 5 patterns of factorial.
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
Introduction to Analysis of Variance (ANOVA)
Inferential Statistics
Understanding the Two-Way Analysis of Variance
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
ANOVA Chapter 12.
Factorial ANOVA 2 or More IVs. Questions (1)  What are main effects in ANOVA?  What are interactions in ANOVA? How do you know you have an interaction?
1 One Way Analysis of Variance – Designed experiments usually involve comparisons among more than two means. – The use of Z or t tests with more than two.
ANOVA Greg C Elvers.
The following Analysis of Variance table lists the results from a two-factor experiment. Factor A was whether shelf price was raised or not, and factor.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Comparing Several Means: One-way ANOVA Lesson 15.
PSY 2005 Week 10 – Simple Effects. Factorial Analysis of Variance Simple Effects.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
Between-Groups ANOVA Chapter 12. >When to use an F distribution Working with more than two samples >ANOVA Used with two or more nominal independent variables.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Psych 5500/6500 Other ANOVA’s Fall, Factorial Designs Factorial Designs have one dependent variable and more than one independent variable (i.e.
One-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.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
1 Analysis of Variance (ANOVA) Educational Technology 690.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 3: Factorial Designs Spring, 2009.
Stats/Methods II JEOPARDY. Jeopardy Compare & Contrast Repeated- Measures ANOVA Factorial Design Factorial ANOVA Surprise $100 $200$200 $300 $500 $400.
Smith/Davis (c) 2005 Prentice Hall Chapter Fourteen Designing and Conducting Experiments with Multiple Independent Variables PowerPoint Presentation created.
Chapter 12 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Chapter 12: One-Way Independent ANOVA What type of therapy is best for alleviating.
More sophisticated ANOVA applications Repeated measures and factorial PSY SP2003.
Chapter Eight: Using Statistics to Answer Questions.
IS 4800 Empirical Research Methods for Information Science Class Notes March 16, 2012 Instructor: Prof. Carole Hafner, 446 WVH Tel:
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
McGraw-Hill, Bluman, 7th ed., Chapter 12
McGraw-Hill, Bluman, 7th ed., Chapter 12
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.
Chapter 13 Understanding research results: statistical inference.
1 Lecture 15 One Way Analysis of Variance  Designed experiments usually involve comparisons among more than two means.  The use of Z or t tests with.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
Experiment Basics: Designs Psych 231: Research Methods in Psychology.
Test the Main effect of A Not sign Sign. Conduct Planned comparisons One-way between-subjects designs Report that the main effect of A was not significant.
CHAPTER 15: THE NUTS AND BOLTS OF USING STATISTICS.
Statistics for the Social Sciences
Main Effects and Interaction Effects
Chapter 13 Group Differences
Analysis of Variance: repeated measures
Presentation transcript:

1 Two Factor ANOVA Greg C Elvers

2 Factorial Designs Often researchers want to study the effects of two or more independent variables at the same time Does it matter where a list of words is studied, on the beach or under water? Does it matter where a list of words is recalled, on the beach or under water?

3 Factorial Designs Factor is another name for independent variable The preceding example has two factors: where you study and where you recall In a factorial design, all possible combinations of the factors are present

4 A Factorial Design

5 Naming Factorial Designs Factorial designs are referred to by the number the number of IVs and the number of levels of each IV A design with two IVs is said to be an n X m (read n by m) design n is replaced with the number of levels, or conditions, of the first IV m is replaced with the number of levels, or conditions, of the second IV

6 Naming Factorial Designs The preceding example is a 2 X 2 factorial design because there are two IVs, and each IV has two levels What would you call a design that had 3 IVs in which the first IV had 2 levels, the second IV had 3 levels and the third IV had 4 levels? 2 X 3 X 4

7 Factorial Designs The number of conditions in a factorial design is equal to the product given by its name

8 Information From A Factorial Design An n X m factorial designs is very powerful because it allows us to answer three questions: Is there an effect of the first IV? Do you recall more words when you study them on the beach or underwater? Is there an effect of the second IV? Do you recall more words when you recall them on the beach or underwater?

9 Information From A Factorial Design An n X m factorial designs is very powerful because it allow us to answer three questions: Are the effects of the two IVs independent of each other? When recalling on the beach, does it matter whether you studied underwater or not? When recalling underwater, does it matter whether you studied underwater or not?

10 Main Effects Each of the first two questions (Is there an effect of the first / second IV?) is asking whether there is a main effect of that IV A main effect occurs when an independent variable has an influence on the dependent variable If people recalled more words when they studied them on the beach than when they studied them underwater, then there would be a main effect of where the words are studied

11 Main Effects When looking at the main effect of one IV, you should ignore the existence of the other IV Compare all conditions that have one level of the IV to all conditions that have the other level of the IV

12 Main Effects For the main effect of where the words were studied: Average the values of the left two bars (conditions in which people studied on the beach) ( ) / 2 = 12.5 Average the values of the right two bars (conditions in which people studied underwater) (8 + 5) / 2 = 6.5

13 Main Effects Compare the two means X beach = 12.5 vs X underwater = 6.5 The larger the difference between the means, the more likely there is a main effect of the independent variable There probably is a main effect of where the person studied the words

14 Main Effects Is there probably a main effect of where the person recalled the words? Average the values of the two green bars (conditions in which the words were recalled on the beach) (15 + 8) / 2 = 11.5

15 Main Effects Average the values of the two blue bars (conditions in which the words were recalled underwater) (10 + 5) / 2 = 7.5 Compare the two averages 11.5 vs 7.5 There probably is a main effect of where the words are recalled

16 Main Effects Main effects can be determined from both single factor experiments and from factorial design experiments However, factorial designs are more efficient than single factor experiments because you can answer the same questions with fewer participants

17 Interactions The third question that we can ask about a factorial design is: Are the effects of the two IVs independent of each other? This type of effect is called an interaction effect or just an interaction Interactions are very important in research and are the real reason why factorial designs are performed

18 Definitions of Interaction There are several equivalent ways of defining interaction: An interaction occurs when the nature of the simple main effect of one IV depends on the level of the other IV An interaction occurs when the effect of one IV cannot simply be added to the effect of the other IV in order to predict how both treatments will simultaneously affect the DV An interaction occurs when the lines on a graph of the results are not parallel

19 Simple Main Effect Definition of Interaction An interaction occurs when the nature of the simple main effect of one IV depends on the level of the other IV Does the effect of whether you study dry or wet depend on whether you recall dry or wet?

20 Simple Main Effect Definition of Interaction Yes If you are recalling on the beach, then studying on the beach is better than studying underwater If you are recalling underwater, then studying on the beach is poorer than studying underwater

21 Simple Main Effect Definition of Interaction The simple main effect of whether you do better studying on the beach or underwater depends on whether your recall on the beach or underwater Thus, the two variables (where you study and where you recall) interact

22 Additivity Definition of Interaction An interaction occurs when the effect of one IV cannot simply be added to the effect of the other IV in order to predict how both treatments will simultaneously affect the DV Determine what effect studying on the beach vs underwater has Determine what effect recalling on the beach vs underwater has

23 Additivity Definition of Interaction The average value of all conditions in which you study on the beach is ( ) / 2 = 12.5 The average value of all conditions in which you study underwater is (5 + 12) / 2 = 8.5 So studying underwater leads to you recalling = 4 fewer words

24 Additivity Definition of Interaction The average value of all conditions in which you recall on the beach is (15 + 5) / 2 = 10 The average value of all conditions in which you recall underwater is ( ) / 2 = 11 So recalling underwater leads to you recalling = 1 more word

25 Additivity Definition of Interaction If the IVs are independent of each other (i.e. they do not interact with other), then we should be able to predict the number of words recalled in three of the conditions given the number of words recalled in the fourth condition and the size of the main effects

26 Additivity Definition of Interaction Number of words recalled when you study underwater and recall underwater = number of words recalled when you study on the beach and recall on the beach + effect of studying underwater + effect of recalling underwater X study underwater, recall underwater = X study on beach, recall on beach + effect of studying underwater + effect of recalling underwater 12 = 15 + (-4) + 1 = 12

27 Additivity Definition of Interaction Number of words recalled when you study underwater and recall on the beach = number of words recalled when you study on the beach and recall on the beach + effect of studying underwater X study underwater, recall on the beach = X study on the beach, recall on the beach + effect of studying underwater 5  15 + (-4) Because we cannot predict, the effects are not additive, and the variables interact

28 Additivity Definition of Interaction Number of words recalled when you study on the beach and recall underwater = number of words recalled when you study on the beach and recall underwater + effect of recalling underwater X study on the beach, recall underwater = X study on the beach, recall on the beach + effect of recalling underwater 10  Because we cannot predict, the effects are not additive, and the variables interact

29 Graphical Definition of Interaction When the lines or bars on a graph are not parallel, then an interaction has occurred

30 Factorial ANOVA The factorial analysis of variance answers each of the questions that can be asked Is there a main effect of the first IV? Is there a main effect of the second IV? Is there an interaction effect of the two IVs? The ANOVA accomplishes these goals by giving us an F ratio for each of the questions that are asked

31 Factorial ANOVA H 0 and H 1 for each of the main effects takes the same form as the single factor ANOVA H 0 and H 1 : H 0 :  1 =  2 = …. =  n H 1 : not H 0

32 Factorial ANOVA H 0 and H 1 for the interaction take the following form: H 0 :  11 -  21 =  12 -  22 H 1 :  11 -  21   12 -  22 IV 1 IV 2 1,1 2,1 2,2 1,2  12 = mean for level 1 of the first IV and level 2 of the second IV  21 = mean for level 2 of the first IV and level 1 of the second IV

33 Factorial ANOVA Specify the alpha level  =.05 for all tests Look at a graph and determine which main effects and interactions are likely No main effect of where you study No main effect of where you recall An interaction

34 Factorial ANOVA Summary Table Source = source of variance SS = sum of squares = top part of variance formula df = degrees of freedom = bottom of variance formula Main effect df = number of levels of IV – 1 Interaction effect df = df of first IV X df of second IV Error df = Σ(N per condition – 1) MS = mean squares = variance estimate F = F ratio = MS between-groups / MS within-groups p = probability value (significance) SourceSSdfMSFp IV1 (Study)4142p=.07 IV2 (Recall)2121p=.50 IV1 X IV2 (Study X Recall)121126p  Error (Within-groups)88442 Total10647

35 Factorial ANOVA Decisions The line labeled with the name of the first IV tells you whether there is a main effect of that IV When the p value is less than or equal to , then you can reject H 0 that all the means are equal That is, when p  , there is a main effect of the IV SourceSSdfMSFp IV1 (Study)4142p=.07 IV2 (Recall)2121p=.50 IV1 X IV2 (Study X Recall)121126p  Error (Within-groups)88442 Total10647

36 Factorial ANOVA Decisions The line labeled with the name of the second IV tells you whether there is a main effect of that IV When the p value is less than or equal to , then you can reject H 0 that all the means are equal That is, when p  , there is a main effect of the IV SourceSSdfMSFp IV1 (Study)4142p=.07 IV2 (Recall)2121p=.50 IV1 X IV2 (Study X Recall)121126p .02 Error (Within-groups)88442 Total10647

37 Factorial ANOVA Decisions The line labeled with the name of both of the IVs tells you whether there is an interaction of those IVs When the p value is less than or equal to , then you can reject H 0 That is, when p  , there is an interaction of the IVs SourceSSdfMSFp IV1 (Study)4142p=.07 IV2 (Recall)2121p=.50 IV1 X IV2 (Study X Recall)121126p  Error (Within-groups)88442 Total10647

38 Writing the Results The American Psychological Association has a precise format for writing the results of ANOVA in an article F(df between-groups, df within-groups ) = F value, p = p value, MS error =MS within-groups,  =  level The MS error and  level are only with the first F ratio reported unless they change

39 Writing the Results For the main effect of where you studied: F(1, 44) = 2.00, p =.07, MS error = 2.00,  =.05 For the main effect of where you recalled: F(1, 44) = 1.00, p =.50 For the interaction: F(1, 44) = 6.00, p 

40 Other ANOVAs Just as in the t test and in the single factor ANOVA, there are different types of factorial design ANOVAs If all the IVs are between-subjects then you should use a between-subjects ANOVA If all the IVs are within-subjects then you should use a within-subjects ANOVA If at least one IV is between-subjects and and least one IV is within-subjects, then you should use a mixed-design ANOVA

41 Other ANOVAs The primary difference between the three types of factorial design ANOVAs is in the number of error (within-groups) estimates of variance there are Between-subjects ANOVA has 1 MS error Mixed-design ANOVA has 2 MS errors Within-subjects ANOVA has 3 MS errors

42 Other ANOVAs ANOVA is not limited to just 2 IVs -- you can have as many IVs as is necessary to answer your questions Because of the complexity of the design, you will rarely see more than 3 or 4 IVs used in a single experiment When there are more than two IVs, you get information on main effects, simple interactions and higher-order interactions

43 Higher Order Interactions A higher-order interaction occurs when the nature of the lower order interaction (such as the two variable interaction we have talked about) depends on the level of a third (or higher) IV Higher order interactions are often difficult to interpret