Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin.

Slides:



Advertisements
Similar presentations
Multiple-choice question
Advertisements

Complex Experimental Designs
Statistics for the Social Sciences
FACTORIAL ANOVA Overview of Factorial ANOVA Factorial Designs Types of Effects Assumptions Analyzing the Variance Regression Equation Fixed and Random.
FACTORIAL ANOVA. Overview of Factorial ANOVA Factorial Designs Types of Effects Assumptions Analyzing the Variance Regression Equation Fixed and Random.
Other Analysis of Variance Designs Chapter 15. Chapter Topics Basic Experimental Design Concepts  Defining Experimental Design  Controlling Nuisance.
PSY 307 – Statistics for the Behavioral Sciences
Dr George Sandamas Room TG60
Two Factor ANOVA.
FACTORIAL ANOVA.
FACTORIAL DESIGNS F Terms for Factorials F Types of Factorial Designs F Notation for Factorials F Types of Effects F Looking at Tables of Means F Looking.
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
Lesson #23 Analysis of Variance. In Analysis of Variance (ANOVA), we have: H 0 :  1 =  2 =  3 = … =  k H 1 : at least one  i does not equal the others.
Lecture 10: One Way ANOVA Between Subjects: Practice! Laura McAvinue School of Psychology Trinity College Dublin.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 17: Repeated-Measures ANOVA.
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 16: Factorial ANOVA Interactions Practice Laura McAvinue School of Psychology Trinity College Dublin.
Lecture 9: One Way ANOVA Between Subjects
Chapter 10 - Part 1 Factorial Experiments.
Lecture 15 Psyc 300A. Example: Movie Preferences MenWomenMean Romantic364.5 Action745.5 Mean55.
ANOVA  Used to test difference of means between 3 or more groups. Assumptions: Independent samples Normal distribution Equal Variance.
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
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.
Lecture 15: ANOVA Interactions
2x2 BG Factorial Designs Definition and advantage of factorial research designs 5 terms necessary to understand factorial designs 5 patterns of factorial.
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.
Understanding the Two-Way Analysis of Variance
ANOVA Chapter 12.
The basic idea So far, we have been comparing two samples
Lecture 14: Factorial ANOVA Practice Laura McAvinue School of Psychology Trinity College Dublin.
Stats Lunch: Day 7 One-Way ANOVA. Basic Steps of Calculating an ANOVA M = 3 M = 6 M = 10 Remember, there are 2 ways to estimate pop. variance in ANOVA:
Introduction ANOVA Mike Tucker School of Psychology B209 Portland Square University of Plymouth Drake Circus Plymouth, PL4 8AA Tel: +44 (0)
Statistics for Everyone Workshop Summer 2011 Part 3 Two-Way Analysis of Variance: Examining the Individual and Joint Effects of 2 Independent Variables.
Comparing Several Means: One-way ANOVA Lesson 15.
Analysis of Variance (Two Factors). Two Factor Analysis of Variance Main effect The effect of a single factor when any other factor is ignored. Example.
PSY 2005 Week 10 – Simple Effects. Factorial Analysis of Variance Simple Effects.
Review Three subjects measured in four conditions. Find the sum of squares for condition differences, SS treatment A.84 B.152 C.252 D.336 Condition SubjectABCDMsMs.
Slide 1 Two-Way Independent ANOVA (GLM 3) Prof. Andy Field.
ANOVA II (Part 2) Class 16. Implications of Interaction 1. Main effects, alone, will not fully describe the results. 2. Each factor (or IV) must be interpreted.
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.
Jeopardy Opening Robert Lee | UOIT Game Board $ 200 $ 200 $ 200 $ 200 $ 200 $ 400 $ 400 $ 400 $ 400 $ 400 $ 10 0 $ 10 0 $ 10 0 $ 10 0 $ 10 0 $ 300 $
Factorial Analysis of Variance
Statistics for Everyone Workshop Fall 2010 Part 4B Two-Way Analysis of Variance: Examining the Individual and Joint Effects of 2 Independent Variables.
Assignment 1 February 15, 2008Slides by Mark Hancock.
More sophisticated ANOVA applications Repeated measures and factorial PSY SP2003.
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.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
ANOVA II (Part 2) Class 18. FINAL EXAM Rutgers Date / Time Tuesday Dec. 15, 3:00 – 6:00 Prefer: Dec. 15, 1:00 – 4:00 What works for you???
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
SPSS Homework SPSS Homework 12.1 Practice Data from exercise ) Use linear contrasts to compare 5 days vs 20 and 35 days 2) Imagine you.
Why is this important? Requirement Understand research articles
Practice Participants were asked about their current romantic relationship (dating, married, or cohabitating) and the number of children they have (none,
An Introduction to Two-Way ANOVA
Factorial Design Part II
Statistics for the Social Sciences
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days a person.
Two Way ANOVAs Factorial Designs.
PSY 307 – Statistics for the Behavioral Sciences
Complex Experimental Designs
Review Compare one sample to another value One sample t-test
Main Effects and Interaction Effects
Chapter 13 Group Differences
Analysis of Variance ANOVA.
Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these.
Chapter 12 A Priori and Post Hoc Comparisons Multiple t-tests Linear Contrasts Orthogonal Contrasts Trend Analysis Bonferroni t Fisher Least Significance.
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days a person.
Presentation transcript:

Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin

Analysis of Variance One way ANOVAFactorial ANOVA One Independent Variable More than One Independent Variable Two way Three way Four way Between subjects Repeated measures / Within subjects Different participants Same participants

Factorial ANOVA Factor –Another word for an independent variable in ANOVA Factorial Design –Design in which there are two or more independent variables or factors

Labelling Number of independent variables / factors –One independent variable – One way ANOVA –Two independent variables – Two way ANOVA –Three independent variables – Three way ANOVA Number of levels of each variable / factor –Comparing men and women’s performance on an attention task under three conditions of noise –Two independent variables Gender (2 levels: male & female) Noise (3 levels: none, white noise, random tones) –2 x 3 factorial ANOVA

Factorial ANOVA Allows you to examine two things… –The main effect of each independent variable, when controlling for the other variable –The interaction between the two variables

Research Example We would like to examine the effectiveness of three kinds of therapy (CBT, psychoanalytic, drug) on depressive symptoms displayed by men & women What is our dependent variable? –Number of depressive symptoms How many independent variables do we have? –2–2

Research Example We would like to examine the effectiveness of three kinds of therapy (CBT, psychoanalytic, drug) on depressive symptoms displayed by men & women What are the independent variables? –Gender & Therapy How many levels do they have? –Gender: 2 levels (Male/Female) –Therapy: 3 levels (CBT, Psychoanalytic, Drug)

Research Example We would like to examine the effectiveness of three kinds of therapy (CBT, psychoanalytic, drug) on depressive symptoms displayed by men & women Label this experiment in two ways –Two Way Factorial ANOVA –2 x 3 Factorial ANOVA

Factorial ANOVA This design will enable us to investigate three things –Main Effect of Gender –Main Effect of Therapy –Interaction between Gender and Therapy

Main Effect The effect of one independent variable averaged across the levels of the other independent variable The effect of one independent variable ignoring the other variable

Main Effect of Gender There is a significant difference between men and women’s no. of depressive symptoms across all therapy groups –Men and women’s depressive symptoms differ, irrespective of the type of therapy they got –The type of therapy does not influence the effect of gender E.g. Men have a significantly lower number of depressive symptoms than women overall, across all three therapy conditions –H o : There is no effect of gender Mean of males = Mean of females –H alt : There is a main effect of gender Mean of males ≠ Mean of females

Main Effect of Therapy The kind of therapy administered significantly affected the number of depressive symptoms, irrespective of the gender of the client H o :There is no significant effect of therapy –Mean CBT = Mean Psychoanalytic = Mean Drug H alt : At least one mean for therapy is different from the other two E.g. CBT significantly reduced the number of depressive symptoms for both men and women

Interaction Factorial Design –Enables you to pair each level of each variable with each level of the other variable / variables Interaction –Combined effect IV 1 & IV 2 on the DV –Means that the effects of one independent variable depend on the level of the other independent variable Simple Effect –The effect of one independent variable at one level of another variable

Interaction between Gender & Therapy One therapy is more effective for one type of client Men & women benefit equally from CBT and drugs but women respond better to psychoanalysis H o : There is no interaction between gender & therapy –All mean differences are due only to main effects

CBTPsychoanaly tic Drug Males Females Type of Therapy Gender

CBTPsychoanaly tic Drug Males Females Is there a main effect of Gender?

CBTPsychoanaly tic Drug Males Females Is there a main effect of Therapy?

CBTPsychoanaly tic Drug Males Females Is there an Interaction between Gender & Therapy? Examine the pattern of means…

Line graph of the six cell means CBT Psycho- analytic Drug male female

Calculations Total Variance Variance due to IV 1 Gender Variance due to IV 2 Therapy Variance due to the interaction between IV 1 & IV 2 Gender x Therapy Variance Due to random error

Three F Ratios Compare the variance due to the main effects and the interaction to the variance due to random error Variance due to Gender Variance due to Random Error Variance due to Therapy Variance due to Random Error Variance due to Gender x Therapy Variance due to Random Error

CBTPsychoanaly tic Drug Males Females Total Variance SS total ∑ (x ij - Grand Mean )

CBTPsychoanaly tic Drug Males Females Variance due to Gender SS gender n gender ∑ (Mean for each level of gender - Grand Mean ) 2

CBTPsychoanaly tic Drug Males Females Variance due to Gender SS gender 9 ∑ (17.33 – ) 2 + (16 – 16.67) 2 8

CBTPsychoanaly tic Drug Males Females Variance due to Therapy SS therapy n therapy ∑ (Mean for each level of therapy - Grand Mean ) 2

CBTPsychoanaly tic Drug Males Females Variance due to Therapy SS therapy 6 ∑ (14 – ) 2 + (12 – 16.67) 2 + (24 – 16.67) 2 496

CBTPsychoanaly tic Drug Males Females Variance due to the interaction Each cell mean is a combination of a level of each independent variable

Variance due to the Interaction SS cells –The sum of squared deviations of each cell mean from the grand mean –The variance of the cell means –A measure of how much the cell means differ Cell means can differ due to… –Level of Gender –Level of Therapy –Interaction between Gender & Therapy

Variance due to the Interaction SS cells = SS gender + SS therapy + SS gender x therapy SS gender x therapy = SS cells – SS gender – SS therapy

CBTPsychoanaly tic Drug Males Females Variance due to the interaction No. of participants in each cell ∑ (Each cell mean - Grand Mean ) 2 SS cells

CBTPsychoanaly tic Drug Males Females Variance due to the interaction 3 ∑ (8 – ) 2 + (18 – 16.67) 2 + (26 – 16.67) 2 + (20 – 16.67) 2 + (6 – 16.67) 2 + (22 – 16.67) SS cells

Variance due to the Interaction SS gender x therapy = SS cells – SS gender – SS therapy SS gender x therapy = 952 – 8 – 496 SS gender x therapy = 448

Variance due to Random Error Two Methods… Directly –SS error = ∑(each score in each cell – mean of that cell) 2 –48 Indirectly –SS total = [SS gender + SS therapy + SS gender x therapy ] + SS error –SS total = [SS cells ] + SS error –SS error = SS total – SS cells = 1000 – 952 = 48

ANOVA table Source of variation SSdfMSFp GenderSS gender k gender – 1SS gender / df gender MS gender MS error P value TherapySS therapy k therapy – 1 SS therapy / df therapy MS therapy MS error P value Gender* Therapy SS gender*therapy Df gender * Df therapy SS gender*therapy / df gender*therapy MS gender*therapy MS error P value ErrorSS error k gender * k therapy (n-1) SS error / df error TotalSS total N – 1

ANOVA table Source of variation SSdfMSFp Gender Therapy Gender* Therapy Error48124 Total100017