270 likes | 407 Views
Introduction to 2-way ANOVA. Statistics Spring 2005. Terminology. 2-Way ANOVA means 2 independent variables 1 dependent variable 3X4 ANOVA means 2 independent variables 1 dependent variable one IV has 3 levels one IV has 4 levels. HYPOTHESES TESTED in 2-WAY ANOVA.
E N D
Introduction to 2-way ANOVA Statistics Spring 2005
Terminology • 2-Way ANOVA means • 2 independent variables • 1 dependent variable • 3X4 ANOVA means • 2 independent variables • 1 dependent variable • one IV has 3 levels • one IV has 4 levels
HYPOTHESES TESTEDin 2-WAY ANOVA • No differences for IV #1 (A - 3 levels) • H0: MA1 = MA2 = MA3 • No differences for IV #2 (B - 4 levels) • H0: MB1 = MB2 = MB3 = MB4 • No interaction • At least one MAiBjMAmBn These are called “Main Effects”
EXAMPLE • One might suspect that level of education and gender both have significant impacts on salary. Using the data found inCensus90 condensed.savdetermine if this statement is true. Dependent Variable INCOME (ratio level data) Independent Variables GENDER (2 levels) EDUCAT (6 levels) = .05
HYPOTHESES TESTEDfor a 2X6 ANOVA • No differences for GENDER (2 levels) • H0: MMale = MFemale • No differences for EDUCATION (6 levels) • H0: MB1 = MB2 = MB3 = MB4 = MB5 = MB6 • No interaction • At least one MAiBjMAmBn
To run the test of these hypotheses in SPSS….. Analyze General Linear Model Univariate NOTE: Use this method of analysis when both IV’s are not repeated measures.
HYPOTHESES TESTEDfor a 2X6 ANOVA • No differences for GENDER(2 levels) • H0: MMale = MFemale • No differences for EDUCATION (6 levels) • H0: MB1 = MB2 = MB3 = MB4 = MB5 = MB6 • No interaction • At least one MAiBjMAmBn Reject H0 (F(1,471)=29.95: p=.000) Reject H0 (F(5,471)=13.75: p=.000) Reject H0 (F(5,471)=2.96: p=.012)
Types of 2-Way ANOVA designs • Both IV’s are between subjects(i.e. not-repeated measures) • Both IV’s are within subjects(i.e. repeated measures) • One IV is between subjects, the other IV is within subjects
Both IV’s are between subjects(i.e. not-repeated measures) Analyze General Linear Model Univariate
Both IV’s are within subjects(i.e. repeated measures) Analyze General Linear Model Repeated Measures
One IV is between subjects, other IV is within subjects Analyze General Linear Model Repeated Measures
HYPOTHESES TESTEDin 2-WAY ANOVA • No differences for IV #1 (A - 3 levels) • H0: MA1 = MA2 = MA3 • No differences for IV #2 (B - 4 levels) • H0: MB1 = MB2 = MB3 = MB4 • No interaction • At least one MAiBjMAmBn These are called “Main Effects”