Chapter 12 ANALYSIS OF VARIANCE.

Slides:



Advertisements
Similar presentations
Chapter 11 Analysis of Variance
Advertisements

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
Chapter Topics The Completely Randomized Model: One-Factor Analysis of Variance F-Test for Difference in c Means The Tukey-Kramer Procedure ANOVA Assumptions.
PSY 307 – Statistics for the Behavioral Sciences
SIMPLE LINEAR REGRESSION
CHAPTER 11: CHI-SQUARE TESTS.
Chapter 17 Analysis of Variance
1 Pertemuan 10 Analisis Ragam (Varians) - 1 Matakuliah: I0262 – Statistik Probabilitas Tahun: 2007 Versi: Revisi.
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
Chi-Square Tests and the F-Distribution
Chap 10-1 Analysis of Variance. Chap 10-2 Overview Analysis of Variance (ANOVA) F-test Tukey- Kramer test One-Way ANOVA Two-Way ANOVA Interaction Effects.
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.
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.
INFERENTIAL STATISTICS: Analysis Of Variance ANOVA
EDRS 6208 Analysis and Interpretation of Data Non Parametric Tests
1 1 Slide Analysis of Variance Chapter 13 BA 303.
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Section 10.3 Comparing Two Variances Larson/Farber 4th ed1.
© 2002 Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft Excel 3 rd Edition Chapter 9 Analysis of Variance.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Chapter 10 Analysis of Variance.
ANOVA (Analysis of Variance) by Aziza Munir
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.
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 =
One-Way ANOVA ANOVA = Analysis of Variance This is a technique used to analyze the results of an experiment when you have more than two groups.
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:
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
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.
Business Statistics: A First Course (3rd Edition)
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
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.
CHAPTER 12 ANALYSIS OF VARIANCE Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
CHAPTER 10 ANOVA - 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
Testing the Difference between Means and Variances
CHAPTER 11 CHI-SQUARE TESTS
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
i) Two way ANOVA without replication
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
CHAPTER 12 ANALYSIS OF VARIANCE
Chapter 12: Inference about a Population Lecture 6b
Econ 3790: Business and Economic Statistics
Hypothesis Tests for Two Population Standard Deviations
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
CHAPTER 11 CHI-SQUARE TESTS
Hypothesis Tests for a Standard Deviation
Chapter 10 – Part II Analysis of Variance
Testing a Claim About a Standard Deviation or Variance
Quantitative Methods ANOVA.
Presentation transcript:

Chapter 12 ANALYSIS OF VARIANCE

THE F DISTRIBUTION Definition The F distribution is continuous and skewed to the right. The F distribution has two numbers of degrees of freedom: df for the numerator and df for the denominator. The units of an F distribution, denoted F, are nonnegative.

THE F DISTRIBUTION cont. df = (8, 14) First number denotes the df for the numerator Second number denotes the df for the denominator

Figure 12.1 Three F distribution curves. df = (1 , 3) df = (7 , 6) df = (12 , 40) F

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.

Solution 12-1 Degrees of Freedom for the Numerator 1 2 . . . 8 100 . Table 12.1 Degrees of Freedom for the Numerator 1 2 . . . 8 100 . 14 161.5 18.51 4.60 3.94 199.5 19.00 3.74 3.09 238.9 19.37 2.70 2.03 253.0 19.49 2.19 1.39 Degrees of Freedom for the Denominator The F value for 8 df for the numerator, 14 df for the denominator, and .05 area in the right tail

Figure 12. 2 The critical value of F for 8 df for the 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. df = (8, 14) .05 2.70 F The required F value

ONE-WAY ANALYSIS OF VARIANCE Calculating the Value of the Test Statistic One-Way ANOVA Test

ONE-WAY ANALYSIS OF VARIANCE cont. Definition ANOVA is a procedure used to test the null hypothesis that the means of three or more populations are equal.

Assumptions of One-Way ANOVA The following assumptions must hold true to use one-way ANOVA. The populations from which the samples are drawn are (approximately) normally distributed. The populations from which the samples are drawn have the same variance (or standard deviation). The samples drawn from different populations are random and independent.

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

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.

Example 12-2 Calculate the value of the test statistic F. Assume that all the required assumptions mentioned earlier hold true Method I Method II Method III 48 73 51 65 87 55 85 70 69 90 84 68 95 74 67

Solution 12-2 Let x = the score of a student k = the number of different samples (or treatments) ni = the size of sample i Ti = the sum of the values in sample i n = the number of values in all samples = n1 + n2 + n3 + . . . Σx = the sum of the values in all samples = T1 + T2 + T3 + . . . Σx² = the sum of the squares of the values in all samples

Solution 12-2 SST = SSB + SSW 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 it is denoted by SST; that is, SST = SSB + SSW

Between- and Within-Samples Sums of Squares The between-samples sum of squares, denoted by SSB, is calculates as

Between- and Within-Samples Sums of Squares cont. The within-samples sum of squares, denoted by SSW, is calculated as

Table 12.2 Method I Method II Method III 48 73 51 65 87 55 85 70 69 90 84 68 95 74 67 T1 = 324 n1 = 5 T2 = 369 n2 = 5 T3 = 388 n3 = 5

Solution 12-2 ∑x = T1 + T2 + T3 = 1081 n = n1 + n2 + n3 = 15 = 80,709

Solution 12-2

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.

Solution 12-2

Value of the Test Statistic Table 12.3 ANOVA Table Source of Variation Degrees of Freedom Sum of Squares Mean Square Value of the Test Statistic Between Within k – 1 n – k SSB SSW MSB MSW Total n – 1 SST

Table 12.4 ANOVA Table for Example 12-2 Source of Variation Degrees of Freedom Sum of Squares Mean Square Value of the Test Statistic Between Within 2 12 432.1333 2372.8000 216.0667 197.7333 Total 14 2804.9333

One-Way ANOVA Test 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.

Solution 12-3 H0: μ1 = μ2 = μ3 H1: Not all three means are equal The mean scores of the three groups are equal H1: Not all three means are equal

Solution 12-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

Figure 12.3 Critical value of F for df = (2,12) and α = .01. Do not reject H1 Reject H0 α = .01 6.93 F Critical value of F

Solution 12-3 The value of the test statistic F = 1.09 It is less than the critical value of F = 6.93 If falls in the nonrejection region Hence, we fail to reject the null hypothesis

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.

Example 12-4 Teller A Teller B Teller C Teller D 19 21 26 24 18 14 16 13 17 11 20

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.

Solution 12-4 H0: μ1 = μ2 = μ3 = μ4 The mean number of customers served per hour by each of the four tellers is the same H1: Not all four population means are equal

Solution 12-4 We are testing for the equality of four means for four normally distributed populations We use the F distribution to make the test

Solution 12-4 α = .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

Figure 12.4 Critical value of F for df = (3, 18) and α = .05. Do not reject H0 Reject H0 α = .05 3.16 F Critical value of F

Table 12.5 T1 = 108 T2 = 87 T3 = 93 n3 = 6 T4 = 110 Teller A Teller B Teller C Teller D 19 21 26 24 18 14 16 13 17 11 20 T1 = 108 n1 = 5 T2 = 87 n2 = 6 T3 = 93 n3 = 6 T4 = 110 n4 = 5

Solution 12-4 Σx = T1 + T2 + T3 + T4 =108 + 87 + 93 + 110 = 398 n = n1 + n2 + n3 + n4 = 5 + 6 + 6 + 5 = 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

Solution 12-4

Solution 12-4

Table 12.6 ANOVA Table for Example 12-4 Source of Variation Degrees of Freedom Sum of Squares Mean Square Value of the Test Statistic Between Within 3 18 255.6182 158.2000 85.2061 8.7889 Total 21 413.8182

Solution 12-4 The value for the test statistic F = 9.69 It is greater than the critical value of F If falls in the rejection region Consequently, we reject the null hypothesis