Top Banner
Lab Chapter 14: Analysis of Variance 1
20

Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Dec 18, 2015

Download

Documents

Damian Barber
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Lab Chapter 14: Analysis of Variance

1

Page 2: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Lab Topics:

• One-way ANOVA– the F ratio– post hoc multiple comparisons

• Two-way ANOVA– main effects– interaction effects

Page 3: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

One-Way ANOVA

• To test hypotheses about the mean on one variable for three or more groups

• Sample hypotheses:– “There are differences in the average income of

sociology, social work, and criminology majors.”– “There are differences in the recidivism rate of

persons convicted of burglary, larceny, forgery, and robbery.”

Page 4: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

One-Way ANOVA (cont.)

• The hypotheses:– research hypothesis: at least one group has a

different mean– null hypothesis: all groups have the same mean

• inferential statistic: F ratio– non-directional hypotheses– degrees of freedom:one-way ANOVA: df = (K – 1 and N - K)

Page 5: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

One-Way ANOVA (cont.)• Post hoc multiple comparison tests• Tukey, Tukey’s b, and Bonferonni most

common tests– One-way ANOVA can only tell you if F ratio is

significant but not which groups are significantly different form one another

– Post hoc tests can identify pairs of groups that significantly differ

– If F ratio for model not significant, post hoc test not needed

Page 6: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

One-Way ANOVA Example• Were there significant differences by region in

the average willingness to allow legal abortion among 1980 GSS young adults?

• DV: Willingness to allow abortion (I-R level)• IV: Region (nominal level – 4 groups)1. State the research and the null hypothesis.• research hypothesis: There were regional differences in

average willingness to allow legal abortion.• null hypothesis: There were no regional differences in

average willingness to allow legal abortion.

Page 7: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

One-Way ANOVA Example (cont.)2. Are the sample results consistent with the null

hypothesis or the research hypothesis?Analyze | Compare Means | One-Way ANOVA

(Use Post-Hoc to request Multiple Comparison Test)

Page 8: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Requesting Sample Means and Post Hoc

Multiple Comparisons

Page 9: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Sample Means for Each Region

Page 10: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

3. What is the probability of getting the sample results if the null hypothesis is true?

4. Reject or do not reject null hypothesis. p = .000 < α = .05, Reject null hypothesis, there is a significant

difference. Which groups are different?

5. See post-hoc multiple test (next slide)

One-Way ANOVA Example (cont.)

Page 11: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

11

duplicate

duplicate

duplicate

duplicate

Page 12: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Two-Way ANOVA

• Tests hypotheses about the mean on one dependent variable for groups created by two or more independent variables (or factors)

• Nominal or ordinal level variables entered as “fixed factors”

• Tests for significant…– interaction effects– main effects

Page 13: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

More on Two-way ANOVA• “Fixed Factors” are at the nominal or ordinal

level of measurement and have a limited number of discrete categories

• Note: Two-way ANOVA can also employ IV’s at the I-R level as covariates– In this case the process is known as ANCOVA

(Analysis of Covariance) and the I-R variable is entered into the dialogue box as a covariate.

– However, this is a much more complex analysis and we will be using multiple regression for models that have both nominal/ordinal and I-R level variables

Page 14: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Two-Way ANOVA Example• questions:– Was there a significant interaction effect of marital

status and gender on hours worked among 1980 GSS young adults?

– If the interaction wasn’t significant, did marital status and gender have significant individual net effects?

• Analyze | General Linear Model | Univariate• (Use Plots and Post-Hoc to request Subgroup

Means and a Plot of Subgroup Means)

Page 15: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Producing a Two-Way ANOVA

Page 16: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Requesting Subgroup Means

and a Plot of Subgroup Means

16

Page 17: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Significance Tests 1. overall model: significant

2. interaction effect: significant3. main effect: not needed

Answering Questions with Statistics Chapter 14

1

2

Page 18: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Subgroup Means and

Plot

18

Page 19: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

More on Two-Way ANOVA• If interaction is significant, then interpret it

along with means and plot.– This indicates that the IV’s are not acting

separately from one another in their effect on the DV. Main effect becomes irrelevant.

• If interaction is not significant, interpret main effects. – This indicates that IV effects on DV are

independent of one another and that there is no significant interaction of the two IV’s in the population.

19

Page 20: Lab Chapter 14: Analysis of Variance 1. Lab Topics: One-way ANOVA – the F ratio – post hoc multiple comparisons Two-way ANOVA – main effects – interaction.

Example: Effects of Married and Sex on Number of Children (DV)

1. overall model: significant2. interaction effect: not significant3. main effects– MARRIED: significant– SEX: significant

1

2

3