Assignment 1 February 15, 2008Slides by Mark Hancock.

Slides:



Advertisements
Similar presentations
Multiple-choice question
Advertisements

Hypothesis Testing and Comparing Two Proportions Hypothesis Testing: Deciding whether your data shows a “real” effect, or could have happened by chance.
Statistics for the Social Sciences
2  How to compare the difference on >2 groups on one or more variables  If it is only one variable, we could compare three groups with multiple ttests:
Chi Square Example A researcher wants to determine if there is a relationship between gender and the type of training received. The gender question is.
Two-Way ANOVA. Two-way Analysis of Variance  Two-way ANOVA is applied to a situation in which you have two independent nominal-level variables and one.
PSY 307 – Statistics for the Behavioral Sciences Chapter 20 – Tests for Ranked Data, Choosing Statistical Tests.
Statistics for the Behavioral Sciences Two-Way Between-Groups ANOVA
PSY 307 – Statistics for the Behavioral Sciences
Dr George Sandamas Room TG60
TWO-WAY BETWEEN SUBJECTS ANOVA Also called: Two-Way Randomized ANOVA Also called: Two-Way Randomized ANOVA Purpose: Measure main effects and interaction.
ANOVA notes NR 245 Austin Troy
1 Multifactor ANOVA. 2 What We Will Learn Two-factor ANOVA K ij =1 Two-factor ANOVA K ij =1 –Interaction –Tukey’s with multiple comparisons –Concept of.
Business 205. Review Analysis of Variance (ANOVAs)
Experimental Design Terminology  An Experimental Unit is the entity on which measurement or an observation is made. For example, subjects are experimental.
Statistics for the Social Sciences Psychology 340 Spring 2005 Factorial ANOVA.
Lecture 9: One Way ANOVA Between Subjects
Anthony J Greene1 ANOVA: Analysis of Variance 1-way ANOVA.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Understanding the Two-Way Analysis of Variance
Chapter 12: Analysis of Variance
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.
QNT 531 Advanced Problems in Statistics and Research Methods
Lecturer’s desk INTEGRATED LEARNING CENTER ILC 120 Screen Row A Row B Row C Row D Row E Row F Row G Row.
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.
A Repertoire of Hypothesis Tests  z-test – for use with normal distributions and large samples.  t-test – for use with small samples and when the pop.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Statistics Psych 231: Research Methods in Psychology.
Modern Languages Row A Row B Row C Row D Row E Row F Row G Row H Row J Row K Row L Row M
 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.
Chapter 12 A Primer for Inferential Statistics What Does Statistically Significant Mean? It’s the probability that an observed difference or association.
Experimental Design and Analysis Instructor: Mark Hancock February 8, 2008Slides by Mark Hancock.
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Factorial Analysis of Variance
Chapter 13 - ANOVA. ANOVA Be able to explain in general terms and using an example what a one-way ANOVA is (370). Know the purpose of the one-way ANOVA.
11/19/2015Slide 1 We can test the relationship between a quantitative dependent variable and two categorical independent variables with a two-factor analysis.
Chi-square Test of Independence
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Chapter Seventeen. Figure 17.1 Relationship of Hypothesis Testing Related to Differences to the Previous Chapter and the Marketing Research Process Focus.
Mixed ANOVA Models combining between and within. Mixed ANOVA models We have examined One-way and Factorial designs that use: We have examined One-way.
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.
ANOVAs.  Analysis of Variance (ANOVA)  Difference in two or more average scores in different groups  Simplest is one-way ANOVA (one variable as predictor);
ANOVA, Continued PSY440 July 1, Quick Review of 1-way ANOVA When do you use one-way ANOVA? What are the components of the F Ratio? How do you calculate.
McGraw-Hill, Bluman, 7th ed., Chapter 12
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.
Statistics for the Social Sciences
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
DSCI 346 Yamasaki Lecture 4 ANalysis Of Variance.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Factorial Experiments
Statistics for the Social Sciences
Two Way ANOVAs Factorial Designs.
Interactions & Simple Effects finding the differences
Consider this table: The Χ2 Test of Independence
Hypothesis Testing and Comparing Two Proportions
Main Effects and Interaction Effects
Exercise 1 Use Transform  Compute variable to calculate weight lost by each person Calculate the overall mean weight lost Calculate the means and standard.
Presentation transcript:

Assignment 1 February 15, 2008Slides by Mark Hancock

Factorial (Two-Way) ANOVA February 15, 2008Slides by Mark Hancock

You will be able to perform a factorial analysis of variance (ANOVA) and interpret the meaning of the results (both main effects and interactions). February 15, 2008Slides by Mark Hancock

Variables (Revisited) Independent Variables – a.k.a. Factors Dependent Variables – a.k.a. Measures February 15, 2008Slides by Mark Hancock

Factor e.g., technique: – TreeMap vs. Phylotrees vs. ArcTrees How many levels does the “technique” factor have? February 15, 2008Slides by Mark Hancock

Factorial Design Remember the assignment Two factors: – gender (male, female) – technique (TreeMap, Phylotrees, ArcTrees) February 15, 2008Slides by Mark Hancock

Factorial Design MaleFemale TreeMap Group 1Group 2 Phylotrees Group 3Group 4 ArcTrees Group 5Group 6 Gender Technique FactorsLevels Cells February 15, 2008Slides by Mark Hancock

How did we test these six groups? February 15, 2008Slides by Mark Hancock

What did we find out? What could we have found out? Was what we did valid? February 15, 2008Slides by Mark Hancock

Factorial ANOVA What is the null hypothesis? February 15, 2008Slides by Mark Hancock

Factorial ANOVA What are the null hypotheses? February 15, 2008Slides by Mark Hancock

Main Effects February 15, 2008Slides by Mark Hancock

Main Effects MaleFemale TreeMap µ1µ1 µ2µ2 Phylotrees µ3µ3 µ4µ4 ArcTrees µ5µ5 µ6µ6 Gender Technique µ TreeMap µ Phylotrees µ ArcTrees µ Male µ Female February 15, 2008Slides by Mark Hancock

Null Hypotheses Main effect of gender: µ Male = µ Female Main effect of technique: µ TreeMap = µ Phylotrees = µ ArcTrees February 15, 2008Slides by Mark Hancock

Example NightDay Headlights µ1µ1 µ2µ2 No Headlights µ3µ3 µ4µ4 Time of Day Lights Do headlights help see pedestrians? February 15, 2008Slides by Mark Hancock

Example NightDay Headlights good No Headlights badgood Time of Day Lights Do headlights help see pedestrians? February 15, 2008Slides by Mark Hancock

Results? Main effects – Day is “better” than night – Headlights are “better” than no headlights Is that the real story? February 15, 2008Slides by Mark Hancock

What about the cell means? What other null hypothesis could we test? µ 1 = µ 2 = … = µ 4 Why not? February 15, 2008Slides by Mark Hancock

Interactions February 15, 2008Slides by Mark Hancock

What is our third null hypothesis? e.g. conclusion: – The effect of headlights depends on whether it is day or night. Null hypothesis in words: – The main effect of one factor does not depend on the levels of another factor. February 15, 2008Slides by Mark Hancock

Alternative Hypothesis The main effect of factor X depends on the levels of factor Y. February 15, 2008Slides by Mark Hancock

Null Hypothesis Level 1Level 2 Level 1 µ 11 µ 12 Level 2 µ 21 µ 22 Level 3 µ 31 µ 32 Factor 1 Factor 2 February 15, 2008Slides by Mark Hancock

Null Hypothesis µ 11 – µ 12 = µ 21 – µ 22 = µ 31 – µ 32 In general: µ ij – µ i’j = µ ij’ – µ i’j’ for all combinations of i, i’, j, j’ February 15, 2008Slides by Mark Hancock

Null Hypothesis February 15, 2008Slides by Mark Hancock

Null Hypotheses Main effects: – row means are equal – column means are equal Interaction: – the pattern of differences in one row/column do not account for the pattern of differences in another row/column February 15, 2008Slides by Mark Hancock

Factorial ANOVA Math February 15, 2008Slides by Mark Hancock

F-scores Calculate F for each null hypothesis February 15, 2008Slides by Mark Hancock

Sum of Squares (revisited) February 15, 2008Slides by Mark Hancock

Sum of Squares (revisited) February 15, 2008Slides by Mark Hancock

Factorial ANOVA Table Degrees of Freedom Sum of Squares Mean SquareF Factor 1 Factor 2 Interaction Within Groups Total February 15, 2008Slides by Mark Hancock

Example Degrees of Freedom Sum of Squares Mean SquareF Gender Condition Gender × Condition Error (Within Groups) 9610, Total9911, February 15, 2008Slides by Mark Hancock

Break: 15 Minutes February 15, 2008Slides by Mark Hancock

Example February 15, 2008Slides by Mark Hancock

Example February 15, 2008Slides by Mark Hancock

Example SourceSS df MSFP between groups rows <.01 columns <.01 interaction ns within groups (error) TOTAL February 15, 2008Slides by Mark Hancock

Three-Way ANOVA February 15, 2008Slides by Mark Hancock

What’s different about a three-way ANOVA? February 15, 2008Slides by Mark Hancock

Example Factors: – Gender (Male, Female) – Screen Orientation (Horizontal, Vertical) – Screen Size (Small, Medium, Large) February 15, 2008Slides by Mark Hancock

Null Hypotheses Main effects – gender, screen orientation, screen size (no diff) Interactions (2-way) – gender × screen orientation – gender × screen size – screen orientation × screen size (no pattern) Interactions (3-way) – gender × screen orientation × screen size (?) February 15, 2008Slides by Mark Hancock

Three-way Alternate Hypothesis Interpretation #1: – The main effect of a factor depends on the levels of both of the other two factors Interpretation #2: – The interaction effect between two factors depends on the level of another February 15, 2008Slides by Mark Hancock

Level 1Level 2 Level 1 µ 111 µ 121 Level 2 µ 211 µ 221 Level 3 µ 311 µ 321 Factor 1 Factor 2 Level 1Level 2 Level 1 µ 112 µ 122 Level 2 µ 212 µ 222 Level 3 µ 312 µ 322 Factor 1 Factor 2 Level 1Level 2 Factor 3 February 15, 2008Slides by Mark Hancock

Factorial ANOVA Table Degrees of Freedom Sum of Squares Mean Square F Factor 1 Factor 2 Factor 3 Factor 1 × Factor 2 Factor 1 × Factor 3 Factor 2 × Factor 3 Factor 1 × Factor 2 × Factor 3 Within Groups Total February 15, 2008Slides by Mark Hancock

Between-Participants vs. Within-Participants February 15, 2008Slides by Mark Hancock

Participant Assignment Level 1Level 2 Level 1 N = 10 Level 2 N = 10 Level 3 N = 10 Factor 1 Factor 2 February 15, 2008Slides by Mark Hancock

Between Participants Level 1Level 2 Level 1 Group 1Group 2 Level 2 Group 3Group 4 Level 3 Group 5Group 6 Factor 1 Factor 2 February 15, 2008Slides by Mark Hancock

Within Participants Level 1Level 2 Level 1 Group 1 Level 2 Group 1 Level 3 Group 1 Factor 1 Factor 2 February 15, 2008Slides by Mark Hancock

Mixed Design Level 1Level 2 Level 1 Group 1Group 2 Level 2 Group 1Group 2 Level 3 Group 1Group 2 Factor 1 Factor 2 February 15, 2008Slides by Mark Hancock

How does this change the math? February 15, 2008Slides by Mark Hancock

T-test Independent Variance Paired Variance February 15, 2008Slides by Mark Hancock

One-Way ANOVA Independent Repeated Measures Degrees of Freedom Sum of Squares Mean SquareF Between Groups Within Groups Total Degrees of Freedom Sum of Squares Mean Square F Factor Subjects Error (Factor × Subjects) Total February 15, 2008Slides by Mark Hancock

Two-Way ANOVA Degrees of Freedom Sum of Squares Mean Square F Subjects Factor 1 Factor 1 × Subjects Factor 2 Factor 2 × Subjects Factor 1 × Factor 2 Factor 1 × Factor 2 × Subjects Total February 15, 2008Slides by Mark Hancock

Post-hoc Analysis February 15, 2008Slides by Mark Hancock

Main Effects Main effect for factor with two levels – No need to do post-hoc Main effect for factor with >2 levels – Same as one-way ANOVA – Pairwise t-tests February 15, 2008Slides by Mark Hancock

How do we (correctly) interpret the results when there’s an interaction effect? February 15, 2008Slides by Mark Hancock

Example There is a significant interaction between gender and technique. example answer: men were quicker with TreeMaps than with Phylotrees and ArcTrees, but women were quicker with ArcTrees than with Phylotrees and TreeMaps. February 15, 2008Slides by Mark Hancock

Example February 15, 2008Slides by Mark Hancock

Post-hoc Tests For each level of one factor – pairwise comparisons of each level of the other Hold level of one factor constant February 15, 2008Slides by Mark Hancock

Three-Way Interactions Much more difficult to interpret Same strategy: hold levels of two factors constant and perform pairwise comparisons Alternate strategy: don’t bother (use graphs) February 15, 2008Slides by Mark Hancock