Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 15 Analysis of Variance.

Slides:



Advertisements
Similar presentations
Chapter 11 Analysis of Variance
Advertisements

Chapter 10 Two-Sample Tests
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 12 Multiple Regression
Chapter 11 Analysis of Variance
Chapter 12 Chi-Square Tests and Nonparametric Tests
Statistics for Business and Economics
Chapter Topics The Completely Randomized Model: One-Factor Analysis of Variance F-Test for Difference in c Means The Tukey-Kramer Procedure ANOVA Assumptions.
Chapter 3 Analysis of Variance
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 17 Analysis of Variance
Chapter 11 Hypothesis Tests and Estimation for Population Variances
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 15 Analysis of Variance.
Chapter 11 Analysis of Variance
Chi-Square and F Distributions Chapter 11 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Copyright ©2011 Pearson Education 11-1 Chapter 11 Analysis of Variance Statistics for Managers using Microsoft Excel 6 th Global Edition.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
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 ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-1 Chapter 11 Analysis of Variance Statistics for Managers using Microsoft Excel.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 12-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 12 Analysis.
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
Statistics for Business and Economics Chapter 8 Design of Experiments and Analysis of Variance.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
INFERENTIAL STATISTICS: Analysis Of Variance ANOVA
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
Chapter 10 Two-Sample Tests and One-Way ANOVA
© 2002 Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft Excel 3 rd Edition Chapter 9 Analysis of Variance.
Chapter 14 Introduction to Multiple Regression
10-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 10 Two-Sample Tests Statistics for Managers using Microsoft Excel 6 th.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
CHAPTER 12 Analysis of Variance Tests
Chapter 10 Analysis of Variance.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Analysis of Variance.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests and One-Way ANOVA Business Statistics, A First.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
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 =
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 10 Hypothesis Testing:
Lecture 9-1 Analysis of Variance
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
Chap 11-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 11 Chi-Square Tests Business Statistics: A First Course 6 th Edition.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 12-1 Chapter 12 Chi-Square Tests and Nonparametric Tests Statistics for Managers using.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 14-1 Chapter 14 Introduction to Multiple Regression Statistics for Managers using Microsoft.
Business Statistics: A First Course (3rd Edition)
Chapter 4 Analysis of Variance
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.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests and One-Way ANOVA Business Statistics, A First.
Copyright © 2016, 2013, 2010 Pearson Education, Inc. Chapter 10, Slide 1 Two-Sample Tests and One-Way ANOVA Chapter 10.
10-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 10 Two-Sample Tests Statistics for Managers using Microsoft Excel 6 th.
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.
ENGR 610 Applied Statistics Fall Week 8 Marshall University CITE Jack Smith.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 6 Sampling and Sampling Distributions
Chapter 11 Analysis of Variance
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Statistics for Managers Using Microsoft Excel 3rd Edition
Two-Way Analysis of Variance Chapter 11.
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Chapter 11 Hypothesis Tests and Estimation for Population Variances
Chapter 11 Analysis of Variance
Chapter 9 Analysis of Variance
Chapter 15 Analysis of Variance
Presentation transcript:

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 15 Analysis of Variance Ch. 15-1

Chapter Goals After completing this chapter, you should be able to: Recognize situations in which to use analysis of variance Understand different analysis of variance designs Perform a one-way and two-way analysis of variance and interpret the results Conduct and interpret a Kruskal-Wallis test Analyze two-factor analysis of variance tests with more than one observation per cell Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-2

Comparison of Several Population Means Tests were presented in Chapter 10 for the difference between two population means In this chapter these procedures are extended to tests for the equality of more than two population means The null hypothesis is that the population means are all the same The critical factor is the variability involved in the data If the variability around the sample means is small compared with the variability among the sample means, we reject the null hypothesis Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Comparison of Several Population Means Small variation around the sample means compared to the variation among the sample means Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch (continued) Large variation around the sample means compared to the variation among the sample means

One-Way Analysis of Variance Evaluate the difference among the means of three or more groups Examples: Average production for 1 st, 2 nd, and 3 rd shifts Expected mileage for five brands of tires Assumptions Populations are normally distributed Populations have equal variances Samples are randomly and independently drawn Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 15.2 Ch. 15-5

Hypotheses of One-Way ANOVA All population means are equal i.e., no variation in means between groups At least one population mean is different i.e., there is variation between groups Does not mean that all population means are different (some pairs may be the same) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-6

One-Way ANOVA Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall All Means are the same: The Null Hypothesis is True (No variation between groups) Ch. 15-7

One-Way ANOVA Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall At least one mean is different: The Null Hypothesis is NOT true (Variation is present between groups) or (continued) Ch. 15-8

Variability The variability of the data is key factor to test the equality of means In each case below, the means may look different, but a large variation within groups in B makes the evidence that the means are different weak Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Small variation within groups A B C Group A B C Group Large variation within groups AB Ch. 15-9

One-Factor ANOVA F Test Example You want to see if three different golf clubs yield different distances. You randomly select five measurements from trials on an automated driving machine for each club. At the.05 significance level, is there a difference in mean distance? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Club 1 Club 2 Club Ch

One-Factor ANOVA Example: Scatter Diagram Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Distance Club 1 Club 2 Club Club Ch

Sum of Squares Decomposition Total variation can be split into two parts: Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall SST = Total Sum of Squares Total Variation = the aggregate dispersion of the individual data values across the various groups SSW = Sum of Squares Within Groups Within-Group Variation = dispersion that exists among the data values within a particular group SSG = Sum of Squares Between Groups Between-Group Variation = dispersion between the group sample means SST = SSW + SSG Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Variation due to differences between groups (SSG) Variation due to random sampling (SSW) Total Sum of Squares (SST) = + Ch Sum of Squares Decomposition

Total Sum of Squares Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Where: SST = Total sum of squares K = number of groups (levels or treatments) n i = number of observations in group i x ij = j th observation from group i x = overall sample mean SST = SSW + SSG Ch

Total Sum of Squares Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch

Within-Group Variation Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Where: SSW = Sum of squares within groups K = number of groups n i = sample size from group i x i = sample mean from group i x ij = j th observation in group i SST = SSW + SSG Ch

Within-Group Variation Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Summing the variation within each group and then adding over all groups Mean Square Within = SSW/degrees of freedom (continued) Ch

Within-Group Variation Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch

One-Factor ANOVA Example Computations Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Club 1 Club 2 Club x 1 = x 2 = x 3 = x = n 1 = 5 n 2 = 5 n 3 = 5 n = 15 K = 3 SSG = 5 (249.2 – 227) (226 – 227) (205.8 – 227) 2 = SSW = (254 – 249.2) 2 + (263 – 249.2) 2 +…+ (204 – 205.8) 2 = MSG = / (3-1) = MSW = / (15-3) = 93.3 Ch

Between-Group Variation Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Where: SSG = Sum of squares between groups K = number of groups n i = sample size from group i x i = sample mean from group i x = grand mean (mean of all data values) SST = SSW + SSG Ch

Between-Group Variation Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Variation Due to Differences Between Groups Mean Square Between Groups = SSG/degrees of freedom (continued) Ch

Between-Group Variation Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch

One-Factor ANOVA Example Computations Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Club 1 Club 2 Club x 1 = x 2 = x 3 = x = n 1 = 5 n 2 = 5 n 3 = 5 n = 15 K = 3 SSG = 5 (249.2 – 227) (226 – 227) (205.8 – 227) 2 = SSW = (254 – 249.2) 2 + (263 – 249.2) 2 +…+ (204 – 205.8) 2 = MSG = / (3-1) = MSW = / (15-3) = 93.3 Ch

Obtaining the Mean Squares Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch Where n = sum of the sample sizes from all groups K = number of populations

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall One-Way ANOVA Table Source of Variation dfSS MS (Variance) Between Groups SSGMSG = Within Groups n - KSSWMSW = Totaln - 1 SST = SSG+SSW K - 1 MSG MSW F ratio K = number of groups n = sum of the sample sizes from all groups df = degrees of freedom SSG K - 1 SSW n - K F = Ch

One-Factor ANOVA F Test Statistic Test statistic MSG is mean squares between variances MSW is mean squares within variances Degrees of freedom df 1 = K – 1 (K = number of groups) df 2 = n – K (n = sum of sample sizes from all groups) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall H 0 : μ 1 = μ 2 = … = μ K H 1 : At least two population means are different Ch

Interpreting the F Statistic The F statistic is the ratio of the between estimate of variance and the within estimate of variance The ratio must always be positive df 1 = K -1 will typically be small df 2 = n - K will typically be large Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Decision Rule:  Reject H 0 if F > F K-1,n-K,  0  =.05 Reject H 0 Do not reject H 0 F K-1,n-K,  Ch

One-Factor ANOVA F Test Example You want to see if three different golf clubs yield different distances. You randomly select five measurements from trials on an automated driving machine for each club. At the.05 significance level, is there a difference in mean distance? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Club 1 Club 2 Club Ch

One-Factor ANOVA Example: Scatter Diagram Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Distance Club 1 Club 2 Club Club Ch

One-Factor ANOVA Example Computations Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Club 1 Club 2 Club x 1 = x 2 = x 3 = x = n 1 = 5 n 2 = 5 n 3 = 5 n = 15 K = 3 SSG = 5 (249.2 – 227) (226 – 227) (205.8 – 227) 2 = SSW = (254 – 249.2) 2 + (263 – 249.2) 2 +…+ (204 – 205.8) 2 = MSG = / (3-1) = MSW = / (15-3) = 93.3 Ch

One-Factor ANOVA Example Solution H 0 : μ 1 = μ 2 = μ 3 H 1 : μ i not all equal  =.05 df 1 = 2 df 2 = 12 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall F = Test Statistic: Decision: Conclusion: Reject H 0 at  = 0.05 There is evidence that at least one μ i differs from the rest 0  =.05 Reject H 0 Do not reject H 0 Critical Value: F 2,12,.05 = 3.89 Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall SUMMARY GroupsCountSumAverageVariance Club Club Club ANOVA Source of Variation SSdfMSFP-valueF crit Between Groups E Within Groups Total ANOVA -- Single Factor: Excel Output EXCEL: data | data analysis | ANOVA: single factor Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Multiple Comparisons Between Subgroup Means To test which population means are significantly different e.g.: μ 1 = μ 2 ≠ μ 3 Done after rejection of equal means in single factor ANOVA design Allows pair-wise comparisons Compare absolute mean differences with critical range x  =  123 Ch

Two Subgroups When there are only two subgroups, compute the minimum significant difference (MSD) Where s p is a pooled estimate of the variance Use hypothesis testing methods of Ch. 10 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Multiple Supgroups  Q is a factor from Appendix Table 13 for the chosen level of   K = number of subgroups, and  MSW = Mean square within from ANOVA table The minimum significant difference between k subgroups is where Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall If the absolute mean difference is greater than MSD then there is a significant difference between that pair of means at the chosen level of significance. Compare: Multiple Supgroups (continued) Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Since each difference is greater than 9.387, we conclude that all three means are different from one another at the.05 level of significance. (where Q = 3.77 is from Table 13 for  =.05 and 12 df) Multiple Supgroups: Example x 1 = x 2 = x 3 = n 1 = 5 n 2 = 5 n 3 = 5 Ch

Kruskal-Wallis Test Use when the normality assumption for one- way ANOVA is violated Assumptions: The samples are random and independent variables have a continuous distribution the data can be ranked populations have the same variability populations have the same shape Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 15.3 Ch

Kruskal-Wallis Test Procedure Obtain relative rankings for each value In event of tie, each of the tied values gets the average rank Sum the rankings for data from each of the K groups Compute the Kruskal-Wallis test statistic Evaluate using the chi-square distribution with K – 1 degrees of freedom Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Kruskal-Wallis Test Procedure The Kruskal-Wallis test statistic: (chi-square with K – 1 degrees of freedom) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall where: n = sum of sample sizes in all groups K = Number of samples R i = Sum of ranks in the i th group n i = Size of the i th group (continued) Ch

Kruskal-Wallis Test Procedure Decision rule Reject H 0 if W >  2 K–1,  Otherwise do not reject H 0 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued)  Complete the test by comparing the calculated H value to a critical  2 value from the chi-square distribution with K – 1 degrees of freedom   2 K–1,  0  Reject H 0 Do not reject H 0 Ch

Kruskal-Wallis Example Do different departments have different class sizes? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Class size (Math, M) Class size (English, E) Class size (Biology, B) Ch SizeRank

Kruskal-Wallis Example Do different departments have different class sizes? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Class size (Math, M) Ranking Class size (English, E) Ranking Class size (Biology, B) Ranking  = 44  = 56  = 20 Ch

Kruskal-Wallis Example The W statistic is Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch

Kruskal-Wallis Example Since H = 6.72 >, reject H 0 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued)  Compare W = 6.72 to the critical value from the chi-square distribution for 3 – 1 = 2 degrees of freedom and  =.05: There is sufficient evidence to reject that the population means are all equal Ch

Two-Way Analysis of Variance One Observation per Cell, Randomized Blocks Examines the effect of Two factors of interest on the dependent variable e.g., Percent carbonation and line speed on soft drink bottling process Interaction between the different levels of these two factors e.g., Does the effect of one particular carbonation level depend on which level the line speed is set? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 15.4 Ch

Two-Way ANOVA Assumptions Populations are normally distributed Populations have equal variances Independent random samples are drawn Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch

Randomized Block Design Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Two Factors of interest: A and B K = number of groups of factor A H = number of levels of factor B (sometimes called a blocking variable) Block Group 12…K 12..H12..H x 11 x 12. x 1H x 21 x 22. x 2H ……..………..… x K1 x K2. x KH Ch

Two-Way Notation Let x ij denote the observation in the i th group and j th block Suppose that there are K groups and H blocks, for a total of n = KH observations Let the overall mean be x Denote the group sample means by Denote the block sample means by Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Partition of Total Variation SST = SSG + SSB + SSE Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Variation due to differences between groups (SSG) Variation due to random sampling (unexplained error) (SSE) Total Sum of Squares (SST) = + Variation due to differences between blocks (SSB) + The error terms are assumed to be independent, normally distributed, and have the same variance Ch

Two-Way Sums of Squares The sums of squares are Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Degrees of Freedom: n – 1 K – 1 H – 1 (K – 1)(H – 1) Ch

Two-Way Mean Squares The mean squares are Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Two-Way ANOVA: The F Test Statistic Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall F Test for Blocks H 0 : The K population group means are all the same F Test for Groups H 0 : The H population block means are the same Reject H 0 if F > F K-1,(K-1)(H-1),  Reject H 0 if F > F H-1,(K-1)(H-1),  Ch

General Two-Way Table Format Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Source of Variation Sum of Squares Degrees of Freedom Mean SquaresF Ratio Between groups Between blocks Error Total SSG SSB SSE SST K – 1 H – 1 (K – 1)(H – 1) n - 1 Ch

Exercise Agricultural experiment differences in yeileds of corn for different varieties using three different fertilizers FertilizersVariety ABCD

Prepare two-way ANOVA table Test the null hyupothesis thaat the pop mean yields are identical for all varieties of corn test the null hypothesis that population mean yields are the same for all three brends of fertilizers

Solutions

More than One Observation per Cell A two-way design with more than one observation per cell allows one further source of variation The interaction between groups and blocks can also be identified Let K = number of groups H = number of blocks m = number of observations per cell KHm = total number of observations Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 15.5 Ch

More than One Observation per Cell Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall SST Total Variation SSG Between-group variation SSB Between-block variation SSI Variation due to interaction between groups and blocks SSE Random variation (Error) Degrees of Freedom: K – 1 H – 1 (K – 1)(H – 1) KH(m – 1) KHm – 1 SST = SSG + SSB + SSI + SSE (continued) Ch

Sums of Squares with Interaction Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Degrees of Freedom: K – 1 H – 1 (K – 1)(H – 1) KH(m – 1) KHm - 1 Ch

Two-Way Mean Squares with Interaction The mean squares are Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Two-Way ANOVA: The F Test Statistic Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall F Test for block effect F Test for interaction effect H 0 : the interaction of groups and blocks is equal to zero F Test for group effect H 0 : The K population group means are all the same H 0 : The H population block means are the same Reject H 0 if F > F K-1,KH(L-1),  Reject H 0 if F > F H-1,KH(L-1),  Reject H 0 if F > F (K-1)(H-1),KH(L-1),  Ch

Two-Way ANOVA Summary Table Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Source of Variation Sum of Squares Degrees of Freedom Mean Squares F Statistic Between groups SSGK – 1 MSG = SSG / (K – 1) MSG MSE Between blocks SSBH – 1 MSB = SSB / (H – 1) MSB MSE InteractionSSI(K – 1)(H – 1) MSI = SSI / (K – 1)(H – 1) MSI MSE ErrorSSEKH(m – 1) MSE = SSE / KH(m – 1) TotalSSTKHm – 1 Ch

Features of Two-Way ANOVA F Test Degrees of freedom always add up KHm - 1 = (K-1) + (H-1) + (K-1)(H-1) + KH(m-1) Total = groups + blocks + interaction + error The denominator of the F Test is always the same but the numerator is different The sums of squares always add up SST = SSG + SSB + SSI + SSE Total = groups + blocks + interaction + error Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Examples: Interaction vs. No Interaction No interaction: Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Block Level 1 Block Level 3 Block Level 2 Groups Block Level 1 Block Level 3 Block Level 2 Groups Mean Response  Interaction is present: A B C Ch

Exercise There might be some interraction between variety and fertilizer Another set of trials was carried out FertilizersVariety ABCD

Exercise Agricultural experiment differences in yeileds of corn for different varieties using three different fertilizers FertilizersVariety ABCD

What would be implied by an interaction set up and ANOVA table Test the null hyupothesis thaat gthe pop mean yields are identical for all varieties of corn test the null hypothesis that population mean hyields are the same for all three brends of fertilizers test the null lypogthesis of no interaction between variety of corn and brand of fertilizer

Solution

Chapter Summary Described one-way analysis of variance The logic of Analysis of Variance Analysis of Variance assumptions F test for difference in K means Applied the Kruskal-Wallis test when the populations are not known to be normal Described two-way analysis of variance Examined effects of multiple factors Examined interaction between factors Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America.