Two-Way Analysis of Variance Chapter 11.

Slides:



Advertisements
Similar presentations
ANOVA Two Factor Models Two Factor Models. 2 Factor Experiments Two factors can either independently or together interact to affect the average response.
Advertisements

RAK Week 10/ / 47 Rancangan Acak Kelompok (RAK) Diterapkan pada percobaan yang dilakukan pada lingkungan tidak homogen (heterogen)
Chapter 11 Analysis of Variance
Chapter 12 ANALYSIS OF VARIANCE.
Design of Experiments and Analysis of Variance
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 11 Analysis of Variance
Statistics for Business and Economics
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 17 Analysis of Variance
k r Factorial Designs with Replications r replications of 2 k Experiments –2 k r observations. –Allows estimation of experimental errors Model:
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
Copyright ©2011 Pearson Education 11-1 Chapter 11 Analysis of Variance Statistics for Managers using Microsoft Excel 6 th Global Edition.
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.
Chapter 12: Analysis of Variance
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 12-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 12 Analysis.
F-Test ( ANOVA ) & Two-Way ANOVA
Statistics for Business and Economics Chapter 8 Design of Experiments and Analysis of Variance.
QNT 531 Advanced Problems in Statistics and Research Methods
INFERENTIAL STATISTICS: Analysis Of Variance ANOVA
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
© 2002 Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft Excel 3 rd Edition Chapter 9 Analysis of Variance.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
CHAPTER 12 Analysis of Variance Tests
Chapter 10 Analysis of Variance.
Business Statistics: Contemporary Decision Making, 3e, by Black. © 2001 South-Western/Thomson Learning 11-1 Business Statistics, 3e by Ken Black Chapter.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Lecture 9-1 Analysis of Variance
Chapter 10: Analysis of Variance: Comparing More Than Two Means.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 15 Analysis of Variance.
Chapter 11 Analysis of Variance. 11.1: The Completely Randomized Design: One-Way Analysis of Variance vocabulary –completely randomized –groups –factors.
Chapter 4 Analysis of Variance
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
CHAPTER 10 ANOVA - One way ANOVa.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
1 1 Slide Slides by JOHN LOUCKS St. Edward’s University.
CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT) MADAM SITI AISYAH ZAKARIA EQT 271 SEM /2015.
DSCI 346 Yamasaki Lecture 4 ANalysis Of Variance.
CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT)
Chapter 13 Analysis of Variance (ANOVA). ANOVA can be used to test for differences between three or more means. The hypotheses for an ANOVA are always:
Chapter 11 Analysis of Variance
Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
Keller: Stats for Mgmt & Econ, 7th Ed Analysis of Variance
CHAPTER 4 Analysis of Variance (ANOVA)
MADAM SITI AISYAH ZAKARIA
Statistics for Managers Using Microsoft Excel 3rd Edition
Factorial Experiments
i) Two way ANOVA without replication
CHAPTER 4 Analysis of Variance (ANOVA)
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Statistics for Business and Economics (13e)
Post Hoc Tests on One-Way ANOVA
Post Hoc Tests on One-Way ANOVA
CHAPTER 12 ANALYSIS OF VARIANCE
ANalysis Of VAriance (ANOVA)
Econ 3790: Business and Economic Statistics
Chapter 11 Analysis of Variance
Chapter 9 Analysis of Variance
Chapter 10 Introduction to the Analysis of Variance
Chapter 15 Analysis of Variance
Presentation transcript:

Two-Way Analysis of Variance Chapter 11

Learning Objectives In this chapter, you learn: How to use two-way analysis of variance and interpret the interaction effect How to perform multiple comparisons in a two-way analysis of variance

Factorial Design: Two-Way ANOVA 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?

Two-Way ANOVA Assumptions Populations are normally distributed (continued) Assumptions Populations are normally distributed Populations have equal variances Independent random samples are drawn

Two-Way ANOVA Sources of Variation Two Factors of interest: A and B r = number of levels of factor A c = number of levels of factor B n’ = number of replications for each cell n = total number of observations in all cells n = (r)(c)(n’) Xijk = value of the kth observation of level i of factor A and level j of factor B

Two-Way ANOVA Sources of Variation (continued) SST = SSA + SSB + SSAB + SSE Degrees of Freedom: SSA Factor A Variation r – 1 SST Total Variation SSB Factor B Variation c – 1 SSAB Variation due to interaction between A and B (r – 1)(c – 1) n - 1 SSE Random variation (Error) rc(n’ – 1)

Two-Way ANOVA Equations Total Variation: Factor A Variation: Factor B Variation:

Two-Way ANOVA Equations (continued) Interaction Variation: Error Sum of Squares:

Two-Way ANOVA Equations (continued) where: r = number of levels of factor A c = number of levels of factor B n’ = number of replications in each cell

Mean Square Calculations

Two-Way ANOVA: The F Test Statistics F Test for Factor A Effect H0: μ1..= μ2.. = μ3..= • • = µr.. H1: Not all μi.. are equal Reject H0 if FSTAT > Fα F Test for Factor B Effect H0: μ.1. = μ.2. = μ.3.= • • = µ.c. H1: Not all μ.j. are equal Reject H0 if FSTAT > Fα F Test for Interaction Effect H0: the interaction of A and B is equal to zero H1: interaction of A and B is not zero Reject H0 if FSTAT > Fα

Two-Way ANOVA Summary Table Source of Variation Sum of Squares Degrees of Freedom Mean Squares F Factor A SSA r – 1 MSA = SSA /(r – 1) MSA MSE Factor B SSB c – 1 MSB = SSB /(c – 1) MSB MSE AB (Interaction) SSAB (r – 1)(c – 1) MSAB = SSAB / (r – 1)(c – 1) MSAB MSE Error SSE rc(n’ – 1) MSE = SSE/rc(n’ – 1) Total SST n – 1

Features of Two-Way ANOVA F Test Degrees of freedom always add up n-1 = (r-1) + (c-1) + (r-1)(c-1) + rc(n’-1) Total = factor A + factor B + interaction + error The denominators of the F Test are always the same but the numerators are different The sums of squares always add up SST = SSA + SSB + SSAB + SSE

Examples Page 413-414 ## 11.15 – 11.18 # 11.19 # 11.20

Examples: Interaction vs. No Interaction Interaction is present: some line segments not parallel No interaction: line segments are parallel Factor B Level 1 Factor B Level 1 Factor B Level 3 Mean Response Mean Response Factor B Level 2 Factor B Level 2 Factor B Level 3 Factor A Levels Factor A Levels

Do ACT Prep Course Type & Length Impact Average ACT Scores ACT Scores for Different Types and Lengths of Courses LENGTH OF COURSE TYPE OF COURSE Condensed Regular Traditional 26 18 34 28 27 24 21 25 19 35 23 20 31 29 Online 32 16 30 22

Plotting Cell Means Shows A Strong Interaction Nonparallel lines indicate the effect of condensing the course depends on whether the course is taught in the traditional classroom or by online distance learning The online course yields higher scores when condensed while the traditional course yields higher scores when not condensed (regular).

Excel Analysis Of ACT Prep Course Data The interaction between course length & type is significant because its p-value is 0.0000. While the p-values associated with both course length & course type are not significant, because the interaction is significant you cannot directly conclude they have no effect.

What to do if interaction is present? When there is significant interaction, we can collapse the data into 4 groups – Traditional course condensed Traditional course regular length Online course condensed Online course regular length After collapsing into four groups do a one way ANOVA

Excel Analysis Of Collapsed Data Traditional regular > Traditional condensed Online condensed > Traditional condensed Traditional regular > Online regular Online condensed > Online regular If the course is take online should use the condensed version and if the course is taken by traditional method should use the regular. Group is a significant effect. p-value of 0.0003 < 0.05

Chapter Summary In this chapter we discussed The two-way analysis of variance Examined effects of multiple factors Examined interaction between factors

Examples Page 414, # 11.22 Page 415, ## 11.24, 11.26 (in Excel, data analysis toolpak, choose “ANOVA: two-factor with replication”)