Sociology 5811: Lecture 14: ANOVA 2

Slides:



Advertisements
Similar presentations
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 12: Analysis of Variance: Differences among Means of Three or More Groups.
Advertisements

Analysis of Variance (ANOVA) Statistics for the Social Sciences Psychology 340 Spring 2010.
Analysis and Interpretation Inferential Statistics ANOVA
Independent Sample T-test Formula
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Part I – MULTIVARIATE ANALYSIS
ANOVA Analysis of Variance: Why do these Sample Means differ as much as they do (Variance)? Standard Error of the Mean (“variance” of means) depends upon.
PSY 307 – Statistics for the Behavioral Sciences
Intro to Statistics for the Behavioral Sciences PSYC 1900
Lecture 9: One Way ANOVA Between Subjects
One-way Between Groups Analysis of Variance
ANOVA Single Factor Models Single Factor Models. ANOVA ANOVA (ANalysis Of VAriance) is a natural extension used to compare the means more than 2 populations.
Anthony J Greene1 ANOVA: Analysis of Variance 1-way ANOVA.
Inferences About Process Quality
Statistics for the Social Sciences
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
Intro to Parametric Statistics, Assumptions & Degrees of Freedom Some terms we will need Normal Distributions Degrees of freedom Z-values of individual.
Linear Regression 2 Sociology 5811 Lecture 21 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Copyright © 2005 by Evan Schofer
Copyright © 2005 by Evan Schofer
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
The basic idea So far, we have been comparing two samples
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Linear Regression Inference
ANOVA Greg C Elvers.
Comparing Means: t-tests Wednesday 22 February 2012/ Thursday 23 February 2012.
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
Chapter 9: Testing Hypotheses
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.
ANOVA Analysis of Variance Most Useful when Conducting Experiments.
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)
ANOVA (Analysis of Variance) by Aziza Munir
Copyright © 2004 Pearson Education, Inc.
Testing Hypotheses about Differences among Several Means.
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)
One-Way Analysis of Variance
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.
Statistics for the Social Sciences Psychology 340 Fall 2012 Analysis of Variance (ANOVA)
Lecture 15: Crosstabulation 1 Sociology 5811 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Sociology 5811: Lecture 11: T-Tests for Difference in Means Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Analysis of Variance (ANOVA) Brian Healy, PhD BIO203.
Chapter Seventeen. Figure 17.1 Relationship of Hypothesis Testing Related to Differences to the Previous Chapter and the Marketing Research Process Focus.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 13: One-way ANOVA Marshall University Genomics Core.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
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)
Sociology 5811: Lecture 13: ANOVA Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
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?
Simple ANOVA Comparing the Means of Three or More Groups Chapter 9.
I231B QUANTITATIVE METHODS Analysis of Variance (ANOVA)
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
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.
i) Two way ANOVA without replication
One-Way Analysis of Variance
Presentation transcript:

Sociology 5811: Lecture 14: ANOVA 2 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission

Announcements Midterm next class Today: Bring a Calculator Bring Pencil/Eraser Today: Wrap up ANOVA Midterm review activities

Review: ANOVA ANOVA = “ANalysis Of VAriance” “Oneway ANOVA” : The simplest form ANOVA lets us test to see if any group mean differs from the mean of all groups combined Answers: “Are all groups equal or not?” H0: All groups have the same population mean m1 = m2 = m3 = m4 H1: One or more groups differ But, doesn’t distinguish which specific group(s) differ.

ANOVA: Concepts & Definitions The grand mean is the mean of all groups ex: mean of all entry-level workers = $8.70/hour The group mean is the mean of a particular sub-group of the population The effect (a) of a group is the difference between that group’s mean from the grand mean The dependent variable is our variable of interest We explore whether its value “depends” on a case’s group

Review: Sum of Squared Deviation The total deviation can partitioned into aj and eij components: The total variance (SStotal) is made up of: aj : between group variance (SSbetween) eij : within group variance (SSwithin) SStotal = SSbetween + SSwithin

Review: Sum of Squared Variance The sum of squares grows as N gets larger. To derive a more comparable measure, we “average” it, just as with the variance: i.e, (divide) by N-1 It is desirable, for similar reasons, to “average” the Sum of Squares between/within Result the “Mean Square” variance MSbetween and MSwithin

Sum of Squared Variance Choosing relevant denominators we get:

Mean Squares and Group Differences MSbetween > MSwithin: MSbetween < MSwithin:

Mean Squares and Group Differences Question: Which suggests that group means are quite different: MSbetween > MSwithin or MSbetween < MSwithin Answer: If between group variance is greater than within, the groups are quite distinct It is unlikely that they came from a population with the same mean But, if within is greater than between, the groups aren’t very different – they overlap a lot It is plausible that m1 = m2 = m3 = m4

The F Ratio The ratio of MSbetween to MSwithin is referred to as the F ratio: If MSbetween > MSwithin then F > 1 If MSbetween < MSwithin then F < 1 Higher F indicates that groups are more separate

The F Ratio The F ratio has a sampling distribution That is, estimates of F vary depending on exactly which sample you draw Again, this sampling distribution has known properties that can be looked up in a table The “F-distribution” Different from z & t! Statisticians have determined how much area falls under the curve for a given value of F… So, we can test hypotheses.

The F Ratio Assumptions required for hypothesis testing using an F-statistic 1. J groups are drawn from a normally distributed population 2. Population variances of groups are equal If these assumptions hold, the F statistic can be looked up in an F-distribution table Much like T distributions But, there are 2 degrees of freedom: J-1 and N-J One for number of groups, one for N.

The F Ratio Example: Looking for wage discrimination within a firm The company has workers of three ethnic groups: Whites, African-Americans, Asian-Americans You observe in a sample of 200 employees: Y-barWhite = $8.78 / hour Y-barAfAm = $8.52 / hour Y-barAsianAm = $8.91 / hour

The F Ratio Suppose you calculate the following from your sample: Recall that N = 200, J = 3 Degrees of Freedom: J-1 = 2, N-J = 197 If a = .05, the critical F value for 2, 197 is 3.00 See Knoke, p. 514 The observed F easily exceeds the critical value Thus, we can reject H0 We can conclude that the groups do not all have the same population mean.

Critical a area: Reject H0 The F Ratio: Visually Rough sketch of F-distribution N = 200, J = 3; Degrees of Freedom: J-1 = 2, N-J = 197 If a = .05, the critical F value for 2, 197 is 3.00 0 1 2 3 4 5 Critical a area: Reject H0

Post-Hoc Tests Limitation: ANOVA doesn’t tell you which group(s) differ from each other Solution: “Post-Hoc Tests”: e.g., Bonferroni, Scheffe, Tukey tests Tests provide pair-wise comparison of all group Ex: Bonferroni Corrects (reduces) a for pair-wise tests, to avoid Type I error Which one should you use? Bonferroni & Scheffe are very conservative For most purposes, they all produce identical results Consult an advanced stats text to learn the subtle differences.

ANOVA: Example Example: GSS data: Schooling & Race Oneway ANOVA, plus descriptives and Scheffe Post-hoc test Note: N = 2752, grand mean = 13.36

ANOVA: Example Example: GSS data: Schooling & Race Sum of Squares: Between, within, and total Mean square variance: between and within Compare F-value to “critical f” in F-table. Or compare p-value (“Sig.”) to a We reject H0 because F is big, p-value is small.

ANOVA Example: Scheffe Test Tests compare every group Compare p-value (“Sig.”) to a Note: White/Black difference is significant; White/Other difference is not

Comparison with T-Test T-test strategy: Determine the width of the sampling distribution of the difference in means… Use that info to assess probability that groups have same mean (difference in means = 0) ANOVA strategy Compute F-ratio, which indicates what kind of deviation is larger: “between” vs. “within” group High F-value indicates groups are separate Note: For two groups, ANOVA and T-test produce identical results.

Bivariate Analyses Up until now, we have focused on a single variable: Y Even in T-test for difference in means & ANOVA, we just talked about Y – but for multiple groups… Alternately, we can think of these as simple bivariate analyses Where group type is a “variable” Ex: Seeing if girls differ from boys on a test… … is equivalent to examining whether gender (a first variable) affects test score (a second variable).

2 Groups = Bivariate Analysis Group 1: Boys Case Score 1 57 2 64 3 48 Case Gender Score 1 57 2 64 3 48 4 53 5 87 6 73 Group 2: Girls Case Score 1 53 2 87 3 73 2 Groups = Bivariate analysis of Gender and Test Score

T-test, ANOVA, and Regression Both T-test and ANOVA illustrate fundamental concepts needed to understand “Regression” Relevant ANOVA concepts The idea of a “model” Partitioning variance A dependent variable Relevant T-test concepts Using the t-distribution for hypothesis tests Note: For many applications, regression will supersede T-test, ANOVA But in some cases, they are still useful…