Presentation is loading. Please wait.

Presentation is loading. Please wait.

Section 12.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.

Similar presentations


Presentation on theme: "Section 12.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series."— Presentation transcript:

1 Section 12.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series by Mario F. Triola

2 Section 12.2-2 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Chapter 12 Analysis of Variance 12-1 Review and Preview 12-2 One-Way ANOVA 12-3 Two-Way ANOVA

3 Section 12.2-3 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concept This section introduces the method of one-way analysis of variance, which is used for tests of hypotheses that three or more population means are all equal. Because the calculations are very complicated, we emphasize the interpretation of results obtained by using technology.

4 Section 12.2-4 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concept 1.Understand that a small P-value (such as 0.05 or less) leads to rejection of the null hypothesis of equal means. With a large P-value (such as greater than 0.05), fail to reject the null hypothesis of equal means. 2.Develop an understanding of the underlying rationale by studying the examples in this section.

5 Section 12.2-5 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Part 1:Basics of One-Way Analysis of Variance

6 Section 12.2-6 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Definition One-way analysis of variance (ANOVA) is a method of testing the equality of three or more population means by analyzing sample variances. One-way analysis of variance is used with data categorized with one factor (or treatment), which is a characteristic that allows us to distinguish the different populations from one another.

7 Section 12.2-7 Copyright © 2014, 2012, 2010 Pearson Education, Inc. One-Way ANOVA Requirements 1. The populations have approximately normal distributions. 2. The populations have the same variance σ 2 (or standard deviation σ). 3. The samples are simple random samples of quantitative data. 4. The samples are independent of each other. 5. The different samples are from populations that are categorized in only one way.

8 Section 12.2-8 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Procedure 1. Use STATDISK, Minitab, Excel, StatCrunch, a TI-83/84 calculator, or any other technology to obtain results. 2. Identify the P-value from the display. 3.Form a conclusion based on these criteria: If the P-value ≤ α, reject the null hypothesis of equal means. Conclude at least one mean is different from the others. If the P-value > α, fail to reject the null hypothesis of equal means.

9 Section 12.2-9 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Caution When we conclude that there is sufficient evidence to reject the claim of equal population means, we cannot conclude from ANOVA that any particular mean is different from the others. There are several other tests that can be used to identify the specific means that are different, and some of them are discussed in Part 2 of this section.

10 Section 12.2-10 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example Use the performance IQ scores listed in Table 12-1 and a significance level of α = 0.05 to test the claim that the three samples come from populations with means that are all equal.

11 Section 12.2-11 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Here are summary statistics from the collected data:

12 Section 12.2-12 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Requirement Check: 1.The three samples appear to come from populations that are approximately normal (normal quantile plots OK). 2.The three samples have standard deviations that are not dramatically different. 3.We can treat the samples as simple random samples. 4.The samples are independent of each other and the IQ scores are not matched in any way. 5.The three samples are categorized according to a single factor: low lead, medium lead, and high lead.

13 Section 12.2-13 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The hypotheses are: The significance level is α = 0.05. Technology results are presented on the next slides.

14 Section 12.2-14 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued

15 Section 12.2-15 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued

16 Section 12.2-16 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued

17 Section 12.2-17 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The displays all show that the P-value is 0.020 when rounded. Because the P-value is less than the significance level of α = 0.05, we can reject the null hypothesis. There is sufficient evidence that the three samples come from populations with means that are different. We cannot conclude formally that any particular mean is different from the others, but it appears that greater blood lead levels are associated with lower performance IQ scores.

18 Section 12.2-18 Copyright © 2014, 2012, 2010 Pearson Education, Inc. P-Value and Test Statistic Larger values of the test statistic result in smaller P-values, so the ANOVA test is right-tailed. The figure on the next slide shows the relationship between the F test statistic and the P-value. Assuming that the populations have the same variance σ 2 (as required for the test), the F test statistic is the ratio of these two estimates of σ 2 : (1) variation between samples (based on variation among sample means) (2) variation within samples (based on the sample variances).

19 Section 12.2-19 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Relationship Between F Test Statistic and P-Value

20 Section 12.2-20 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Test Statistic for One-Way ANOVA

21 Section 12.2-21 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Caution When testing for equality of three or more populations, use analysis of variance. Do not use multiple hypothesis tests with two samples at a time.

22 Section 12.2-22 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Part 2:Calculations and Identifying Means That Are Different

23 Section 12.2-23 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Calculations with Equal or Unequal Sample Sizes The text beginning on page 605 provides a detailed discussion on the calculations and ramifications of sample size for the F statistic. As the material doesn’t lend itself to clean PowerPoint slides, we leave it to the reader to reference the main text.

24 Section 12.2-24 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Designing the Experiment When performing ANOVA, we use one factor as the basis for partitioning the data into several categories. If we conclude that there is a significant difference among means, we can’t be absolutely certain the differences are explained by the factor being used. One way to reduce the effect of extraneous factors is to run a completely randomized design, in which each sample value is given the same chance of belonging to different factor groups. Another way to reduce the effect of extraneous factors is to use a rigorously controlled design, in which sample values are carefully chosen so that all other factors have no variability.

25 Section 12.2-25 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Identifying Which Means Are Different After conducting ANOVA, there are several informal methods for determining which means are different: Construct boxplots of the different samples to see if one or more of them is very different from the others. Construct confidence interval estimates of the means for the different samples, then compare those confidence intervals to see if one or more of them does not overlap with the others.

26 Section 12.2-26 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Identifying Which Means Are Different There are several formal procedures to determine which means are different. Range tests allow us to identify subsets of means that are not significantly different from each other. Multiple comparison tests use pairs of means, making adjustments to overcome the problem of having a significance level that increases as the number of tests increases. There are many multiple comparisons tests, we introduce just one: The Bonferroni Multiple Comparison Test.

27 Section 12.2-27 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Bonferroni Multiple Comparison Test Step 1: Do a separate t test for each pair of samples, but make the following adjustments: Step 2:Use the value of MS(error), which uses all available sample data, as an estimate for the variance σ 2. This value is obtained when conducting ANOVA. Calculate the test statistic:

28 Section 12.2-28 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Bonferroni Multiple Comparison Test Step 3:Make the following adjustments: P-value:Use the test statistic t with df = N – k, where N is the total number of sample values and k is the number of samples. Find the P-value as per usual, but adjust the P-value by multiplying it by the number of different possible pairings of two samples (e.g. with three samples, there are three possible pairings, so multiply by 3). Critical Value: When finding the critical value, adjust α by dividing it by the number of possible pairings of two samples.

29 Section 12.2-29 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example We previously concluded, for the IQ score test, that there is sufficient evidence to warrant rejection of the claim of equal means. Use the Bonferroni test with a 0.05 level of significance to identify which mean is different from the others.

30 Section 12.2-30 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The null hypotheses to be tested are: We begin with the first, and using the sample data presented earlier, arrive at (using technology):

31 Section 12.2-31 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The test statistic:

32 Section 12.2-32 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The test statistic of t = 2.252 has N – k = 121 – 3 = 118 df. The two-tailed P-value is 0.026172, but it needs to be multiplied by 3 because there are three possible pairing of sample means. Thus, the P-value = 0.079 rounded. Because this P-value is not small (less than 0.05), we fail to reject the null hypothesis. It appears that Samples 1 and 2 do not have significantly different means.

33 Section 12.2-33 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Technology can display Bonferroni test results:

34 Section 12.2-34 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Conclusion: Although the ANOVA test tells us that at least one of the sample means is different from the others, the Bonferroni test results do not identify any one particular sample mean that is significantly different from the others.


Download ppt "Section 12.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series."

Similar presentations


Ads by Google