Testing Differences Among Several Sample Means Multiple t Tests vs. Analysis of Variance.

Slides:



Advertisements
Similar presentations
Statistical Techniques I
Advertisements

BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
CHAPTER 25: One-Way Analysis of Variance Comparing Several Means
Analysis of Variance (ANOVA) ANOVA can be used to test for the equality of three or more population means We want to use the sample results to test the.
Nonparametric tests and ANOVAs: What you need to know.
1 1 Slide © 2009, Econ-2030 Applied Statistics-Dr Tadesse Chapter 10: Comparisons Involving Means n Introduction to Analysis of Variance n Analysis of.
Independent Sample T-test Formula
Analysis of Variance: Inferences about 2 or More Means
Chapter 3 Analysis of Variance
PSY 307 – Statistics for the Behavioral Sciences
Overview of Lecture Parametric Analysis is used for
Don’t spam class lists!!!. Farshad has prepared a suggested format for you final project. It will be on the web
Lecture 9: One Way ANOVA Between Subjects
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Are the Means of Several Groups Equal? Ho:Ha: Consider the following.
Review: The Logic Underlying ANOVA The possible pair-wise comparisons: X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3.
One-way Between Groups Analysis of Variance
Chapter 9 - Lecture 2 Computing the analysis of variance for simple experiments (single factor, unrelated groups experiments).
5-3 Inference on the Means of Two Populations, Variances Unknown
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
The basic idea So far, we have been comparing two samples
QNT 531 Advanced Problems in Statistics and Research Methods
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
1 1 Slide © 2006 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
1 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
PlanCollectProcessDiscuss Start screen What sort of place do you live in?
Stats Lunch: Day 7 One-Way ANOVA. Basic Steps of Calculating an ANOVA M = 3 M = 6 M = 10 Remember, there are 2 ways to estimate pop. variance in ANOVA:
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.
Chapter 13 Analysis of Variance (ANOVA) PSY Spring 2003.
Chapter 10 Analysis of Variance.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Testing Hypotheses about Differences among Several Means.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
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.
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.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Analysis of Variance (ANOVA) Brian Healy, PhD BIO203.
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.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 13: One-way ANOVA Marshall University Genomics Core.
Testing Differences between Means, continued Statistics for Political Science Levin and Fox Chapter Seven.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
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.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests and One-Way ANOVA Business Statistics, A First.
Statistics for Political Science Levin and Fox Chapter Seven
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 Inferences Based on Two Samples: Confidence Intervals and Tests of Hypothesis.
Significance Tests for Regression Analysis. A. Testing the Significance of Regression Models The first important significance test is for the regression.
Chapter 9 Introduction to the Analysis of Variance Part 1: Oct. 22, 2013.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
CHAPTER 10: ANALYSIS OF VARIANCE(ANOVA) Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
i) Two way ANOVA without replication
Post Hoc Tests on One-Way ANOVA
Post Hoc Tests on One-Way ANOVA
Econ 3790: Business and Economic Statistics
I. Statistical Tests: Why do we use them? What do they involve?
One Way ANOVAs One Way ANOVAs
Statistics for the Social Sciences
Chapter 10 Introduction to the Analysis of Variance
Chapter 15 Analysis of Variance
Introduction to the t Test
Presentation transcript:

Testing Differences Among Several Sample Means Multiple t Tests vs. Analysis of Variance

Several Sample Means What might we do if we had more than two samples? X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3

Several Sample Means Specifically how many t Tests could you do? X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3

Several Sample Means Specifically how many t Tests could you do? X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3

Several Sample Means Specifically how many t Tests could you do? X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3

Several Sample Means Specifically how many t Tests could you do? X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3

Multiple t Tests and Family- wise Error Rate If you do all possible pair-wise comparisons (C), what happens to the overall probability of making a Type I error?

Multiple t Tests and Family- wise Error Rate If you do all possible pair-wise comparisons (C), what happens to the overall probability of making a Type I error? Family-wise Error Rate =

Multiple t Tests and Family- wise Error Rate How could we prevent the family-wise error rate from exceeding.05 ?

Multiple t Tests and Family- wise Error Rate How could we prevent the family-wise error rate from exceeding.05 ? Set the alpha-level for each pair-wise t test to be a fraction of.05; specifically:

Multiple t Tests and Familywise Error Rate This isn’t usually done in practice because only a few different alpha-levels appear in the t tables

Multiple t Tests and Familywise Error Rate This isn’t usually done in practice because only a few different alpha-levels appear in the t tables More importantly, consider that C increases dramatically as more samples are added –for 4 samples: C = 6 –for 5 samples: C = 10 –for 6 samples: C = 15 Which leads to a precipitous drop in power

Analysis of Variance What is needed is a technique that controls family-wise error rate while looking for one or more differences between several sample means

Analysis of Variance What is needed is a technique that controls family-wise error rate while looking for one or more differences between several sample means That technique is a one-way Analysis of Variance (ANOVA)

Analysis of Variance Here are three samples, each are measurements under different treatment conditions: X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3 Each sample has a mean and variance and the 3 means are a sampling distribution of means

Analysis of Variance What would the null hypothesis be? What would the alternative hypothesis be? X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3

Analysis of Variance What would the null hypothesis be? –All three samples are taken from the same population so:

Analysis of Variance What would the null hypothesis be? –All three samples are taken from the same population so: What would the alternative hypothesis be? –At least one of the samples is from a different population and hence has a different mean

Analysis of Variance We can estimate the variance of the “null hypothesis” population by averaging the j variance estimates

Analysis of Variance This is called the “Mean Square Error” or “Mean Square Within” in our example:

Analysis of Variance MS error is an estimate of the population variance

Analysis of Variance MS error is an estimate of the population variance What’s another way we could estimate the population variance (hint: assume the null hypothesis is true)?

Analysis of Variance Each sample has a mean and variance and the 3 means are a sampling distribution of means X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2means: X 31 X 32. X 3n Sample 3

Analysis of Variance Recall that we estimated the variance of a sampling distribution of means (since we only had one sample) using the equation:

Analysis of Variance Now we’ve got more than one sample! So we can turn this equation around and make an estimate of the population variance called the “Mean Square Effect” or “Mean Square Between”:

Analysis of Variance We now have two different estimates of the population variance: MS error and MS effect Why might these two estimates disagree?

Analysis of Variance MS error is based on deviation scores within each sample but…

Analysis of Variance MS error is based on deviation scores within each sample but… MS effect is based on deviations between samples

Analysis of Variance MS error is based on deviation scores within each sample but… MS effect is based on deviations between samples MS effect would overestimate the population variance when…

Analysis of Variance MS error is based on deviation scores within each sample but… MS effect is based on deviations between samples MS effect would overestimate the population variance when…there is some effect of the treatment pushing the means of the different samples apart

Analysis of Variance We compare MS effect against MS error by constructing a statistic called F

Analysis of Variance We compare MS effect against MS error by constructing a statistic called F If the hull hypothesis: is true then we would expect: except for random sampling variation

Analysis of Variance F is the ratio of MS effect to MS error

Analysis of Variance F is the ratio of MS effect to MS error If the null hypothesis is true then F should equal 1.0

Analysis of Variance Of course there is a sampling distribution of F - if you repeated your experiment many times you would get a distribution of Fs

Analysis of Variance Of course there is a sampling distribution of F - if you repeated your experiment many times you would get a distribution of Fs The shape of that distribution depends on two different degrees of freedom: –MS effect has k-1 degrees of freedom –MS error has k(n-1) degrees of freedom

Analysis of Variance We can look up a critical F from an F table for any given number of degrees of freedom

Analysis of Variance We can look up a critical F from an F table for any given number of degrees of freedom If the F statistic we’ve obtained in our experiment exceeds F crit then we know that fewer than 5% of such experiments would be likely to obtain this F statistic if the null hypothesis was true

Analysis of Variance We can look up a critical F from an F table for any given number of degrees of freedom If the F statistic we’ve obtained in our experiment exceeds F crit then we know that fewer than 5% of such experiments would be likely to obtain this F statistic if the null hypothesis was true So we can reject the null and conclude that at least one pair of means is different