Copyright © 2009 Pearson Education, Inc.

Slides:



Advertisements
Similar presentations
Chapter 7 Hypothesis Testing
Advertisements

Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 10-1 Review and Preview.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-5 Testing a Claim About a Mean:  Not Known.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 9-2 Inferences About Two Proportions.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Section 8-4 Testing a Claim About a Mean:  Known Created by.
Slide Slide 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim about a Proportion 8-4 Testing a Claim About.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2004 Pearson Education, Inc.
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 12 Analysis of Variance 12.2 One-Way ANOVA.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides 11 th Edition Chapter 7.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 10.17:
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.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Hypothesis Testing An understanding of the method of hypothesis testing is essential for understanding how both the natural and social sciences advance.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 12-3 Two-Way ANOVA.
Copyright © 2011 Pearson Education, Inc. Putting Statistics to Work.
Estimating a Population Mean:  Known
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.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview and One-Way ANOVA.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
9.3 Hypothesis Tests for Population Proportions
Copyright © 2004 Pearson Education, Inc.
Lecture Slides Elementary Statistics Twelfth Edition
P-values.
Lecture Slides Essentials of Statistics 5th Edition
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 8 Hypothesis Testing with Two Samples.
Elementary Statistics
Overview and Basics of Hypothesis Testing
Testing a Claim About a Mean:  Known
Hypothesis Tests for a Population Mean,
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
Elementary Statistics
Elementary Statistics
Chapter 11 Goodness-of-Fit and Contingency Tables
Section 10-4 – Analysis of Variance
Elementary Statistics
Elementary Statistics
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
STATISTICS INFORMED DECISIONS USING DATA
Elementary Statistics
Hypothesis tests for the difference between two proportions
Elementary Statistics: Picturing The World
Hypothesis Tests for a Standard Deviation
Comparing Two Proportions
Lecture Slides Elementary Statistics Twelfth Edition
Comparing Two Proportions
Comparing Two Proportions
Presentation transcript:

Copyright © 2009 Pearson Education, Inc. 10.3 Analysis of Variance (One-Way ANOVA) LEARNING GOAL Interpret and carry out hypothesis tests using the method of one-way analysis of variance. Page 429 Copyright © 2009 Pearson Education, Inc.

Copyright © 2009 Pearson Education, Inc. Hypothesis Testing for Variance A simple random sample of 12 pages was obtained from each of three different books: Tom Clancy’s The Bear and the Dragon, J. K. Rowling’s Harry Potter and the Sorcerer’s Stone, and Leo Tolstoy’s War and Peace. The Flesch Reading Ease score was obtained for each of those pages, and the results are listed in Table 10.14. The Flesch Reading Ease scoring system results in higher scores for text that is easier to read. Low scores are associated with works that are difficult to read. Page 429 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 2

Copyright © 2009 Pearson Education, Inc. Our goal in this section is to use these sample data from just 12 pages of each book to make inferences about the readability of the population of all pages in each book. Table 10.15 shows the important sample statistics for each book. Page 429 Do these sample data provide sufficient evidence for us to conclude that the books by Clancy, Rowling, and Tolstoy really do have different mean Flesch scores? Copyright © 2009 Pearson Education, Inc. Slide 10.3- 3

Copyright © 2009 Pearson Education, Inc. We follow the same general principles laid out for hypothesis testing in Section 9.1. To begin with, we identify the null hypothesis; the mean Flesch scores for all three books are equal. The alternative hypothesis, then, is that the three population means are different. The hypothesis test must tell us whether to reject or not reject the null hypothesis. Rejecting the null hypothesis would allow us to conclude that the books really do have different mean Flesch scores, as we expect. Not rejecting the null hypothesis would tell us that the data do not provide sufficient evidence for concluding that the mean Flesch scores are different. Page 430 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 4

We write the null hypothesis as H0: μClancy = μRowling = μTolstoy We need a hypothesis test that will allow us to determine whether three different populations have the same mean. The method we use is called analysis of variance, commonly abbreviated ANOVA. The name comes from the formal statistic known as the variance of a set of sample values; as we noted briefly in Section 4.3, variance is defined as the square of the sample standard deviation, or s2. Page 430 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 5

Copyright © 2009 Pearson Education, Inc. Definition Analysis of variance (ANOVA) is a method of testing the equality of three or more population means by analyzing sample variances. More specifically, the method used to analyze data like those from Table 10.14 is called one-way analysis of variance (one-way ANOVA), because the sample data are separated into groups according to just one characteristic (or factor). In this example, the characteristic is the author (Clancy, Rowling, or Tolstoy). Page 430 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 6

Conducting the Test Analysis of variance is based on this fundamental concept: We assume that the populations all have the same variance, and we then compare the variance between the samples to the variance within the samples. More specifically, the test statistic (usually called F) for one-way analysis of variance is the ratio of those two variances: The actual calculation of this test statistic is tedious, so these days it is almost always done with statistical software. test statistic F (for one-way ANOVA) = variance between samples variance within samples Page 430. See page 437 for discussion of using technology. Copyright © 2009 Pearson Education, Inc. Slide 10.3- 7

Copyright © 2009 Pearson Education, Inc. We can interpret the F statistic as follows, using our example of the readability of the three books: • The variance between samples is a measure of how much the three sample means (from Table 10.15, slide 3) differ from one another. • The variance within samples is a measure of how much the Flesch Reading Ease scores for the 12 pages in each individual sample (from Table 10.14, slide 2) differ from one another. • If the three population means were really all equal—as the null hypothesis claims—then we would expect the sample mean from any one individual sample to fall well within the range of variation for any other individual sample. Pages 430-431 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 8

Copyright © 2009 Pearson Education, Inc. The test statistic (F = variance between samples/variance within samples) tells us whether that is the case: A large test statistic tells us that the sample means differ more than the data within the individual samples, which would be unlikely if the populations means really were equal (as the null hypothesis claims). That is, a large test statistic provides evidence for rejecting the null hypothesis that the population means are equal. A small test statistic tells us that the sample means differ less than the data within the individual samples, suggesting that the difference among the sample means could easily have arisen by chance. Therefore, a small test statistic does not provide evidence for rejecting the null hypothesis that the population means are equal. Page 431 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 9

Copyright © 2009 Pearson Education, Inc. We can quantify the interpretation of the test statistic by finding its P-value, which tells us the probability of getting sample results at least as extreme as those obtained, assuming that the null hypothesis is true (the population means are all equal). A small P-value shows that it is unlikely that we would get the sample results by chance with equal population means. A large P-value shows that we could easily get the sample results by chance with equal population means. Like the test statistic itself, the P-value calculation is generally done with the aid of software. Page 431 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 10

Copyright © 2009 Pearson Education, Inc. One-Way ANOVA for Testing H0: μ1 = μ2 = μ3 = . . . Step 1. Enter sample data into a statistical software package, and use the software to determine the test statistic (F = variance between samples / variance within samples) and the P-value of the test statistic. Step 2. Make a decision to reject or not reject the null hypothesis based on the P-value of the test statistic: • If the P-value is less than or equal to the significance level, reject the null hypothesis of equal means and conclude that at least one of the means is different from the others. Page 431 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 11

Copyright © 2009 Pearson Education, Inc. One-Way ANOVA for Testing H0: μ1 = μ2 = μ3 = . . . Step 2. (cont.) • If the P-value is greater than the significance level, do not reject the null hypothesis of equal means. This method is valid as long as the following require-ments are met: The populations have distributions that are approximately normal with the same variance, and the samples from each population are simple random samples that are independent of each other. Page 431 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 12

Copyright © 2009 Pearson Education, Inc. EXAMPLE 1 Readability of Clancy, Rowling, Tolstoy Given the readability scores listed in Table 10.14 and a significance level of 0.05, test the null hypothesis that the three samples come from populations with means that are all the same. Solution: We begin by checking the requirements for using one-way analysis of variance. As noted earlier, close examination of the data suggests that each sample comes from a distribution that is approximately normal. The sample standard deviations are not dramatically different, so it is reasonable to assume that the three populations have the same variance. Pages 431-432 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 13

Copyright © 2009 Pearson Education, Inc. EXAMPLE 1 Readability of Clancy, Rowling, Tolstoy Solution: (cont.) The samples are simple random samples and they are all independent. The requirements are therefore satisfied. We now test the null hypothesis that the population means are all equal (H0: μ1 = μ2 = μ3). The table on the next slide shows the resulting display from Excel; other software packages will give similar displays. Pages 431-432 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 14

Copyright © 2009 Pearson Education, Inc. Notice that the display includes columns for F and for the P-value. These are the two items of interest to us here, which we interpret as follows: • F is the test statistic for the one-way analysis of variance (F = variance between samples/variance within samples). Notice that it is much greater than 1, indicating that the sample means differ more than we would expect if all the population means were equal. Pages 431-432 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 15

Copyright © 2009 Pearson Education, Inc. (cont.) • The P-value tells us the probability of having obtained such an extreme result by chance if the null hypothesis is true. Notice that the P-value is extremely small—much less than the value of 0.05 necessary to reject the null hypothesis at the 0.05 level of significance (and also much less than the 0.01 necessary to reject at the 0.01 level of significance). Page 432 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 16

Copyright © 2009 Pearson Education, Inc. We conclude that there is sufficient evidence to reject the null hypothesis, which means the sample data support the claim that the three population means are not all the same. Note that we have not concluded that the three books have the readability order that we expect—Rowling as easiest and Tolstoy as hardest—because the hypothesis test shows only that the readabilities are unequal. Nevertheless, our expectation seems reasonable since the sample means in Table 10.15 go in the expected order. Page 432 Copyright © 2009 Pearson Education, Inc. Slide 10.3- 17

Copyright © 2009 Pearson Education, Inc. The End Copyright © 2009 Pearson Education, Inc. Slide 10.3- 18