Two Groups Too Many? Try Analysis of Variance (ANOVA)

Slides:



Advertisements
Similar presentations
ANALYSIS OF VARIANCE (ONE WAY)
Advertisements

Analysis of variance (ANOVA)-the General Linear Model (GLM)
Analysis of Variance (ANOVA) Statistics for the Social Sciences Psychology 340 Spring 2010.
Conceptual Review Conceptual Formula, Sig Testing Calculating in SPSS
Independent Sample T-test Formula
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Comparing Means.
PSY 307 – Statistics for the Behavioral Sciences
Intro to Statistics for the Behavioral Sciences PSYC 1900
Lecture 9: One Way ANOVA Between Subjects
Statistics for the Social Sciences Psychology 340 Spring 2005 Analysis of Variance (ANOVA)
One-way Between Groups Analysis of Variance
Lecture 12 One-way Analysis of Variance (Chapter 15.2)
Analysis of Variance & Multivariate Analysis of Variance
Comparing Several Means: One-way ANOVA Lesson 14.
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
Introduction to Analysis of Variance (ANOVA)
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Inferential Statistics
Analysis of Variance (ANOVA) Quantitative Methods in HPELS 440:210.
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.
Repeated Measures ANOVA
ANOVA Greg C Elvers.
Statistics for the Behavioral Sciences Second Edition Chapter 12: Between-Groups ANOVA iClicker Questions Copyright © 2012 by Worth Publishers Susan A.
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.
 The idea of ANOVA  Comparing several means  The problem of multiple comparisons  The ANOVA F test 1.
Comparing Several Means: One-way ANOVA Lesson 15.
t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
Introduction to Biostatistics, Harvard Extension School, Fall, 2005 © Scott Evans, Ph.D.1 Analysis of Variance (ANOVA)
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Statistics 11 Confidence Interval Suppose you have a sample from a population You know the sample mean is an unbiased estimate of population mean Question:
ANOVA (Analysis of Variance) by Aziza Munir
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
I. Statistical Tests: A Repetive Review A.Why do we use them? Namely: we need to make inferences from incomplete information or uncertainty þBut we want.
Statistics for the Social Sciences Psychology 340 Fall 2013 Tuesday, October 15, 2013 Analysis of Variance (ANOVA)
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.
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.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
11/19/2015Slide 1 We can test the relationship between a quantitative dependent variable and two categorical independent variables with a two-factor analysis.
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.
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
ANOVA P OST ANOVA TEST 541 PHL By… Asma Al-Oneazi Supervised by… Dr. Amal Fatani King Saud University Pharmacy College Pharmacology Department.
ANOVAs.  Analysis of Variance (ANOVA)  Difference in two or more average scores in different groups  Simplest is one-way ANOVA (one variable as predictor);
Psych 230 Psychological Measurement and Statistics Pedro Wolf November 18, 2009.
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
Statistics for the Social Sciences Psychology 340 Spring 2009 Analysis of Variance (ANOVA)
Statistics for Political Science Levin and Fox Chapter Seven
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Kin 304 Inferential Statistics Probability Level for Acceptance Type I and II Errors One and Two-Tailed tests Critical value of the test statistic “Statistics.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
EDUC 200C Section 9 ANOVA November 30, Goals One-way ANOVA Least Significant Difference (LSD) Practice Problem Questions?
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.Introduction To Basic Ratios 3.Basic Ratios In Excel 4.Cumulative.
Independent Samples ANOVA. Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.The Equal Variance Assumption 3.Cumulative.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Posthoc Comparisons finding the differences. Statistical Significance What does a statistically significant F statistic, in a Oneway ANOVA, tell us? What.
Chapter 12 Introduction to Analysis of Variance
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.
CHAPTER 15: THE NUTS AND BOLTS OF USING STATISTICS.
Kin 304 Inferential Statistics
Analysis of Variance (ANOVA)
I. Statistical Tests: Why do we use them? What do they involve?
Presentation transcript:

Two Groups Too Many? Try Analysis of Variance (ANOVA) T-test Compare two groups Test the null hypothesis that two populations has the same average.   ANOVA: Compare more than two groups Test the null hypothesis that two populations among several numbers of populations has the same average. The test statistic for ANOVA is the F-test (named for R. A. Fisher, the creator of the statistic).

Three types of ANOVA One-way ANOVA Within-subjects ANOVA (Repeated measures, randomized complete block) Will not be covered in this class. Factorial ANOVA (Two-way ANOVA)

One-way ANOVA example Example: Curricula A, B, C. You want to know if the population average score on the test of computer operations would have been different between the children who had been taught using Curricula A, B and C. Null Hypothesis: The population averages would have been identical regardless of the curriculum used. Alternative Hypothesis: The population averages differ for at least one pair of the population.

Verbal Explanation on the Logic in Comparing the Mean If 2 or more populations have identical averages, the averages of random samples selected from those populations ought to be fairly similar as well. Sample statistics vary from one sample to the next, however, large differences among the sample averages would cause us to question the hypothesis that the samples were selected from populations with identical averages. How much should the sample averages differ before we conclude that the null hypothesis of equal population averages should be rejected ?

Logic of ANOVA In t-test, we calculated “t-statistics” In ANOVA, we calculate “F-statistics” Okay, we’ve dealt with this logic in the t-test, too. How is it different in ANOVA?

Logic of ANOVA F-statistics is obtained by comparing “the variation among the sample averages” to “the variation among observations within each of the samples”. F= Variation among the sample averages Variation among observations within each of the samples Only if variation among sample averages is substantially larger than the variation within the samples, (in other words only if F statistic is substantially large) do we conclude that the populations must have had different averages.

Sources of Variation Three sources of variation: 1) Total, 2) Between groups (“the variation among the sample averages” ), 3) Within groups (“the variation among observations within each of the samples”) Sum of Squares (SS): Reflects variation. Depend on sample size. Degrees of freedom (df): Number of population averages being compared. Mean Square (MS): SS adjusted by df. MS can be compared with each other. (SS/df)

Computing F-statistic SS Total: Total variation in the data df total: Total sample size (N) -1 MS total: SS total/ df total SS between: Variation among the groups compared. df between: Number of groups -1 MS between : SS between/df between SS within: Variation among the scores who are in the same group. df within: Total sample size - number of groups -1 MS within: SS within/df within   F statistic = MS between / MS within

Interpreting SPSS output Univariate Analysis of Variance

Interpreting SPSS output Tests of Between-Subjects Effects Dependent Variable: Current Salary Type III Sum Partial Eta Source of Squares df Mean Square F Sig. Squared Corrected Model 8.944E+10 a 2 4.472E+10 434.481 .000 .648 Intercept 2.915E+11 1 2.915E+11 2832.005 .000 .857 JOBCAT 8.944E+10 2 4.472E+10 434.481 .000 .648 Error 4.848E+10 471 102925714.5 Total 6.995E+11 474 Corrected Total 1.379E+11 473 a. R Squared = .648 (Adjusted R Squared = .647)

Interpreting Significance The probability of observing an F-statistic at least this large by chance is less than .05. Therefore, we can infer that the difference we observe in the sample will also be observed in the population. Therefore, reject the null hypothesis that there is no differences among the sample means. Accept the research hypothesis, that there is a difference between at least one pair of the population

Writing up the result “A one-way ANOVA was conducted in order to evaluate the relationship between the salary and the job category. The result of the One-way ANOVA was significant, F(2, 471) = 434.48, p<.001, partial η2=.65, which indicated that at least one pair of the job category in the mean salary is significantly different from each other.” Report the “descriptive statistics” after this. If not doing the follow-up test, describe and summarize the general conclusions of the analysis.

Follow-up test But we don’t know which pairs are significantly different from each other !! Conduct a “Follow-up test” to see specifically which means are different from which other means. Instead of repeating t-test for each combination (which can lead to an alpha inflation) there are some modified versions of t-test that adjusts for the alpha inflation. Most recommended: Tukey HSD test (When equal variance assumed) Dunnett’s C test (When euqal variance is not assumed) Other popular tests: Bonferroni test , Scheffe test

What’s Alpha Inflation? Conducting multiple tests, will incur a large risk that at least one of them would be statistically significant just by chance (Type I error) . Example: 2 tests .05 Alpha (=probability) Probability of not having Type I error .95 .95x.95 = .9025 Probability of at least one Type I error is 1-.9025= .0975. Close to 10 %. Therefore, when you repeat the number of same tests, use more stringent criteria. e.g. .001

Interpreting SPSS output

Interpreting SPSS output Post Hoc Tests Employment Category

Writing up the result of follow-up test “The follow-up test was conducted in order to determine which job category was different from others. Because Levene’s test indicated that the equal variance cannot be assumed between the groups, Dunnett’s C test was used for the follow-up test in order to control for Type I error across the pairwise comparisons. The result of the follow-up test indicated that the salary of all three job categories are significantly different from each other.”

Relation between t-test and F-test When two groups are compared both t-test and F-test will lead to the same answer. t2 = F. So by squaring F you’ll get t (or square root of F is t)

Formula for Sum of Squares in ANOVA