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.

Slides:



Advertisements
Similar presentations
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Advertisements

1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
C82MST Statistical Methods 2 - Lecture 4 1 Overview of Lecture Last Week Per comparison and familywise error Post hoc comparisons Testing the assumptions.
Analysis of Variance (ANOVA) Statistics for the Social Sciences Psychology 340 Spring 2010.
ANOVA notes NR 245 Austin Troy
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Part I – MULTIVARIATE ANALYSIS
Analysis of Variance: Inferences about 2 or More Means
PSYC512: Research Methods PSYC512: Research Methods Lecture 19 Brian P. Dyre University of Idaho.
Intro to Statistics for the Behavioral Sciences PSYC 1900
Two Groups Too Many? Try Analysis of Variance (ANOVA)
One-way Between Groups Analysis of Variance
Statistics for the Social Sciences
Intro to Statistics for the Behavioral Sciences PSYC 1900
Chapter 14 Inferential Data Analysis
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
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.
F-Test ( ANOVA ) & Two-Way ANOVA
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?
Inferential Statistics: SPSS
QNT 531 Advanced Problems in Statistics and Research Methods
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
Sociology 5811: Lecture 14: ANOVA 2
Chapter 7 Experimental Design: Independent Groups Design.
ANOVA (Analysis of Variance) by Aziza Munir
Inferential Statistics
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Chapter 19 Analysis of Variance (ANOVA). ANOVA How to test a null hypothesis that the means of more than two populations are equal. H 0 :  1 =  2 =
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.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
PSYC 6130 One-Way Independent ANOVA. PSYC 6130, PROF. J. ELDER 2 Generalizing t-Tests t-Tests allow us to test hypotheses about differences between two.
ANOVA: 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.
Chapter 12: Analysis of Variance. Chapter Goals Test a hypothesis about several means. Consider the analysis of variance technique (ANOVA). Restrict the.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
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.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
Chapter 4 Analysis of Variance
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Between Subjects Analysis of Variance PowerPoint.
Statistics for the Social Sciences Psychology 340 Spring 2009 Analysis of Variance (ANOVA)
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.
Analysis of Variance STAT E-150 Statistical Methods.
Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.Introduction To Basic Ratios 3.Basic Ratios In Excel 4.Cumulative.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Chapter 12 Introduction to Analysis of Variance
I. ANOVA revisited & reviewed
Chapter 12 Chi-Square Tests and Nonparametric Tests
Factorial Experiments
Comparing Three or More Means
Statistics for the Social Sciences
Chapter 11 Analysis of Variance
I. Statistical Tests: Why do we use them? What do they involve?
One-Way Analysis of Variance
Hypothesis Tests for Two Population Standard Deviations
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

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 called factors. An experiment in which any combination of values for the 2 factors can occur is called a completely crossed factorial design. If all cells have the same n, the design is said to be balanced. Still have only 1 dependent variable

PSYC 6130A, PROF. J. ELDER 3 Example: Visual Grating Detection in Noise 200 ms Until Response 500 ms

PSYC 6130A, PROF. J. ELDER 4 2 x 3 Design Noise Contrast Grating Frequency (c/deg) %14.8% 50.0%

PSYC 6130A, PROF. J. ELDER 5 Balanced Design Factor B Factor A

PSYC 6130A, PROF. J. ELDER 6 Descriptive Statistics

PSYC 6130A, PROF. J. ELDER 7 Interactions If there is no interaction between the factors (spatial frequency, noise contrast), the dependent variable (SNR) for each condition (cell) can be predicted from the independent effects of factors A and B: –Cell mean = Grand mean + Row effect + Column effect

PSYC 6130A, PROF. J. ELDER 8 Interactions If there are no interactions, curves should be parallel (effect of noise contrast is independent of spatial frequency).

PSYC 6130A, PROF. J. ELDER 9 Types of Effects

PSYC 6130A, PROF. J. ELDER 10 Interactions In the general case, Cell mean = Grand mean + Row effect + Column effect + Interaction effect Score deviations from cell means are considered error (unpredictable). Thus: Score = Grand mean + Row effect + Column effect + Interaction effect + Error OR Score - Grand mean = Row effect + Column effect + Interaction effect + Error

PSYC 6130A, PROF. J. ELDER 11 Sum of Squares Analysis

Multiple Subscript and Summation Notation

PSYC 6130A, PROF. J. ELDER 13 Single Subscript Notation X

PSYC 6130A, PROF. J. ELDER 14 Double Subscript Notation

PSYC 6130A, PROF. J. ELDER 15 Double Subscript Notation The first subscript refers to the row that the particular value is in, the second subscript refers to the column.

PSYC 6130A, PROF. J. ELDER 16 Double Subscript Notation Test your understanding by identifying in the table below.

PSYC 6130A, PROF. J. ELDER 17 Double Subscript Notation We will follow the notation of Howell:

PSYC 6130A, PROF. J. ELDER 18 Multi-Subscript Notation In two-way ANOVA, 3 indices are needed:

PSYC 6130A, PROF. J. ELDER 19 Multi-Subscript Notation Statistics are calculated by summing over scores within cells, and thus the third subscript (k) is dropped:

PSYC 6130A, PROF. J. ELDER 20 Multi-Subscript Notation

PSYC 6130A, PROF. J. ELDER 21 Pooled Statistics Multi-factor ANOVA requires the calculation of statistics that pool, or ‘collapse’ data over one or more factors. We indicate the factors over which the data are being pooled by substituting a ‘bullet’ for the corresponding index.

PSYC 6130A, PROF. J. ELDER 22 Pooled Statistics

Six Step Procedure

PSYC 6130A, PROF. J. ELDER Signal to Noise at Threshold.500 Signal to Noise at Threshold Spatial Frequency (cpd) Std Deviation.043 Std Deviation.148 Std Deviation.500 Noise Contrast (Michelson units) Example Signal to Noise at Threshold (%) Spatial Frequency (cpd) Group Total Mean.043 Mean.148 Mean.500 Noise Contrast (Michelson units) Mean Group Total

PSYC 6130A, PROF. J. ELDER 25 Step 1. State the Hypothesis Null hypothesis has 3 parts, e.g., –Mean SNR at threshold same for both spatial frequencies –Mean SNR at threshold same for all noise levels –No interactions

PSYC 6130A, PROF. J. ELDER 26 Step 2. Select Statistical Test and Significance Level Normally use same  -level for testing all 3 F ratios.

PSYC 6130A, PROF. J. ELDER 27 Step 3. Select Samples and Collect Data Strive for a balanced design Ideally, randomly sample More probably, random assignment

PSYC 6130A, PROF. J. ELDER 28 Step 4. Find Regions of Rejection Generally have 3 different critical values for each F test Denominator Numerator

PSYC 6130A, PROF. J. ELDER 29 Degrees of Freedom Tree

PSYC 6130A, PROF. J. ELDER 30 Step 5. Calculate the Test Statistics

PSYC 6130A, PROF. J. ELDER 31 Step 5. Calculate the Test Statistics

PSYC 6130A, PROF. J. ELDER 32 Step 6. Make the Statistical Decisions Note that 3 independent statistical decisions are being made. Thus the probability of one or more Type I errors is greater than the α value used for each test. It is not common to correct for this. You should be aware of this issue as both a producer and consumer of scientific results!

PSYC 6130A, PROF. J. ELDER 33 SPSS Output Main effects Interaction

PSYC 6130A, PROF. J. ELDER 34 SPSS Output

PSYC 6130A, PROF. J. ELDER 35 Assumptions of Two-Way Independent ANOVA Same as for One-Way If balanced, don’t have to worry about homogeneity of variance.

PSYC 6130A, PROF. J. ELDER 36 Advantages of 2-Way ANOVA with 2 Experimental Factors One factor may not be of interest (e.g., gender), but may affect the dependent variable. Explicitly partitioning the data according to this ‘nuisance’ variable can increase the power of tests on the independent variable of interest.

PSYC 6130A, PROF. J. ELDER 37 Simple Effects When significant main effects are discovered, it is common to also test for simple effects.

PSYC 6130A, PROF. J. ELDER 38 Simple Effects A main effect is an effect of one factor measured by collapsing (pooling) over all other factors. A simple effect is an effect of one factor measured by fixing all other factors. Although we found significant main effects, given the significant interaction, these main effects do not necessarily imply similarly significant simple effects.

PSYC 6130A, PROF. J. ELDER 39 Simple Effects Thus, particularly when a significant interaction is observed, a factorial ANOVA is often followed up by a series of one-way ANOVAS to test simple effects. For our example, there are a total of 5 possible simple effects to test.

PSYC 6130A, PROF. J. ELDER 40 Simple Effects To conduct follow-up one- way ANOVA tests of simple effects in SPSS: –Select Split File … from the Data menu –Click on Organize Output by Groups –Transfer the factor to be held constant to the space labeled “Groups Based On.” –Now proceed with one- way ANOVAS as usual.

PSYC 6130A, PROF. J. ELDER 41 Simple Effects Test of Homogeneity of Variances a Signal to Noise at Threshold Levene Statisticdf1df2Sig. Spatial Frequency (cpd) =.500 a. ANOVA a Signal to Noise at Threshold Between Groups Within Groups Total Sum of SquaresdfMean SquareFSig. Spatial Frequency (cpd) =.500 a. Robust Tests of Equality of Means b Signal to Noise at Threshold Welch Brown-Forsythe Statistic a df1df2Sig. Asymptotically F distributed. a. Spatial Frequency (cpd) =.500 b.

PSYC 6130A, PROF. J. ELDER 42 Simple Effects Test of Homogeneity of Variances a Signal to Noise at Threshold Levene Statisticdf1df2Sig. Spatial Frequency (cpd) = a. ANOVA a Signal to Noise at Threshold Between Groups Within Groups Total Sum of SquaresdfMean SquareFSig. Spatial Frequency (cpd) = a. Robust Tests of Equality of Means b Signal to Noise at Threshold Welch Brown-Forsythe Statistic a df1df2Sig. Asymptotically F distributed. a. Spatial Frequency (cpd) = b.

PSYC 6130A, PROF. J. ELDER 43 Simple Effects Again note that multiple independent statistical decisions are being made. Conditioning the test for simple effects on a significant main effect provides protection if only 2 simple effects are being tested. Otherwise, the probability of one or more Type I errors is greater than the α value used for each test. It is not common to correct for this. You should be aware of this issue as both a producer and consumer of scientific results!

End of Lecture April 8, 2009

PSYC 6130A, PROF. J. ELDER 45 Planned or Posthoc Pairwise Comparisons If significant main (and possibly simple) effects are found, it is common to follow up with one or more pairwise tests. It is most common to test differences between marginal means within a factor (i.e., pooling over the other factor). In this example, there are only 3 meaningful posthoc tests on marginal means. Why?

PSYC 6130A, PROF. J. ELDER 46 Pairwise Comparisons on Marginal Means Since there are 3 levels of noise, we can consider using Fisher’s LSD. However, since variances do not appear homogeneous, we should not use an LSD based on pooling the variance over all 3 conditions. Test of Homogeneity of Variances Signal to Noise at Threshold Levene Statisticdf1df2Sig.

PSYC 6130A, PROF. J. ELDER 47 Pairwise Comparisons on Marginal Means Alternative when variances appear heterogeneous: –Compute Fisher’s LSD by hand, calculating standard error separately for each test (not difficult) –One of the unequal variance post-hoc tests offered by SPSS

PSYC 6130A, PROF. J. ELDER 48 Planned or Posthoc Pairwise Comparisons It is also possible to test differences between cell means. Note that in this design, there are 15 possible pairwise cell comparisons. It doesn’t make that much sense to compare 2 cells that are not in the same row or column (i.e. that differ in both factors). It is more likely that you would follow a significant simple effect test with a set of pairwise comparisons within a factor while holding the other factor constant. There are 9 such comparisons possible here. For example, within a spatial frequency condition, what noise conditions differ significantly? This defines a total of 6 pairwise comparisons (2 families of 3 comparisons each).

PSYC 6130A, PROF. J. ELDER 49 Planned or Posthoc Pairwise Comparisons Alternative when variances appear heterogeneous: –Compute Fisher’s LSD by hand, calculating standard error separately for each test (not difficult) –One of the unequal variance post-hoc tests offered by SPSS (assumes all- pairs)

PSYC 6130A, PROF. J. ELDER 50 Interaction Comparisons If significant interactions are found in a design that is 2x3 or larger, it may be of interest to test the significance of smaller (e.g., 2x2) interactions. These can be tested by ignoring specific subsets of the data for each test (e.g., by using the SPSS Select Cases function).

PSYC 6130A, PROF. J. ELDER 51 Unbalanced Designs for Two-Way ANOVA Dealing with unbalanced designs is easy for One-Way ANOVA. Dealing with unbalanced designs is trickier for Two-Way.

PSYC 6130A, PROF. J. ELDER 52 Simple Solution Let n = harmonic mean of sample sizes. Calculate marginal means as an unweighted mean of cell means (not the pooled mean).

PSYC 6130A, PROF. J. ELDER 53 Better Solution Regression approach to ANOVA (will not cover)