Handout Eight: Two-Way Between- Subjects Design with Interaction- Assumptions, & Analyses EPSE 592 Experimental Designs and Analysis in Educational Research.

Slides:



Advertisements
Similar presentations
Statistics for the Social Sciences
Advertisements

Analysis of variance (ANOVA)-the General Linear Model (GLM)
Smith/Davis (c) 2005 Prentice Hall Chapter Thirteen Inferential Tests of Significance II: Analyzing and Interpreting Experiments with More than Two Groups.
Introduction to Factorial ANOVA Designs
PSY 307 – Statistics for the Behavioral Sciences
ANOVA notes NR 245 Austin Troy
Part I – MULTIVARIATE ANALYSIS
Lecture 16 Psyc 300A. What a Factorial Design Tells You Main effect: The effect of an IV on the DV, ignoring all other factors in the study. (Compare.
Lecture 9: One Way ANOVA Between Subjects
Two Groups Too Many? Try Analysis of Variance (ANOVA)
Lecture 15 Psyc 300A. Example: Movie Preferences MenWomenMean Romantic364.5 Action745.5 Mean55.
Intro to Statistics for the Behavioral Sciences PSYC 1900
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.
Comparing Several Means: One-way ANOVA Lesson 14.
Chapter 14 Inferential Data Analysis
Two-Way Balanced Independent Samples ANOVA Overview of Computations.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Factorial Analysis of Variance II Follow up tests More fun than a rub down with a cheese grater 1.
Understanding the Two-Way Analysis of Variance
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
ANOVA Chapter 12.
Chapter 14Prepared by Samantha Gaies, M.A.1 Chapter 14: Two-Way ANOVA Let’s begin by reviewing one-way ANOVA. Try this example… Does motivation level affect.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Part IV Significantly Different: Using Inferential Statistics
Factorial Design Two Way ANOVAs
SPSS Series 1: ANOVA and Factorial ANOVA
1 of 46 MGMT 6970 PSYCHOMETRICS © 2014, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Inferential Statistics IV: Factorial ANOVA.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Comparing Several Means: One-way ANOVA Lesson 15.
Multivariate Analysis. One-way ANOVA Tests the difference in the means of 2 or more nominal groups Tests the difference in the means of 2 or more nominal.
Two-Way Balanced Independent Samples ANOVA Computations.
Lab 5 instruction.  a collection of statistical methods to compare several groups according to their means on a quantitative response variable  Two-Way.
 Slide 1 Two-Way Independent ANOVA (GLM 3) Chapter 13.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
6/2/2016Slide 1 To extend the comparison of population means beyond the two groups tested by the independent samples t-test, we use a one-way analysis.
ANALYSIS OF VARIANCE By ADETORO Gbemisola Wuraola.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Within Subjects Analysis of Variance PowerPoint.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Mixed-Design ANOVA 5 Nov 2010 CPSY501 Dr. Sean Ho Trinity Western University Please download: treatment5.sav.
Lecture 9-1 Analysis of Variance
Chapter 14 Repeated Measures and Two Factor Analysis of Variance
11/19/2015Slide 1 We can test the relationship between a quantitative dependent variable and two categorical independent variables with a two-factor analysis.
Slide 1 Mixed ANOVA (GLM 5) Chapter 15. Slide 2 Mixed ANOVA Mixed: – 1 or more Independent variable uses the same participants – 1 or more Independent.
Smoking Data The investigation was based on examining the effectiveness of smoking cessation programs among heavy smokers who are also recovering alcoholics.
IS 4800 Empirical Research Methods for Information Science Class Notes March 16, 2012 Instructor: Prof. Carole Hafner, 446 WVH Tel:
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
Chapter 15Prepared by Samantha Gaies, M.A.1 Let’s start with an example … A high school gym instructor would like to test the effectiveness of a behavior.
Two-Way (Independent) ANOVA. PSYC 6130A, PROF. J. ELDER 2 Two-Way ANOVA “Two-Way” means groups are defined by 2 independent variables. These IVs are typically.
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.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Between Subjects Analysis of Variance PowerPoint.
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
Handout Seven: Independent-Samples t Test Instructor: Dr. Amery Wu
Handout Nine: Repeated Measures –Design, Analysis, & Assumptions.
Handout Three: Review of t-Tests Partitioning of Variance, F-Statistic, & F-Distributions EPSE 592 Experimental Designs and Analysis in Educational Research.
Handout Five: Between-Subjects Design of Analysis of Variance- Planned vs. Post Hoc Comparisons EPSE 592 Experimental Designs and Analysis in Educational.
Handout Twelve: Design & Analysis of Covariance
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
Handout Six: Sample Size, Effect Size, Power, and Assumptions of ANOVA EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr.
Handout Ten: Mixed Design Analysis of Variance EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Ten:
Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.Introduction To Basic Ratios 3.Basic Ratios In Excel 4.Cumulative.
ANOVA and Multiple Comparison Tests
Chapter 9 Two-way between-groups ANOVA Psyc301- Spring 2013 SPSS Session TA: Ezgi Aytürk.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
12 Inferential Analysis.
PSY 307 – Statistics for the Behavioral Sciences
12 Inferential Analysis.
Presentation transcript:

Handout Eight: Two-Way Between- Subjects Design with Interaction- Assumptions, & Analyses EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Eight: Two-Way Between- Subjects Design with Interaction- Assumptions, & Analyses EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu 1

Today, we will introduce the analysis and assumptions of a two-way between-Subjects designs. This design explains/predicts continuous data using two independent variables, each with two or more levels (i.e., groups) where subjects are independent across the groups. Where We Are Today Two-way Between-Subjects Factorial Design with Interaction Measurement of Data ContinuousCategorical Type of the Inference Descriptive AB Inferential CD 2

3 The Design  A two-way between-subjects ANOVA is an inferential statistical method  includes two factors (independent variables),  each factor has two or more levels (groups or categories)  subjects are independent across the levels for each factor. Data Assumptions  Data assumptions are the same as those of one-way ANOVA, except that assumptions are made about the RxC sub-samples.  R is the # of levels of the first factor the C is the # of levels of the second factor. Review of Two-way Between-Subjects Factorial Design

4 Two-way Between-Subjects Factorial Design Partitioning the Total Sum of Squares by the 2 Factors SS b-gA SS b-gB SS b-gA*B 2 Factors

5 Statistical Model of Two-way Factorial ANOVA In a two-way ANOVA, two independent variables, A and B, are involved, which are termed “factors” in ANOVA However, the data (DV) is being modeled (explained or predicted) by three terms: A, B, and their interaction effect A*B Data = Model + residual Y = intercept + aA + bB + cA*B + residual Questions: What is the “model” for a one-way ANOVA? Write the equation.

6  Variable A is treated as the primary cause, of which the effect on the Y (DV) is the major research interest. An analogy is the effect of a switch on the light.  Variable B is interpreted as a moderator that adjusts the effect of A on Y. An analogy is a dimmer adjusts the effect of the switch on the light. Namely, the effect of A on Y is dependent on the level (or amount) of B  The choice of which is the primary cause should be guided by the research question and the substantive theory. Interaction Effect Interpreting the Results- Randomized Experimental Data Two-way Between-Subjects Factorial ANOVA

7  The relationship between A and Y (DV) is dependent on the level (or amount) of B.  Variable B moderates the relationship between A and Y.  The choice of whether A or B should be considered as the moderator depends on the research question and the substantive theory. Interpreting the Results - Observational Data Two-way Between-Subjects Factorial ANOVA Interaction Relationship Question: what are the differences between this figure and the one on the last slide?

8 One Way ANOVA (One Independent Variable A) SS tot = SS bgA + SS wg, or simply SS tot = SS A + SS r Two Way ANOVA (Two independent variables A & B) SS tot = SS bgA + SS bgB + Ss bgA*bgB + SS wg or simply SS tot = SS A + SS B + SS AB + SS r Comparing One-Way and Two-Way Factorial ANOVA Using Data = Model + Residual

Interpreting a Two-way Factorial ANOVA- - When the Interaction Effect is Non-significant When the interaction effect is not significant, run the post hoc paired-comparisons for the main effect(s) that are significant If both main effects are significant; hence, more multiple paired comparisons are involved, a more conservative post- hoc t-test should be considered to protect from Type-I error. (see the Word document: GLM post hoc comparison.doc)

Female Male An example Plot for No Interaction Effect When the two separate lines (here representing the moderator) are parallel, it signals that there is no interaction effect. However, one must NOT use such a plot to infer about the population interaction effect as many textbooks suggest because it is descriptive and does not test whether the parallelism occurred only by chance.

Lab Activity: Post-hoc Comparison for Main effects

SPSS Output: Post-hoc Comparison for Main effects

Using the same research context (IV: instruction and gender; DV: performance), all the means of the main effect and interaction cells are the same as before. However, number of subjects increased from 5 to 15 for each cell.

14 Students’ performance was rated by their clinical supervisors on a scale of Mean ratings of the groups are tabulated below. An Example to Contextualize Learning Two-way Between-Subjects Factorial ANOVA Research Questions: 1.Does the instruction method have an effect on students’ performance? 2.Is there a sex difference in students’ performance? 3.Does the effect of instruction method on the students’ performance depend on the sex of the students? Means Instruction Method ABCMar sex SexMale6787 Female6998 Mar instruction

15 Computing The F Statistic and the F Test Two-way Between-Subjects Factorial ANOVA Lab Activity: See Excel File “Two Way ANOVA with Interaction.xls.”

16 Calculating the F Statistic - SS of Total Calculating Total Sum of Squares Subject ID SexInstructionperformanceDeviation 2 1 female female female female male male male male SS Total df Total N-1 89

17 Calculating the F Statistic - SS for the Main effects of Instruction Method Means Instruction Method ABCMar sex SexMale6787 Female6998 Mar instruction SS instruction30*(6-7.5)(6-7.5)+30*(8-7.5)(8-7.5)+30*( )( )105 df = C-12

18 Calculating the F Statistic - SS for the Main effects of Sex Means Instruction Method ABCMar sex SexMale6787 Female6998 Mar instructio n SS Sex45*(7-7.5)*(7-7.5)+45*(8-7.5)*(8-7.5) 22.5 df = R-11

19 Testing the interaction effect is, in essence, testing whether there is a true difference in the difference. Calculating the F Statistic - SS for “instruction by sex” interaction effect Instruction Method ABC SexMale678 Female699 sex difference0-2 Sex diff Instruction A0 Instruction B-2 Instruction C Mean SS difference=15*(0-(-1))*(0-(-1))+15*(-2-(-1))*(-2-(-1))+15*(-1-(-1))*(-1-(- 1))30 SS interaction = Half SS difference15 df = (R-1)*(C-1)2

20 Calculating the F Statistic - SS for within Groups Calculating SS Within Groups Subject IDSexInstructionPerformanceDeviation 2 1female female184 11female144 12female151 13female160 14female171 15female184 m f1 630SS f1 16male144 17male151 18male160 19male171 20male184 21male144 22male151 23male160 24male171 25male184 26male144 27male151 28male160 29male171 30male184 m m1 630m m1 31female281 32female290 33female290 34female290 35female female281 37female290 38female290 39female290 40female female281 42female290 43female290 44female290 45female2101 m f2 96SS f2 46male254 47male261 48male270 49male281 50male294 51male254 52male261 53male270 54male281 55male294 56male254 57male261 58male270 59male281 60male294 m m2 730SS m2 61female381 62female390 63female390 64female390 65female female381 67female390 68female390 69female390 70female female381 72female390 73female390 74female390 75female3101 m f3 96SS f3 76male364 77male371 78male380 79male391 80male male364 82male371 83male380 84male391 85male male364 87male371 88male380 89male391 90male3104 m m3 830SS m3 SS Within 132 df Total N- # of cell groups 84

21 The ANOVA Summary Table Two-way Between-Subjects Factorial ANOVA ANOVA Summary F Table SSdfMSFp Instruction <0.001 Sex <0.001 Instruction*Sex Error (within) Total

22 Lab Activity: Two-Way Between-Subjects Factorial ANOVA in SPSS

23 Lab Activity: SPSS Outputs for Two-Way Between-Subjects Factorial ANOVA in SPSS

Interpreting a Two-way Factorial ANOVA- - When the Interaction Effect is Significant Increasing the sample size increased the power, the interaction effect is now significant even though all the cell means were the same.

Interpreting a Two-way Factorial ANOVA - When the Interaction Effect is Significant When SPSS “General Linear Model” (GLM) menu is used:  If the interaction effect is significant, interpret the interaction effect ONLY (even if the main effects are significant).  One should then conduct the post hoc paired comparisons of the cell mean differences - simple main effects. The simple main effect is the mean difference between the groups of factor B (i.e., sex) for each given group of factor A (i.e., instruction method).  Using SPSS GLM, interpreting the main effects is unnecessary because, the main effects are included in the estimate of cell means. Test of the simple main effects actually have incorporated the test of main effects.

Lab Activity: SPSS Syntax for Testing Simple Main Effects UNIANOVA performance BY instruction sex /METHOD = SSTYPE(3) /INTERCEPT = INCLUDE /CRITERIA = ALPHA(.05) /DESIGN = instruction sex instruction*sex /EMMEANS = TABLES (instruction*sex) compare (sex) adj (Bonferroni). Note that for post hoc simple main effect t-tests, only the methods of BONFERRONI, LSD, SIDAK tests are available in SPSS. SPSS drop-down menu dose not provide function of testing simple main effects. Instead, you should use the following syntax of EMMEANS to test them.

 For females, there was significant difference between instruction methods A and B, methods A and C (p= 0.005). However there is no difference between methods B and C, p=  For males, there were not significant differences between any instruction methods. Lab Activity: SPSS Output for Testing Simple Main Effects Protecting from Type- I error

Primary IV Moderator IV Remember to hit “Add” Lab Activity: Plotting Interaction Effect in SPSS

Lab Activity: SPSS Plot for Interaction Effect The difference between female and male students’ performance is different for each instruction method group. Namely, the gender difference in performance is dependent on (moderated by) which instruction method they receive. The effect of instruction method on students’ performance is different for males and females. Namely, the effect of the instruction method is dependent on ( moderated by) sex.

30 Interpreting Models with More Than Three Factors  In general, for any ANOVA models, if the higher-order interaction effect is statistically significant, we do not interpret the lower-order effects directly, including the main effects or the interaction effects.  Lower-order effects will be interpreted in the context of the higher level interaction effect.  For example, if the 3-way interaction of an ANOVA including three factors is statistically significant, the 2- way interaction effects are interpreted in the context of the 3-way interaction. If a 2-way interaction effect is significant, its corresponding one-way main effects are interpreted in the context of the 2-way interaction effect.

31 Observed Effect Size Eta-Squared vs. Partial Eta-Squared Eta-squared and partial eta-squared are effect size measures for the effect/difference of the factors included in a ANOVA. Lab Activity: Calculate the eta-squared and partial-eta squared using the ANOVA table in the Excel file: Two Way ANOVA with Interaction.xls. Questions: Is there a difference between eta-squared and partial eta-squared for one-way ANOVA? Will partial eta-squared always be smaller or greater than the eta-squared? Two common used effect size measures for ANOVA: h 2 (eta-squared) = SS effect / SS total Partial h 2 = SS effect / (SS effect + SS error ) or = SS effect / (Ss total – SS other effects )

 Given that the numerators of the two effect size measures are the same, Partial h 2 will yield a bigger effect size than does the h 2 because the denominator for partial h 2 is smaller (by removing the SS other than the given effect.) However, h 2 is conceptually easier to interpret; indicating the percentage of the total sum of square that is attributable to a given effect. Also, h 2 can be used to compare the relative effects because all the effects have a common denominator. Observed Effect Size Eta-Squared vs. Partial Eta-Squared

Lab Activity: Effect Sizes for Two-way ANOVA in SPSS