Anthony Greene1 Advanced ANOVA 2-Way ANOVA Complex Factorial Designs I.The Factorial Design II.Partitioning The Variance For Multiple Effects III.Independent.

Slides:



Advertisements
Similar presentations
Multiple-choice question
Advertisements

Analysis of Variance (ANOVA)
Chapter 15: Two-Factor Analysis of Variance
Statistics for the Social Sciences
2 factor ANOVA. Drug ADrug BDrug C High doseSample 1Sample 2Sample 3 Low doseSample 4Sample 5Sample 6 2 X 3 Dose by drug (row by column)
Kxk BG Factorial Designs expanding the 2x2 design reasons for larger designs statistical analysis of kxk BG factorial designs using LSD for kxk factorial.
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.
PSY 307 – Statistics for the Behavioral Sciences
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.
ANOVA notes NR 245 Austin Troy
Chapter 9 - Lecture 2 Some more theory and alternative problem formats. (These are problem formats more likely to appear on exams. Most of your time in.
Wednesday, December 1 Factorial Design ANOVA. The factorial design is used to study the relationship of two or more independent variables (called factors)
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.
PSY 307 – Statistics for the Behavioral Sciences
Lecture 9: One Way ANOVA Between Subjects
Chapter 10 - Part 1 Factorial Experiments.
Chapter 9 - Lecture 2 Computing the analysis of variance for simple experiments (single factor, unrelated groups experiments).
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.
Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin.
Analysis of Variance Introduction The Analysis of Variance is abbreviated as ANOVA The Analysis of Variance is abbreviated as ANOVA Used for hypothesis.
Two-Way Balanced Independent Samples ANOVA Overview of Computations.
Two-Way Balanced Independent Samples ANOVA Computations Contrasts Confidence Intervals.
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.
Part IV Significantly Different: Using Inferential Statistics
Calculations of Reliability We are interested in calculating the ICC –First step: Conduct a single-factor, within-subjects (repeated measures) ANOVA –This.
Chapter 14: Repeated-Measures Analysis of Variance.
230 Jeopardy Unit 4 Chi-Square Repeated- Measures ANOVA Factorial Design Factorial ANOVA Correlation $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500.
1 of 46 MGMT 6970 PSYCHOMETRICS © 2014, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Inferential Statistics IV: Factorial ANOVA.
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 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Two-Way Balanced Independent Samples ANOVA Computations.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Remember You were asked to determine the effects of both college major (psychology, sociology, and biology) and gender (male and female) on class attendance.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance
Stats/Methods II JEOPARDY. Jeopardy Compare & Contrast Repeated- Measures ANOVA Factorial Design Factorial ANOVA Surprise $100 $200$200 $300 $500 $400.
More sophisticated ANOVA applications Repeated measures and factorial PSY SP2003.
Anthony Greene1 Repeated Measures ANOVA I.Between Subjects Variance Is Partitioned From the Error Variance II.Conceptual Approach III.Using The Source.
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
F formula F = Variance (differences) between sample means Variance (differences) expected from sampling error.
1 Chapter 14: Repeated-Measures Analysis of Variance.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
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 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
Factorial Experiments
Monday, December 3 Factorial Design Two-Way ANOVA.
An Introduction to Two-Way ANOVA
Cohen – chapter 13 textbook example
PSY 307 – Statistics for the Behavioral Sciences
Ch. 14: Comparisons on More Than Two Conditions
Source Sum of Squares (SS) df Mean Square (MS) F p-value
11. Experimental Research: Factorial Design
Factorial Anova – Lecture 2
Complex Experimental Designs
Statistics for the Social Sciences
Main Effects and Interaction Effects
Chapter 13 Group Differences
Analysis of Variance ANOVA.
Chapter 14: Two-Factor Analysis of Variance (Independent Measures)
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.
Factorial ANOVA 2 or More IVs.
Analysis of Variance: repeated measures
Factorial Designs Factorial design: a research design that includes two or more factors (Independent Variables) A two-factor design has two IVs. Example:
Presentation transcript:

Anthony Greene1 Advanced ANOVA 2-Way ANOVA Complex Factorial Designs I.The Factorial Design II.Partitioning The Variance For Multiple Effects III.Independent Main Effects of Factor A and Factor B IV.Interactions

Anthony Greene2 The Source Table Keeps track of all data in complex ANOVA designs Source of SS, df, and Variance (MS) –Partitioning the SS, df and MS –All variability is attributable to effect differences or error (all unexplained differences) Total Variability Effect Variability (MS Between) Error Variability (MS Within)

Anthony Greene3 Partitioning of Variability for Two-Way ANOVA Total Variability Effect Variability (MS Between) Error Variability (MS Within) Factor A Variability Stage 1 { { Stage 2 Factor B Variability Interaction Variability

4 Source Table for 1-Way ANOVA Effect Variability Error Variability

5 2-Way ANOVA Used when two variables (any number of levels) are crossed in a factorial design Factorial design allows the simultaneous manipulation of variables A1A2A3A4 B1A1B1A2 B1A3 B1A4 B1 B2A1 B2A2 B2A3 B2A4 B2

6 2-Way ANOVA For Example: Consider two treatments for mood disorders 1.This design allows us to consider multiple variables 2.Importantly, it allows us to understand Interactions among variables PlaceboProzacZanexBourbon DepressionA1B1A2 B1A3 B1A4 B1 AnxietyA1 B2A2 B2A3 B2A4 B2

7 2-Way ANOVA Hypothetical Data: 1.You can see that the effects of the drug depend upon the disorder 2.This is referred to as an Interaction PlaceboProzacZanexBourbon Depression Anxiety

8 Example of a 2-way ANOVA: Main Effect A Daytime Heart rate Nighttime Heart rate No-Meditation7562 Mediation7463

9 Example of a 2-way ANOVA: Main Effect B Daytime Heart rate Nighttime Heart rate No-Meditation7574 Mediation6463

10 Example of a 2-way ANOVA: Main Effect A & B Daytime Heart rate Nighttime Heart rate No-Meditation8071 Mediation7160

11 Example of a 2-way ANOVA: Interaction Daytime Heart rate Nighttime Heart rate No-Meditation7562 Mediation6563

Anthony Greene12 Partitioning of Variability for Two-Way ANOVA Total Variability Effect Variability (MS Between) Error Variability (MS Within) Factor A Variability Stage 1 { { Stage 2 Factor B Variability Interaction Variability

Anthony Greene13 Partitioning of Variability for Two-Way ANOVA Total Variability Effect Variability (MS Between) Error Variability (MS Within) Factor A Variability Stage 1 { { Stage 2 Factor B Variability Interaction Variability Numerator for Omnibus F-ratio Denominator for all F-ratios

Anthony Greene14 Partitioning of Variability for Two-Way ANOVA Total Variability Effect Variability (MS Between) Error Variability (MS Within) Factor A Variability Stage 1 { { Stage 2 Factor B Variability Interaction Variability Numerator for Factor A F-ratio Denominator for F-ratio

15 Partitioning of Variability for Two-Way ANOVA Total Variability Effect Variability (MS Between) Error Variability (MS Within) Factor A Variability Stage 1 { { Stage 2 Factor B Variability Interaction Variability Numerator for Factor B F-ratio Denominator for F-ratio

16 Partitioning of Variability for Two-Way ANOVA Total Variability Effect Variability (MS Between) Error Variability (MS Within) Factor A Variability Stage 1 { { Stage 2 Factor B Variability Interaction Variability Numerator for Interaction F-ratio Denominator for F-ratio

17 2 Main Types of Interactions

Anthony Greene18 Simple Effects of An Interaction

Anthony Greene19 Simple Effects of An Interaction

Anthony Greene20 Simple Effects of An Interaction

Anthony Greene21 Simple Effects of An Interaction

Anthony Greene22 Simple Effects of An Interaction

Anthony Greene23 Simple Effects of An Interaction

Anthony Greene24 Simple Effects of An Interaction

Anthony Greene25 Simple Effects of An Interaction

Anthony Greene26 Simple Effects of An Interaction

Anthony Greene27

Anthony Greene28

Anthony Greene29

Anthony Greene30 +

Anthony Greene31 How To Make the Computations A1A2 B B A1A2Row Tot B1T SS T B1 B2T SS T B2 Col Tot. T A1 T A2

Anthony Greene32 A1A2Row Total B1T SS T B1 B2T SS T B2 Col Total T A1 T A2

Anthony Greene33 Higher Level ANOVA N-Way ANOVA: Any number of factorial variables may be crossed; for example, if you wanted to assess the effects of sleep deprivation: 1. Hours of sleep per night: 4, 5, 6, 7, 8 2. Age: 20-30, 30-40, 40-50, 50-60, Gender: M, F You would need fifty samples

Anthony Greene34 Higher Level ANOVA Mixed ANOVA: Any number of between subjects and repeated measures variables may be crossed For example, if you wanted to assess the effects of sleep deprivation using sleep per night as the repeated measure: 1. Hours of sleep per night: 4, 5, 6, 7, 8 2. Age: 20-30, 30-40, 40-50, 50-60, Gender: M, F You would need 10 samples

Anthony Greene35 How to Do a Mixed Factorial Design Total Variability Effect Variability (MS Between) MS Within Individual Variability Error Variability Stage 1 { { Stage 2 Factor A Variability Interaction Variability Factor B Variability

Anthony Greene36 Two-Way ANOVA An experimenter wants to assess the simultaneous effects of having breakfast and enough sleep on academic performance. Factor A is a breakfast vs. no breakfast condition. Factor B is three sleep conditions: 4 hours, 6 hours & 8 hours of sleep. Each condition has 5 subjects.

Anthony Greene37 Two-Way ANOVA Sourced.f.SSMSF Between60 Main A5 Main B A x B30 Within2 Total Factor A has 2 levels, Factor B has 3 levels, and n = 5 (i.e., six conditions are required and each has five subjects). Fill in the missing values.

Anthony Greene38 Two-Way ANOVA Sourced.f.SSMSF Between560 Main A15 Main B2 A x B30 Within2 Total First the obvious: The degrees freedom for A and B are the number of levels minus 1. The degrees freedom Between is the number of conditions (6 = 2x3) minus 1.

Anthony Greene39 Two-Way ANOVA Sourced.f.SSMSF Between560 Main A15 Main B2 A x B230 Within2 Total The interaction (AxB) is then computed: d.f. Between = d.f. A + d.f. B + d.f. AxB. OR d.f. AxB = d.f. A  d.f. B

Anthony Greene40 Two-Way ANOVA Sourced.f.SSMSF Between560 Main A15 Main B2 A x B230 Within242 Total29 d.f. Within = Σd.f. each cell d.f. Total = N-1 = 29. d.f. Total = d.f. Between + d.f. Within

Anthony Greene41 Two-Way ANOVA Sourced.f.SSMSF Between56012 Main A15 Main B2 A x B230 Within242 Total29 Now you can compute MS Between by dividing SS by d.f.

Anthony Greene42 Two-Way ANOVA Sourced.f.SSMSF Between56012 Main A110 5 Main B2 A x B230 Within242 Total29 You can compute MS A by remembering that F A = MS A MS Within, so 5 = ?/2. SS A is then found by remembering that MS = SS df, so 10 = ?/1

Anthony Greene43 Two-Way ANOVA Sourced.f.SSMSF Between56012 Main A110 5 Main B22010 A x B23015 Within242 Total29 Now SS B is computed by SS A + SS B + SS AxB = SS Between MS B = SS B /df B and MS AxB = SS AxB /df AxB

Anthony Greene44 Two-Way ANOVA Sourced.f.SSMSF Between56012 Main A110 5 Main B22010 A x B23015 Within24482 Total29 MS Within =SS Within /df Within, solve for SS.

Anthony Greene45 Two-Way ANOVA Sourced.f.SSMSF Between Main A110 5 Main B A x B Within24482 Total29 Now Solve for the missing F’s (Between, B, AxB). F=MS/MS Within

Anthony Greene46 Two-Way ANOVA An experimenter is interested in the effects of efficacy on self-esteem. She theorizes that lack of efficacy will result in lower self-esteem. She also wants to find out if there is a different effect for females than for males. She conducts an experiment on a sample of college students, half male and half female. She then puts them through one of three experimental conditions: no efficacy, moderate efficacy, and high efficacy. Then she measures level of self-esteem. Her results are below. Conduct a two-way ANOVA. Report all significant findings with α= 0.05.

Anthony Greene47 Data No Moderate High EfficacyEfficacyEfficacy 147 Males Females

Anthony Greene48 No ModerateHigh Efficacy Efficacy Efficacy 1 T=44 T=197 T=25 Males3 SS=4.68 SS=8.68 SS= T m = 48 Females2 T=1110 T=25 16 T=44 5 SS=4.6 7 SS=4.713 SS=4.7 T f = T ne =15 T me =44 T he =69 n=3 k=6 N=18 G=128 ∑x 2 =1260

Anthony Greene49 SS between SS btw = ∑T 2 /n – G 2 /N SS btw = ( )/3 –28 2 /18 SS btw = =317.8

Anthony Greene50 SS sex, SS efficacy, SS interaction SS sex = ∑T 2 sex/nsex – G 2 /N SS sex = ( )/9 – SS sex = 56.9 SS efficacy = ∑T 2 e/ne– G2/N SS efficacy = ( )/6 – SS efficacy = SS interaction = SS between – SS sex – SS efficacy SS interaction = SS interaction = 17.43

Anthony Greene51 SS within and SS total SS within = ∑SS SS within = =31.9 SS total = ∑x2 – (∑x)2/N SS total = 1260 – SS total = 349.8

Anthony Greene52 Degrees Freedom df btw = cells – 1 = k-1 df sex = rows - 1 df eff = columns - 1 df int = df btw – df sex - df eff df win = Σdf each cell = df tot -df btw df tot = N-1 = nk-1

Anthony Greene53 Degrees Freedom df btw = cells – 1 = k-1 = 5 df sex = rows – 1 = 1 df eff = columns – 1 = 2 df int = df btw – df sex – df eff = df sex  df eff = 2 df win = Σdf each cell = df tot -df btw = 12 df tot = N-1= nk-1= 17

54 Source Table Source SS df MS F Fcrit Between Sex 56.9 Efficacy Int Within Total 349.8

55 Source Table Source SS df MS F Fcrit Between Sex Efficacy Int Within Total

56 Source Table Source SS df MS F Fcrit Between Sex Efficacy Int Within Total

57 Source Table Source SS df MS F Fcrit Between F(5,12)=3.11 Sex F(1,12)=4.75 Efficacy F(2,12)=3.88 Int F(2,12)=3.88 Within Total

58 Source Table Source SS df MS F Fcrit Between F(5,12)=3.11 Sex F(1,12)=4.75 Efficacy F(2,12)=3.88 Int F(2,12)=3.88 Within Total main effect for sex 2 main effect for efficacy 3 no significant interaction