Statistics for the Social Sciences Psychology 340 Fall 2012 Analysis of Variance (ANOVA)

Slides:



Advertisements
Similar presentations
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
Advertisements

BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
Chapter 10 Analysis of Variance (ANOVA) Part III: Additional Hypothesis Tests Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social.
Analysis of Variance (ANOVA) Statistics for the Social Sciences Psychology 340 Spring 2010.
Using Statistics in Research Psych 231: Research Methods in Psychology.
Using Statistics in Research Psych 231: Research Methods in Psychology.
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Using Statistics in Research Psych 231: Research Methods in Psychology.
Experimental Design & Analysis
Analysis of Variance: Inferences about 2 or More Means
Statistics Are Fun! Analysis of Variance
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
PSY 307 – Statistics for the Behavioral Sciences
Statistics for the Social Sciences Psychology 340 Fall 2006 ANOVA: Book vs. instructor.
Lecture 9: One Way ANOVA Between Subjects
Statistics for the Social Sciences Psychology 340 Spring 2005 Analysis of Variance (ANOVA)
Statistics for the Social Sciences Psychology 340 Spring 2005 Within Groups ANOVA.
Statistics for the Social Sciences
Using Statistics in Research Psych 231: Research Methods in Psychology.
Introduction to Analysis of Variance (ANOVA)
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
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.
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Statistics (cont.) Psych 231: Research Methods in Psychology.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Statistics Psych 231: Research Methods in Psychology.
Testing Hypotheses about Differences among Several Means.
Statistics (cont.) Psych 231: Research Methods in Psychology.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Statistics for the Social Sciences Psychology 340 Fall 2013 Tuesday, October 15, 2013 Analysis of Variance (ANOVA)
One-Way ANOVA ANOVA = Analysis of Variance This is a technique used to analyze the results of an experiment when you have more than two groups.
ANOVA: Analysis of Variance.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Statistics Psych 231: Research Methods in Psychology.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Statistics for Psychology CHAPTER SIXTH EDITION Statistics for Psychology, Sixth Edition Arthur Aron | Elliot J. Coups | Elaine N. Aron Copyright © 2013.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
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.
Chapter 9 Introduction to the Analysis of Variance Part 1: Oct. 22, 2013.
Statistics (cont.) Psych 231: Research Methods in Psychology.
BHS Methods in Behavioral Sciences I May 9, 2003 Chapter 6 and 7 (Ray) Control: The Keystone of the Experimental Method.
Statistics Psych 231: Research Methods in Psychology.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
MM570Sec02 Zrotowski Unit 8, Unit 8, Chapter 9 Chapter 9 1 ANOVA 1 ANOVA.
Statistics (cont.) Psych 231: Research Methods in Psychology.
ANOVA PSY440 June 26, Clarification: Null & Alternative Hypotheses Sometimes the null hypothesis is that some value is zero (e.g., difference between.
Inferential Statistics Psych 231: Research Methods in Psychology.
Inferential Statistics Psych 231: Research Methods in Psychology.
Six Easy Steps for an ANOVA 1) State the hypothesis 2) Find the F-critical value 3) Calculate the F-value 4) Decision 5) Create the summary table 6) Put.
Psych 231: Research Methods in Psychology
Inferential Statistics
Statistics for the Social Sciences
Statistics for the Social Sciences
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Statistics for the Social Sciences
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Chapter 10 Introduction to the Analysis of Variance
Psych 231: Research Methods in Psychology
Presentation transcript:

Statistics for the Social Sciences Psychology 340 Fall 2012 Analysis of Variance (ANOVA)

Exam Results Mean = Trimmed Mean = Standard Deviation = Trimmed SD = Distribution: AAAA BBBBBBBBBB CCCCCCCC DD FFFF Mean Number of Unexcused Absences for People who Earned each Grade:

Exam Results Mean = Trimmed Mean = Standard Deviation = Trimmed SD = Distribution: AAAA BBBBBBBBBB CCCCCCCC DD FFFF Percent of Students with at Least one Unexcused Absence in Each Grade Category:

General Feedback Most people did very well with knowing which test to do, and with following the four steps of hypothesis testing. Some confusion with writing null and alternative hypotheses in mathematical terms (especially directional hypotheses), but generally good job on this. A few students who have come in for help did better on this test than the last test – Good Job! A number of people missed Central Limit Theorem question. Expect to see this again on future exams (as well as questions about why it is important). Some also missed question about power on p. 3., and about Type I and Type II error and alpha and beta on p. 1. Expect to see more questions on these concepts. Lots of confusion re: Levene’s Test. Expect to see more questions on this.

New Topic: ANOVA We will start to move a bit more slowly now. Homework (due Monday): Chapter 12, Questions: 1, 2, 7, 8, 9, 10, 12

Outline (for next two classes) Basics of ANOVA Why Computations ANOVA in SPSS Post-hoc and planned comparisons Assumptions The structural model in ANOVA

Outline (today) Basics of ANOVA Why Computations ANOVA in SPSS Post-hoc and planned comparisons Assumptions The structural model in ANOVA

Example Effect of knowledge of prior behavior on jury decisions – Dependent variable: rate how innocent/guilty – Independent variable: 3 levels Criminal record Clean record No information (no mention of a record)

Statistical analysis follows design The 1 factor between groups ANOVA: –More than two –Independent & One score per subject –1 independent variable

Analysis of Variance More than two groups – Now we can’t just compute a simple difference score since there are more than one difference MBMB MAMA MCMC Criminal recordClean recordNo information M A = 8.0M B = 4.0M C = 5.0 Generic test statistic

Analysis of Variance – Need a measure that describes several difference scores – Variance Variance is essentially an average squared difference MBMB MAMA MCMC Criminal recordClean recordNo information M A = 8.0M B = 4.0M C = 5.0 Test statistic Observed variance Variance from chance F-ratio = More than two groups

Testing Hypotheses with ANOVA Null hypothesis (H 0 ) – All of the populations all have same mean –Step 1: State your hypotheses Hypothesis testing: a four step program Alternative hypotheses (H A ) –Not all of the populations all have same mean –There are several alternative hypotheses –We will return to this issue later

Testing Hypotheses with ANOVA –Step 2: Set your decision criteria –Step 3: Collect your data & compute your test statistics Compute your degrees of freedom (there are several) Compute your estimated variances Compute your F-ratio –Step 4: Make a decision about your null hypothesis Hypothesis testing: a four step program –Step 1: State your hypotheses –Additional tests Reconciling our multiple alternative hypotheses

Step 3: Computing the F-ratio Analyzing the sources of variance – Describe the total variance in the dependent measure Why are these scores different? MBMB MAMA MCMC Two sources of variability –Within groups –Between groups

Step 3: Computing the F-ratio Within-groups estimate of the population variance – Estimating population variance from variation from within each sample Not affected by whether the null hypothesis is true MBMB MAMA MCMC Different people within each group give different ratings Different people within each group give different ratings

Step 3: Computing the F-ratio Between-groups estimate of the population variance – Estimating population variance from variation between the means of the samples Is affected by whether or not the null hypothesis is true MBMB MAMA MCMC There is an effect of the IV, so the people in different groups give different ratings There is an effect of the IV, so the people in different groups give different ratings

Partitioning the variance Total variance Stage 1 Between groups variance Within groups variance Note: we will start with SS, but will get to variance Note: we will start with SS, but will get to variance

Partitioning the variance Total variance Criminal recordClean recordNo information Basically forgetting about separate groups –Compute the Grand Mean (GM) –Compute squared deviations from the Grand Mean

Partitioning the variance Total variance Stage 1 Between groups variance Within groups variance

Partitioning the variance Within groups variance Criminal recordClean recordNo information M A = 8.0M B = 4.0M C = 5.0 Basically the variability in each group –Add up the SS from all of the groups

Partitioning the variance Total variance Stage 1 Between groups variance Within groups variance

Partitioning the variance Between groups variance Criminal recordClean recordNo information M A = 8.0M B = 4.0M C = 5.0 Basically how much each group differs from the Grand Mean –Subtract the GM from each group mean –Square the diffs –Weight by number of scores

Partitioning the variance Total variance Stage 1 Between groups variance Within groups variance

Partitioning the variance Total variance Stage 1 Between groups variance Within groups variance Now we return to variance. But, we call it Mean Squares (MS) Now we return to variance. But, we call it Mean Squares (MS) Recall:

Partitioning the variance Mean Squares (Variance) Within groups variance Between groups variance

Step 4: Computing the F-ratio The F ratio – Ratio of the between-groups to the within-groups population variance estimate The F distribution The F table Observed variance Variance from chance F-ratio = Do we reject or fail to reject the H 0 ? Do we reject or fail to reject the H 0 ?

Carrying out an ANOVA The F distribution The F tableThe F table –Need two df’s df between (numerator) df within (denominator) –Values in the table correspond to critical F’s Reject the H 0 if your computed value is greater than or equal to the critical F –Separate tables for 0.05 & 0.01

Carrying out an ANOVA The F tableThe F table –Need two df’s df between (numerator) df within (denominator) –Values in the table correspond to critical F’s Reject the H 0 if your computed value is greater than or equal to the critical F –Separate tables for 0.05 & 0.01 Do we reject or fail to reject the H 0 ? Do we reject or fail to reject the H 0 ? –From the table (assuming 0.05) with 2 and 12 degrees of freedom the critical F = –So we reject H 0 and conclude that not all groups are the same

Computational Formulas Criminal recordClean recordNo information T A = 40T B = 20T C = 25 G=85 T = Group Total G = Grand Total

Computational Formulas Criminal recordClean recordNo information T A = 40T B = 20T C = 25 G=85

Computational Formulas Criminal recordClean recordNo information T A = 40T B = 20T C = 25 G=85

Computational Formulas Criminal recordClean recordNo information T A = 40T B = 20T C = 25 G=85

Computational Formulas Criminal recordClean recordNo information T A = 40T B = 20T C = 25 G=85

Exam Results Mean = Trimmed Mean = Standard Deviation = Trimmed SD = Distribution: AAAA BBBBBBBBBB CCCCCCCC DD FFFF Mean Number of Unexcused Absences for People who Earned each Grade:

Is this Effect Statistically Significant? 1: 2: α=.05, F critical (3,24) =3.01

Partitioning the variance Total variance Stage 1 Between groups variance Within groups variance

Conclusion: F Obs > F Critical (p <.05) so Reject H 0 and conclude that # of absences is not equal among people earning different grades. 3: 4:

Next time Basics of ANOVA Why Computations ANOVA in SPSS Post-hoc and planned comparisons Assumptions The structural model in ANOVA

Assumptions in ANOVA Populations follow a normal curve Populations have equal variances

Planned Comparisons Reject null hypothesis – Population means are not all the same Planned comparisons – Within-groups population variance estimate – Between-groups population variance estimate Use the two means of interest – Figure F in usual way

1 factor ANOVA Null hypothesis: H 0 : all the groups are equal MBMB MAMA MCMC M A = M B = M C Alternative hypotheses H A : not all the groups are equal M A ≠ M B ≠ M C M A ≠ M B = M C M A = M B ≠ M C M A = M C ≠ M B The ANOVA tests this one!!

1 factor ANOVA Planned contrasts and post-hoc tests: - Further tests used to rule out the different Alternative hypotheses M A ≠ M B ≠ M C M A ≠ M B = M C M A = M B ≠ M C M A = M C ≠ M B Test 1: A ≠ B Test 2: A ≠ C Test 3: B = C

Planned Comparisons Simple comparisons Complex comparisons Bonferroni procedure – Use more stringent significance level for each comparison

Controversies and Limitations Omnibus test versus planned comparisons – Conduct specific planned comparisons to examine Theoretical questions Practical questions – Controversial approach

ANOVA in Research Articles F(3, 67) = 5.81, p <.01 Means given in a table or in the text Follow-up analyses – Planned comparisons Using t tests

1 factor ANOVA Reporting your results – The observed difference – Kind of test – Computed F-ratio – Degrees of freedom for the test – The “p-value” of the test – Any post-hoc or planned comparison results “The mean score of Group A was 12, Group B was 25, and Group C was 27. A 1-way ANOVA was conducted and the results yielded a significant difference, F(2,25) = 5.67, p < Post hoc tests revealed that the differences between groups A and B and A and C were statistically reliable (respectively t(1) = 5.67, p < 0.05 & t(1) = 6.02, p <0.05). Groups B and C did not differ significantly from one another”

The structural model and ANOVA The structural model is all about deviations Score (X) Group mean (M) Grand mean (GM) Score’s deviation from group mean (X-M) Group’s mean’s deviation from grand mean (M-GM) Score’s deviation from grand mean (X-GM)