Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 28- 1 Are the Means of Several Groups Equal? Ho:Ha: Consider the following.

Slides:



Advertisements
Similar presentations
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 18 Sampling Distribution Models.
Advertisements

Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 18 Sampling Distribution Models.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 18 Sampling Distribution Models.
BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
CHAPTER 25: One-Way Analysis of Variance Comparing Several Means
Hypothesis Testing Steps in Hypothesis Testing:
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 27 Inferences for Regression.
Copyright © 2010 Pearson Education, Inc. Chapter 27 Inferences for Regression.
Inferences for Regression
Copyright © 2009 Pearson Education, Inc. Chapter 29 Multiple Regression.
Copyright © 2010 Pearson Education, Inc. Slide
ANOVA: Analysis of Variation
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Variance Chapter 16.
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
Copyright ©2011 Brooks/Cole, Cengage Learning Analysis of Variance Chapter 16 1.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. *Chapter 29 Multiple Regression.
Part I – MULTIVARIATE ANALYSIS
Lecture 9: One Way ANOVA Between Subjects
Copyright © 2010 Pearson Education, Inc. Chapter 25 Paired Samples and Blocks.
Chapter 11: Inference for Distributions
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
AM Recitation 2/10/11.
Copyright © 2009 Pearson Education, Inc. Chapter 28 Analysis of Variance.
F-Test ( ANOVA ) & Two-Way ANOVA
Copyright © 2010, 2007, 2004 Pearson Education, Inc. *Chapter 28 Analysis of Variance.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 14 Analysis.
Slide 23-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
STA291 Statistical Methods Lecture 31. Analyzing a Design in One Factor – The One-Way Analysis of Variance Consider an experiment with a single factor.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 25 Paired Samples and Blocks.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
 The idea of ANOVA  Comparing several means  The problem of multiple comparisons  The ANOVA F test 1.
Copyright © 2009 Pearson Education, Inc. Chapter 23 Inferences About Means.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 24, Slide 1 Chapter 24 Paired Samples and Blocks.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2004 Pearson Education, Inc.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2009 Pearson Education, Inc. Chapter 18 Sampling Distribution Models.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 25 Paired Samples and Blocks.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 18 Sampling Distribution Models.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
The Analysis of Variance. One-Way ANOVA  We use ANOVA when we want to look at statistical relationships (difference in means for example) between more.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.3 Two-Way ANOVA.
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.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Analysis of Variance STAT E-150 Statistical Methods.
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Next Time: Make sure to cover only pooling in TI-84 and note.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 18 Sampling Distribution Models.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Statistics 24 Comparing Means. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
ANOVA: Analysis of Variation
Chapter 24 Comparing Means.
ANOVA: Analysis of Variation
Basic Practice of Statistics - 5th Edition
Chapter 23 Comparing Means.
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
Presentation transcript:

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Are the Means of Several Groups Equal? Ho:Ha: Consider the following two sets of boxplots:

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide How Different Are They? The key to our test will be thinking about the variation between groups. If the null hypothesis (Ho) is true, all the treatment means estimate the same underlying mean. The means we get for the groups would then vary around the common mean only from natural sampling variation. So, we could act as though the treatment means were just observations and find their variance.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The Ruler Within We have an estimate from the variation within groups. That’s traditionally called the error mean square and written MSE. It’s just the variance of the residuals. Because it’s a pooled variance, we write it We’ve got a separate estimate from the variation between the groups. At least we expect it to estimate if we assume the null hypothesis is true. We call this quantity the treatment mean square (MST).

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The F-Statistic When the null hypothesis is true and the treatment means are equal, both MS E and MS T estimate  2, and their ratio should be close to 1. We can use their ratio MS T /MS E to test the null hypothesis: If the treatment means really are different, the numerator will tend to be larger than the denominator, and the ratio will be bigger than 1.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The F-Statistic (cont.) The sampling distribution model for this ratio, found by Sir Ronald Fisher, is called the F-distribution. We call the ratio MS T /MS E the F-statistic. By comparing the F-statistic to the appropriate F-distribution, we (or the computer/calculator) can get a P-value.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The F-Statistic (cont.) The test is one-tailed, because a larger difference in the treatments ultimately leads to a larger F-statistic. So the test is significant if the F-ratio is “big enough” (and the P-value “small enough”). The entire analysis is called Analysis of Variance, commonly abbreviated ANOVA.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The F-Statistic (cont.) Just like Student’s t, the F-models are a family of distributions. However, since we have two variance estimates, MS T and MS E, we have two degrees of freedom parameters. MS T estimates the variance of the treatment means and has k – 1 degrees of freedom when there are k groups. MS E is the pooled estimate of the variance within groups. If there are n observations in each of the k groups, MS E has k(n – 1) degrees of freedom.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The ANOVA Table You’ll often see the Mean Squares and other information put into a table called the ANOVA table. For the soap example in the book, the ANOVA table is:

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide The F-Table (cont.) Here’s an excerpt from an F-table for  = 0.05:

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Assumptions and Conditions As in regression, we must perform our checks of assumptions and conditions in order. And, as in regression, displays of the residuals are often a good way to check the conditions for ANOVA.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Plot the Data… First examine side-by-side boxplots of the data comparing the responses for all of the groups. Check for outliers within any of the groups (and correct them if there are errors in the data). Get an idea of whether the groups have similar spreads (as we’ll need). Get an idea of whether the centers seem to be alike (as the null hypothesis claims) or different. If the individual boxplots are all skewed in the same direction, consider re-expressing the response variable to make them more symmetric.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Independence Assumptions The groups must be independent of each other. No test can verify this assumption—you have to think about how the data were collected. The data within each treatment group must be independent as well. Check the Randomization Condition: Were the data collected with suitable randomization (a representative random sample or random assignment to treatment groups)?

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Equal Variance Assumption ANOVA requires that the variances of the treatment groups be equal. To check this assumption, we can check that the groups have similar variances: Similar Variance Condition: Look at side-by-side boxplots of the groups to see whether they have roughly the same spread. Look at the original boxplots of the response values again—in general, do the spreads seem to change systematically with the centers? (This is more of a problem than random differences in spread among the groups and should not be ignored.)

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Equal Variance Assumption (cont.) Similar Variance Condition: Look at the residuals plotted against the predicted values. (Larger predicted values lead to larger magnitude residuals, indicating that the condition is violated.)

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Equal Variance Assumption (cont.) In our example, neither of the following plots shows a violation of the equal variance assumption:

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Normal Population Assumption The F-test requires the underlying errors to follow a Normal Model. We will check a corresponding Nearly Normal Condition: examine a histogram of a Normal probability plot of all the residuals together.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide What Can Go Wrong? Watch out for outliers. One outlier in a group can influence the entire F-test and analysis. Watch out for changing variances. If the conditions on the residuals are violated, it may be necessary to re-express the response variable to closer approximate the necessary conditions.

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide What have we learned? We can compare the means of more than two independent groups based on samples drawn from those groups. We can test the hypothesis that all the means are equal using Analysis of Variance (ANOVA). And, as usual, there are conditions to check. When we want to compare pairs of means (after finding significance with an ANOVA F-test), we need to use a multiple comparisons method.