CHAPTER 12 ANALYSIS OF VARIANCE Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.

Slides:



Advertisements
Similar presentations
Chapter 12 ANALYSIS OF VARIANCE.
Advertisements

SAMPLING DISTRIBUTIONS
Analysis and Interpretation Inferential Statistics ANOVA
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
1 1 Slide © 2009, Econ-2030 Applied Statistics-Dr Tadesse Chapter 10: Comparisons Involving Means n Introduction to Analysis of Variance n Analysis of.
Statistics Are Fun! Analysis of Variance
PSY 307 – Statistics for the Behavioral Sciences
SIMPLE LINEAR REGRESSION
CHAPTER 11: CHI-SQUARE TESTS.
1 Pertemuan 10 Analisis Ragam (Varians) - 1 Matakuliah: I0262 – Statistik Probabilitas Tahun: 2007 Versi: Revisi.
SIMPLE LINEAR REGRESSION
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
CHAPTER 10 ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
SIMPLE LINEAR REGRESSION
Copyright © 2012 by Nelson Education Limited. Chapter 9 Hypothesis Testing III: The Analysis of Variance 9-1.
1 1 Slide 統計學 Spring 2004 授課教師:統計系余清祥 日期: 2004 年 3 月 30 日 第八週:變異數分析與實驗設計.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 14 Analysis.
Aim: How do we test a comparison group? Exam Tomorrow.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
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 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
EDRS 6208 Analysis and Interpretation of Data Non Parametric Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
EDRS 6208: Fundamentals of Educational Research 1
Section 10.3 Comparing Two Variances Larson/Farber 4th ed1.
CHAPTER 14 MULTIPLE REGRESSION
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Chapter 10 Analysis of Variance.
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.
CHAPTER 9 HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
Copyright © 2004 Pearson Education, Inc.
Comparing Two Variances
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 =
Chapter 12 Analysis of Variance. An Overview We know how to test a hypothesis about two population means, but what if we have more than two? Example:
Lecture 9-1 Analysis of Variance
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Kruskal-Wallis H TestThe Kruskal-Wallis H Test is a nonparametric procedure that can be used to compare more than two populations in a completely randomized.
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
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
CHAPTER 10 ANOVA - One way ANOVa.
Chapter 10 Comparing Two Treatments Statistics, 5/E by Johnson and Bhattacharyya Copyright © 2006 by John Wiley & Sons, Inc. All rights reserved.
CHAPTER 7 SAMPLING DISTRIBUTIONS Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview and One-Way ANOVA.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Testing the Difference between Means and Variances
CHAPTER 11 CHI-SQUARE TESTS
Hypothesis Test for Population Proportion (p)
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
i) Two way ANOVA without replication
CHAPTER 12 ANALYSIS OF VARIANCE
Chapter 12: Inference about a Population Lecture 6b
Econ 3790: Business and Economic Statistics
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Hypothesis Tests for Two Population Standard Deviations
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
SIMPLE LINEAR REGRESSION
CHAPTER 11 CHI-SQUARE TESTS
Hypothesis Tests for a Standard Deviation
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
SIMPLE LINEAR REGRESSION
Chapter 10 – Part II Analysis of Variance
Quantitative Methods ANOVA.
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Presentation transcript:

CHAPTER 12 ANALYSIS OF VARIANCE Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Opening Example Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

THE F DISTRIBUTION Definition 1. The F distribution is continuous and skewed to the right. 2. The F distribution has two numbers of degrees of freedom: df for the numerator and df for the denominator. 3. The units of an F distribution, denoted F, are nonnegative. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

THE F DISTRIBUTION Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Figure 12.1 Three F distribution curves. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-1 Find the F value for 8 degrees of freedom for the numerator, 14 degrees of freedom for the denominator, and.05 area in the right tail of the F distribution curve. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Table 12.1 Obtaining the F Value From Table VII Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Figure 12.2 The critical value of F for 8 df for the numerator, 14 df for the denominator, and.05 area in the right tail. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

ONE-WAY ANALYSIS OF VARIANCE  Calculating the Value of the Test Statistic  One-Way ANOVA Test Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

ONE-WAY ANALYSIS OF VARIANCE  Definition  ANOVA is a procedure used to test the null hypothesis that the means of three or more populations are equal. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Assumptions of One-Way ANOVA  The following assumptions must hold true to use one-way ANOVA. 1. The populations from which the samples are drawn are (approximately) normally distributed. 2. The populations from which the samples are drawn have the same variance (or standard deviation). 3. The samples drawn from different populations are random and independent. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Calculating the Value of the Test Statistic  Test Statistic F for a One-Way ANOVA Test  The value of the test statistic F for an ANOVA test is calculated as  The calculation of MSB and MSW is explained in Example Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2  Fifteen fourth-grade students were randomly assigned to three groups to experiment with three different methods of teaching arithmetic. At the end of the semester, the same test was given to all 15 students. The table gives the scores of students in the three groups. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2  Calculate the value of the test statistic F. Assume that all the required assumptions mentioned in Section 12.2 hold true. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2: Solution Let x = the score of a student k = the number of different samples (or treatments) n i = the size of sample i T i = the sum of the values in sample i n = the number of values in all samples = n 1 + n 2 + n Σx = the sum of the values in all samples = T 1 + T 2 + T Σx ² = the sum of the squares of the values in all samples Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2: Solution  To calculate MSB and MSW, we first compute the between-samples sum of squares, denoted by SSB and the within- samples sum of squares, denoted by SSW. The sum of SSB and SSW is called the total sum of squares and is denoted by SST; that is, SST = SSB + SSW The values of SSB and SSW are calculated using the following formulas. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Between- and Within-Samples Sums of Squares  The between-samples sum of squares, denoted by SSB, is calculates as Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Between- and Within-Samples Sums of Squares  The within-samples sum of squares, denoted by SSW, is calculated as Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Table 12.2 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2: Solution ∑x = T 1 + T 2 + T 3 = = 1081 n = n 1 + n 2 + n 3 = = 15 Σ x ² = (48)² + (73)² + (51)² + (65)² + (87)² + (55)² + (85)² + (70)² + (69)² + (90)² + (84)² + (68)² + (95)² + (74)² + (67)² = 80,709 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2: Solution Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Calculating the Values of MSB and MSW  MSB and MSW are calculated as where k – 1 and n – k are, respectively, the df for the numerator and the df for the denominator for the F distribution. Remember, k is the number of different samples. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-2: Solution Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Table 12.3 ANOVA Table Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Table 12.4 ANOVA Table for Example 12-2 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-3  Reconsider Example 12-2 about the scores of 15 fourth-grade students who were randomly assigned to three groups in order to experiment with three different methods of teaching arithmetic. At the 1% significance level, can we reject the null hypothesis that the mean arithmetic score of all fourth-grade students taught by each of these three methods is the same? Assume that all the assumptions required to apply the one-way ANOVA procedure hold true. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-3: Solution  Step 1:  H 0 : μ 1 = μ 2 = μ 3 (The mean scores of the three groups are all equal)  H 1 : Not all three means are equal  Step 2: Because we are comparing the means for three normally distributed populations, we use the F distribution to make this test. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-3: Solution  Step 3:  α =.01  A one-way ANOVA test is always right- tailed  Area in the right tail is.01  df for the numerator = k – 1 = 3 – 1 = 2  df for the denominator = n – k = 15 – 3 = 12  The required value of F is 6.93 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Figure 12.3 Critical value of F for df = (2,12) and α =.01. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-3: Solution  Step 4 & 5:  The value of the test statistic F = 1.09 It is less than the critical value of F = 6.93 It falls in the nonrejection region  Hence, we fail to reject the null hypothesis  We conclude that the means of the three population are equal. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4  From time to time, unknown to its employees, the research department at Post Bank observes various employees for their work productivity. Recently this department wanted to check whether the four tellers at a branch of this bank serve, on average, the same number of customers per hour. The research manager observed each of the four tellers for a certain number of hours. The following table gives the number of customers served by the four tellers during each of the observed hours. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4  At the 5% significance level, test the null hypothesis that the mean number of customers served per hour by each of these four tellers is the same. Assume that all the assumptions required to apply the one-way ANOVA procedure hold true. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution  Step 1:  H 0 : μ 1 = μ 2 = μ 3 = μ 4 (The mean number of customers served per hour by each of the four tellers is the same)  H 1 : Not all four population means are equal Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution  Step 2:  Because we are testing for the equality of four means for four normally distributed populations, we use the F distribution to make the test. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution  Step 3:  α =.05.  A one-way ANOVA test is always right- tailed.  Area in the right tail is.05.  df for the numerator = k – 1 = 4 – 1 = 3  df for the denominator = n – k = 22 – 4 = 18 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Figure 12.4 Critical value of F for df = (3, 18) and α =.05. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Table 12.5 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution  Step 4:  Σx = T 1 + T 2 + T 3 + T 4 = = 398  n = n 1 + n 2 + n 3 + n 4 = = 22  Σ x ² = (19)² + (21)² + (26)² + (24)² + (18)² + (14)² + (16)² + (14)² + (13)² + (17)² + (13)² + (11)² + (14)² + (21)² + (13)² + (16)² + (18)² + (24)² + (19)² + (21)² + (26)² + (20)² = 7614 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Table 12.6 ANOVA Table for Example 12-4 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Example 12-4: Solution  Step 5:  The value for the test statistic F = 9.69 It is greater than the critical value of F = 3.16 It falls in the rejection region  Consequently, we reject the null hypothesis  We conclude that the mean number of customers served per hour by each of the four tellers is not the same. Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

TI-84 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

TI-84 Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Minitab Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved

Excel Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved Screen 12.4

Excel Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved Screen 12.5