McGraw-Hill, Bluman, 7th ed., Chapter 12

Slides:



Advertisements
Similar presentations
While you wait: Make sure to have the data used with example 12-1 in your calculators. (ie medication vs exercise vs diet) Make sure to have your assignment.
Advertisements

Chapter 11 Analysis of Variance
© 2010 Pearson Prentice Hall. All rights reserved The Complete Randomized Block Design.
Chapter 3 Analysis of Variance
© McGraw-Hill, Bluman, 5th ed., Chapter 9
Statistical Methods in Computer Science Hypothesis Testing II: Single-Factor Experiments Ido Dagan.
Chi-Square Tests and the F-Distribution
Chi-Square and Analysis of Variance (ANOVA)
Chapter 12: Analysis of Variance
Chapter 12 ANOVA.
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
12-1 Chapter Twelve McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
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.
Section 9.5 Testing the Difference Between Two Variances Bluman, Chapter 91.
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Analysis of Variance.
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Copyright © 2004 Pearson Education, Inc.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Chapter 19 Analysis of Variance (ANOVA). ANOVA How to test a null hypothesis that the means of more than two populations are equal. H 0 :  1 =  2 =
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Lecture 9-1 Analysis of Variance
CHAPTER 4 Analysis of Variance One-way ANOVA
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.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.
9.2 Testing the Difference Between Two Means: Using the t Test
11.5 Testing the Difference Between Two Variances
© The McGraw-Hill Companies, Inc., Chapter 13 Analysis of Variance (ANOVA)
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means, Variances, and Proportions.
Sec 8.5 Test for a Variance or a Standard Deviation Bluman, Chapter 81.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Chap 11-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 11 Analysis of Variance.
McGraw-Hill, Bluman, 7th ed., Chapter 12
While you wait: Please enter the following data on your calculator. Before Data in one list, the After data in a different list. Bluman, Chapter 91.
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Formula for Linear Regression y = bx + a Y variable plotted on vertical axis. X variable plotted on horizontal axis. Slope or the change in y for every.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
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:
Testing the Difference between Means, Variances, and Proportions
Testing the Difference Between Two Means
Testing the Difference between Means and Variances
i) Two way ANOVA without replication
Applied Business Statistics, 7th ed. by Ken Black
Comparing Three or More Means
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Testing the Difference Between Two Means: Dependent Samples
Econ 3790: Business and Economic Statistics
Testing the Difference Between Two Variances
Two-Way Analysis of Variance
One-Way Analysis of Variance
While you wait Page 636 Answer all the questions on Applying Concepts for section your answers will have to be eventually turned in. You may later.
Chapter 10 – Part II Analysis of Variance
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Presentation transcript:

McGraw-Hill, Bluman, 7th ed., Chapter 12 Analysis of Variance McGraw-Hill, Bluman, 7th ed., Chapter 12

Chapter 12 Overview Introduction 12-1 One-Way Analysis of Variance 12-2 The Scheffé Test and the Tukey Test 12-3 Two-Way Analysis of Variance Bluman, Chapter 12

Chapter 12 Objectives Use the one-way ANOVA technique to determine if there is a significant difference among three or more means. Determine which means differ, using the Scheffé or Tukey test if the null hypothesis is rejected in the ANOVA. Use the two-way ANOVA technique to determine if there is a significant difference in the main effects or interaction. Bluman, Chapter 12

Introduction The F test, used to compare two variances, can also be used to compare three of more means. This technique is called analysis of variance or ANOVA. For three groups, the F test can only show whether or not a difference exists among the three means, not where the difference lies. Other statistical tests, Scheffé test and the Tukey test, are used to find where the difference exists. Bluman, Chapter 12

12-1 One-Way Analysis of Variance When an F test is used to test a hypothesis concerning the means of three or more populations, the technique is called analysis of variance (commonly abbreviated as ANOVA). Although the t test is commonly used to compare two means, it should not be used to compare three or more. Bluman, Chapter 12

Assumptions for the F Test The following assumptions apply when using the F test to compare three or more means. The populations from which the samples were obtained must be normally or approximately normally distributed. The samples must be independent of each other. The variances of the populations must be equal. Bluman, Chapter 12

The F Test In the F test, two different estimates of the population variance are made. The first estimate is called the between-group variance, and it involves finding the variance of the means. The second estimate, the within-group variance, is made by computing the variance using all the data and is not affected by differences in the means. Bluman, Chapter 12

The F Test If there is no difference in the means, the between-group variance will be approximately equal to the within-group variance, and the F test value will be close to 1—do not reject null hypothesis. However, when the means differ significantly, the between-group variance will be much larger than the within-group variance; the F test will be significantly greater than 1—reject null hypothesis. Bluman, Chapter 12

Chapter 12 Analysis of Variance Section 12-1 Example 12-1 Page #630 Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure A researcher wishes to try three different techniques to lower the blood pressure of individuals diagnosed with high blood pressure. The subjects are randomly assigned to three groups; the first group takes medication, the second group exercises, and the third group follows a special diet. After four weeks, the reduction in each person’s blood pressure is recorded. At α = 0.05, test the claim that there is no difference among the means. Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure Step 1: State the hypotheses and identify the claim. H0: μ1 = μ2 = μ3 (claim) H1: At least one mean is different from the others. Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure Step 2: Find the critical value. Since k = 3, N = 15, and α = 0.05, d.f.N. = k – 1 = 3 – 1 = 2 d.f.D. = N – k = 15 – 3 = 12 The critical value is 3.89, obtained from Table H. Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure Step 3: Compute the test value. Find the mean and variance of each sample (these were provided with the data). Find the grand mean, the mean of all values in the samples. c. Find the between-group variance, . Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure Step 3: Compute the test value. (continued) c. Find the between-group variance, . Find the within-group variance, . Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure Step 3: Compute the test value. (continued) e. Compute the F value. Step 4: Make the decision. Reject the null hypothesis, since 9.17 > 3.89. Step 5: Summarize the results. There is enough evidence to reject the claim and conclude that at least one mean is different from the others. Bluman, Chapter 12

ANOVA The between-group variance is sometimes called the mean square, MSB. The numerator of the formula to compute MSB is called the sum of squares between groups, SSB. The within-group variance is sometimes called the mean square, MSW. The numerator of the formula to compute MSW is called the sum of squares within groups, SSW. Bluman, Chapter 12

ANOVA Summary Table Source Sum of Squares d.f. Mean Squares F Between Within (error) SSB SSW k – 1 N – k MSB MSW Total Bluman, Chapter 12

ANOVA Summary Table for Example 12-1 Source Sum of Squares d.f. Mean Squares F Between Within (error) 160.13 104.80 2 12 80.07 8.73 9.17 Total 264.93 14 Bluman, Chapter 12

Chapter 12 Analysis of Variance Section 12-1 Example 12-2 Page #632 Bluman, Chapter 12

Example 12-2: Toll Road Employees A state employee wishes to see if there is a significant difference in the number of employees at the interchanges of three state toll roads. The data are shown. At α = 0.05, can it be concluded that there is a significant difference in the average number of employees at each interchange? Bluman, Chapter 12

Example 12-2: Toll Road Employees Step 1: State the hypotheses and identify the claim. H0: μ1 = μ2 = μ3 H1: At least one mean is different from the others (claim). Bluman, Chapter 12

Example 12-2: Toll Road Employees Step 2: Find the critical value. Since k = 3, N = 18, and α = 0.05, d.f.N. = 2, d.f.D. = 15 The critical value is 3.68, obtained from Table H. Bluman, Chapter 12

Example 12-2: Toll Road Employees Step 3: Compute the test value. Find the mean and variance of each sample (these were provided with the data). Find the grand mean, the mean of all values in the samples. c. Find the between-group variance, . Bluman, Chapter 12

Example 12-2: Toll Road Employees Step 3: Compute the test value. (continued) c. Find the between-group variance, . Find the within-group variance, . Bluman, Chapter 12

Example 12-2: Toll Road Employees Step 3: Compute the test value. (continued) e. Compute the F value. Step 4: Make the decision. Reject the null hypothesis, since 5.05 > 3.68. Step 5: Summarize the results. There is enough evidence to support the claim that there is a difference among the means. Bluman, Chapter 12

ANOVA Summary Table for Example 12-2 Source Sum of Squares d.f. Mean Squares F Between Within (error) 459.18 682.5 2 15 229.59 45.5 5.05 Total 1141.68 17 Bluman, Chapter 12

12-2 The Scheffé Test and the Tukey Test When the null hypothesis is rejected using the F test, the researcher may want to know where the difference among the means is. The Scheffé test and the Tukey test are procedures to determine where the significant differences in the means lie after the ANOVA procedure has been performed. Bluman, Chapter 12

The Scheffé Test In order to conduct the Scheffé test, one must compare the means two at a time, using all possible combinations of means. For example, if there are three means, the following comparisons must be done: Bluman, Chapter 12

Formula for the Scheffé Test where and are the means of the samples being compared, and are the respective sample sizes, and the within-group variance is . Bluman, Chapter 12

F Value for the Scheffé Test To find the critical value F for the Scheffé test, multiply the critical value for the F test by k  1: There is a significant difference between the two means being compared when Fs is greater than F. Bluman, Chapter 12

Chapter 12 Analysis of Variance Section 12-2 Example 12-3 Page #641 Bluman, Chapter 12

Example 12-3: Lowering Blood Pressure Using the Scheffé test, test each pair of means in Example 12–1 to see whether a specific difference exists, at α = 0.05. Bluman, Chapter 12

Example 12-3: Lowering Blood Pressure Using the Scheffé test, test each pair of means in Example 12–1 to see whether a specific difference exists, at α = 0.05. Bluman, Chapter 12

Example 12-3: Lowering Blood Pressure The critical value for the ANOVA for Example 12–1 was F = 3.89, found by using Table H with α = 0.05, d.f.N. = 2, and d.f.D. = 12. In this case, it is multiplied by k – 1 as shown. Since only the F test value for part a ( versus ) is greater than the critical value, 7.78, the only significant difference is between and , that is, between medication and exercise. Bluman, Chapter 12

An Additional Note On occasion, when the F test value is greater than the critical value, the Scheffé test may not show any significant differences in the pairs of means. This result occurs because the difference may actually lie in the average of two or more means when compared with the other mean. The Scheffé test can be used to make these types of comparisons, but the technique is beyond the scope of this book. Bluman, Chapter 12

The Tukey Test The Tukey test can also be used after the analysis of variance has been completed to make pairwise comparisons between means when the groups have the same sample size. The symbol for the test value in the Tukey test is q. Bluman, Chapter 12

Formula for the Tukey Test where and are the means of the samples being compared, is the size of the sample, and the within-group variance is . Bluman, Chapter 12

Chapter 12 Analysis of Variance Section 12-2 Example 12-4 Page #642 Bluman, Chapter 12

Example 12-4: Lowering Blood Pressure Using the Tukey test, test each pair of means in Example 12–1 to see whether a specific difference exists, at α = 0.05. Bluman, Chapter 12

Example 12-3: Lowering Blood Pressure Using the Tukey test, test each pair of means in Example 12–1 to see whether a specific difference exists, at α = 0.05. Bluman, Chapter 12

Example 12-3: Lowering Blood Pressure To find the critical value for the Tukey test, use Table N. The number of means k is found in the row at the top, and the degrees of freedom for are found in the left column (denoted by v). Since k = 3, d.f. = 12, and α = 0.05, the critical value is 3.77. Bluman, Chapter 12

Example 12-3: Lowering Blood Pressure Hence, the only q value that is greater in absolute value than the critical value is the one for the difference between and . The conclusion, then, is that there is a significant difference in means for medication and exercise. These results agree with the Scheffé analysis. Bluman, Chapter 12

12-3 Two-Way Analysis of Variance In doing a study that involves a two-way analysis of variance, the researcher is able to test the effects of two independent variables or factors on one dependent variable. In addition, the interaction effect of the two variables can be tested. Bluman, Chapter 12

Two-Way Analysis of Variance Variables or factors are changed between two levels (i.e., two different treatments). The groups for a two-way ANOVA are sometimes called treatment groups. A two-way ANOVA has several null hypotheses. There is one for each independent variable and one for the interaction. Bluman, Chapter 12

Two-Way ANOVA Summary Table Source Sum of Squares d.f. Mean Squares F A B A X B Within (error) SSA SSB SSAXB SSW a – 1 b – 1 (a – 1)(b – 1) ab(n – 1) MSA MSB MSAXB MSW FA FB FAXB Total Bluman, Chapter 12

Assumptions for Two-Way ANOVA The populations from which the samples were obtained must be normally or approximately normally distributed. The samples must be independent. The variances of the populations from which the samples were selected must be equal. The groups must be equal in sample size. Bluman, Chapter 12

Chapter 12 Analysis of Variance Section 12-3 Example 12-5 Page #648 Bluman, Chapter 12

Example 12-5: Gasoline Consumption A researcher wishes to see whether the type of gasoline used and the type of automobile driven have any effect on gasoline consumption. Two types of gasoline, regular and high-octane, will be used, and two types of automobiles, two-wheel- and four-wheel-drive, will be used in each group. There will be two automobiles in each group, for a total of eight automobiles used. Use a two-way analysis of variance at α = 0.05. Bluman, Chapter 12

Example 12-5: Gasoline Consumption Step 1: State the hypotheses. The hypotheses for the interaction are these: H0: There is no interaction effect between type of gasoline used and type of automobile a person drives on gasoline consumption. H1: There is an interaction effect between type of gasoline used and type of automobile a person drives on gasoline consumption. Bluman, Chapter 12

Example 12-5: Gasoline Consumption Step 1: State the hypotheses. The hypotheses for the gasoline types are H0: There is no difference between the means of gasoline consumption for two types of gasoline. H1: There is a difference between the means of gasoline consumption for two types of gasoline. Bluman, Chapter 12

Example 12-5: Gasoline Consumption Step 1: State the hypotheses. The hypotheses for the types of automobile driven are H0: There is no difference between the means of gasoline consumption for two-wheel-drive and four-wheel-drive automobiles. H1: There is a difference between the means of gasoline consumption for two-wheel-drive and four-wheel-drive automobiles. Bluman, Chapter 12

Example 12-5: Gasoline Consumption Step 2: Find the critical value for each. Since α = 0.05, d.f.N. = 1, and d.f.D. = 4 for each of the factors, the critical values are the same, obtained from Table H as Step 3: Find the test values. Since the computation is quite lengthy, we will use the summary table information obtained using statistics software such as Minitab. Bluman, Chapter 12

Example 12-5: Gasoline Consumption Two-Way ANOVA Summary Table Source Sum of Squares d.f. Mean Squares F Gasoline A Automobile B Interaction A X B Within (error) 3.920 9.680 54.080 3.300 1 4 0.825 4.752 11.733 65.552 Total 70.890 7 Bluman, Chapter 12

Example 12-1: Lowering Blood Pressure Step 4: Make the decision. Since FB = 11.733 and FAXB = 65.552 are greater than the critical value 7.71, the null hypotheses concerning the type of automobile driven and the interaction effect should be rejected. Step 5: Summarize the results. Since the null hypothesis for the interaction effect was rejected, it can be concluded that the combination of type of gasoline and type of automobile does affect gasoline consumption. Bluman, Chapter 12