CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT)

Slides:



Advertisements
Similar presentations
Chapter 11 Analysis of Variance
Advertisements

TWO-WAY BETWEEN SUBJECTS ANOVA Also called: Two-Way Randomized ANOVA Also called: Two-Way Randomized ANOVA Purpose: Measure main effects and interaction.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 11 Analysis of Variance
Statistics for Managers Using Microsoft® Excel 5th Edition
Analysis of Variance Chapter 15 - continued Two-Factor Analysis of Variance - Example 15.3 –Suppose in Example 15.1, two factors are to be examined:
Chapter 17 Analysis of Variance
8. ANALYSIS OF VARIANCE 8.1 Elements of a Designed Experiment
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.
T WO WAY ANOVA WITH REPLICATION  Also called a Factorial Experiment.  Replication means an independent repeat of each factor combination.  The purpose.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-1 Chapter 11 Analysis of Variance Statistics for Managers using Microsoft Excel.
1 1 Slide © 2005 Thomson/South-Western AK/ECON 3480 M & N WINTER 2006 n Power Point Presentation n Professor Ying Kong School of Analytic Studies and Information.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
Statistics Design of Experiment.
© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
QNT 531 Advanced Problems in Statistics and Research Methods
Analysis of Variance or ANOVA. In ANOVA, we are interested in comparing the means of different populations (usually more than 2 populations). Since this.
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 © 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.
SUMMARY FOR EQT271 Semester /2015 Maz Jamilah Masnan, Inst. of Engineering Mathematics, Univ. Malaysia Perlis.
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
TOPIC 11 Analysis of Variance. Draw Sample Populations μ 1 = μ 2 = μ 3 = μ 4 = ….. μ n Evidence to accept/reject our claim Sample mean each group, grand.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Lecture 9-1 Analysis of Variance
Chapter 10: Analysis of Variance: Comparing More Than Two Means.
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
McGraw-Hill, Bluman, 7th ed., Chapter 12
1 1 Slide Slides by JOHN LOUCKS St. Edward’s University.
SUMMARY EQT 271 MADAM SITI AISYAH ZAKARIA SEMESTER /2015.
CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT) MADAM SITI AISYAH ZAKARIA EQT 271 SEM /2015.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Experimental Design and Analysis of Variance Chapter 11.
CHAPTER 3 Analysis of Variance (ANOVA) PART 2 =TWO- WAY ANOVA WITHOUT REPLICATION.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 11 Analysis of Variance
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
CHAPTER 4 Analysis of Variance (ANOVA)
MADAM SITI AISYAH ZAKARIA
Statistics for Managers Using Microsoft Excel 3rd Edition
Two-Way Analysis of Variance Chapter 11.
Factorial Experiments
MADAM SITI AISYAH ZAKARIA
CHAPTER 3 Analysis of Variance (ANOVA)
CHAPTER 4 Analysis of Variance (ANOVA)
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Statistics for Business and Economics (13e)
ANalysis Of VAriance (ANOVA)
Econ 3790: Business and Economic Statistics
Chapter 11 Analysis of Variance
Two-Way Analysis of Variance
Experimental Statistics - week 8
Chapter 10 – Part II Analysis of Variance
Slides are available at:
Presentation transcript:

CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT)

Two-Way ANOVA with Replication (Factorial Experiment) Factorial experiments and their corresponding ANOVA computations are valuable designs when simultaneous conclusions about two or more factors are required. Replication means an independent repeat of each factor combination (interaction) Purpose: Examines (1) the effect of Factor A on the dependent variable, y; (2) the effect of Factor B on the dependent variable, y; along with (3) the effects of the interactions between different levels of the two factors on the dependent variable , y.

Factorial Experiment, cont. Effects model for factorial experiment:

Two-Factor Factorial Experiment REMEMBER THIS Three Sets of Hypothesis: i. Factor A Effect: H0: 1 =  2 = ... =  a =0 H1: at least one i  0 ii. Factor B Effect: H0: 1 = 2 = ... = b =0 H1: at least one j ≠ 0 iii. Interaction Effect: H0: ( )ij = 0 for all i,j H1: at least one ( )ij  0 H0: µ1 = µ2 = ... = µa * H1: µi  µk for at least one pair (i,k) H0: µ1 = µ2 = ... = µb * H1: µi  µk for at least one pair (i,k) H0: µAB1 = µAB2 = ... = µABb * H1: µABi  µABk for at least one pair (i,k)

Two-Factor Factorial Experiment CAN USE THIS INSTEAD Three Sets of Hypothesis: i. Factor A Effect: H0: 1 =  2 = ... =  a =0 H1: at least one i  0 ii. Factor B Effect: H0: 1 = 2 = ... = b =0 H1: at least one j ≠ 0 iii. Interaction Effect: H0: ( )ij = 0 for all i,j H1: at least one ( )ij  0 H0: There is no difference in means of factor A H1: There is a difference in means of factor A H0: There is no difference in means of factor B H1: There is a difference in means of factor B H0: There is no interaction effect between factor A and B for/on ……… H1: There is an interaction effect between

Two-Factor Factorial Experiment, cont. Format for data: Data appear in a grid, each cell having two or more entries. The number of values in each cell is constant across the grid and represents r, the number of replications within each cell. Calculations: Sum of squares total (SST) = sum of squared differences between each individual data value (regardless of group membership) minus the grand mean, , across all data... total variation in the data (not variance).

Two-Factor Factorial Experiment, cont. Calculations, cont.: Sum of squares Factor A (SSA) = sum of squared differences between each group mean for Factor A and the grand mean, balanced by sample size... between-factor-groups variation (not variance). Sum of squares Factor B (SSB) = sum of squared differences between each group mean for Factor B and the grand mean, balanced by sample size... between-factor-groups variation (not variance).

Two-Factor Factorial Experiment, cont. Calculations, cont.: Sum of squares Error (SSE) = sum of squared differences between individual values and their cell mean... within-groups variation (not variance). Sum of squares Interaction: SSAB = SST – SSA – SSB – SSE

Two-Factor Factorial Experiment, cont. Calculations, cont.: Mean Square Factor A (MSA) = SSA/(a – 1), where a = the number of levels of Factor A . Mean Square Factor B (MSB) = SSB/(b – 1), where b = the number of levels of Factor B . Mean Square Interaction (MSAB) = SSAB/(a – 1)(b – 1). Mean Square Error (MSE) = SSE/ab(r – 1), where ab(r – 1) = the degrees of freedom on error .

Two-Factor Factorial Experiment, cont. Calculations - F-Ratios: F-Ratio, Factor A = MSA/MSE , where numerator degrees of freedom are a – 1 and denominator degrees of freedom are ab(r – 1). This F-ratio is the test statistic for the hypothesis that the Factor A group means are equal. To reject the null hypothesis means that at least one Factor A group had a different effect on the dependent variable than the rest. F-Ratio, Factor B = MSB/MSE, where numerator degrees of freedom are b – 1 and denominator degrees of freedom are ab(r – 1). This F-ratio is the test statistic for the hypothesis that the Factor B group means are equal. To reject the null hypothesis means that at least one Factor B group had a different effect on the dependent variable than the rest.

Two-Factor Factorial Experiment, cont. Calculations - F-Ratios: F-Ratio, Interaction = MSAB/MSE, where numerator degrees of freedom are (a – 1)( b – 1) and denominator degrees of freedom are ab(r – 1). This F-ratio is the test statistic for the hypothesis that Factors A and B operate independently. To reject the null hypothesis means that there is some relationship where levels of Factor A operate differently with different levels of Factor B. If F-Ratio>F or p-value< , reject H0 at the  level.

Two-Factor Factorial Experiment, cont. Two-Factor ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Square F p-Value Factor A SSA a-1 Factor B SSB b-1 Interaction SSAB (a-1)(b-1) Error SSE ab(r-1) Total SST abr-1

Two-Factor Factorial Experiment, Example 4.4: State of Ohio Wage Survey A survey was conducted of hourly wages for a sample of workers in two industries at three locations in Ohio. Part of the purpose of the survey was to determine if differences exist in both industry type and location. The sample data are shown on the next slide.

Two-Factor Factorial Experiment- An Example Industry Cincinnati Cleveland Columbus I $12.10 $11.80 $12.90 11.80 11.20 12.70 12.10 12.00 12.20 II 12.40 12.60 13.00 12.50 Factors: Factor A: Industry Type (2 levels) Factor B: Location (3 levels) Replications: Each experimental condition is repeated 3 times

Two-Factor Factorial Experiment- An Example 1. Hypothesis for this analysis: i. Interaction Effect: H0: There is no interaction effect between industry type and location to hourly wages. H1: There is no interaction effect between industry type and location to hourly wages. ii. Factor A Effect: H0: There is no difference between the means of hourly wages for two types of industry H1: There is a difference between the means of hourly wages for two types of industry iii. Factor B Effect: H0: There is no difference between the means of hourly wages for the three location H1: There is a difference between the means of hourly wages for the three location

Two-Factor Factorial Experiment- An Example Result: Two-Way ANOVA Table 2. Test Statistics : (F test) SSA – MSA v. SSE = SST – SSA – SSB – SSAB SSB – MSB vi. MSE iii. SSAB – MSAB vii. F test (A, B & AB) iv. SST viii. ANOVA TABLE Source of Variation Sum of Squares Degrees of Freedom Mean Square F p-Value Factor A 0.50 1 4.19 0.06 Factor B 1.12 2 0.56 4.69 0.03 Interaction 0.37 0.19 1.55 0.25 Error 1.43 12 0.12 Total 3.42 17

Two-Factor Factorial Experiment-An Example 3. F (alfa) value (critical value) Industries: Fa = 4.75 Locations: Fa = 3.89 Interaction: Fa = 3.89 4. Rejection region : (Draw picture) Industries: F = 4.19 < Fa = 4.75 - Fail to Reject H0 Locations: F = 4.69 > Fa = 3.89 - Reject H0 Interaction: F = 1.55 < Fa = 3.89 - Fail to Reject H0 5. Conclusions Using the Critical Value Approach The means of hourly wages do not differ by industry type. The means of hourly wages do differ by location. There is no interaction between industry type and location to hourly wages.

Two-Factor Factorial Experiment-An Example 5. Conclusions Using the p-Value Approach Industries: p-value = .06 > a = .05 The means of hourly wages do not differ by industry type. Locations: p-value = .03 < a = .05 The means of hourly wages do differ by location. Interaction: p-value = .25 > a = .05 There is no interaction between industry type and location to hourly wages.

Two-Factor Factorial Experiment-An Example 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. Using a two-way analysis of variance, perform the analyses. The data (in miles per gallon) are shown here, and the summary table is given in the following table.

Factor B = Independent Variable Gasoline Type Type of Automobile Two-wheel-drive Four-wheel-drive Regular 26.7 28.6 25.2 29.3 High-Octane 32.3 26.1 32.8 24.2 Factor A = Independent Variable Response Variable = Dependent Variable

STEP 1 i. Interaction Effect: H0: There is no interaction effect between type of gasoline used and type of automobile a person drive on gasoline consumption. H1: There is an interaction effect between type of gasoline used and type of ii. Factor A Effect: H0: There is no difference between the means of gasoline consumption for the two types of gasoline H1: There is a difference between the means of gasoline consumption for the two types of gasoline iii. Factor B Effect: two-wheel- and four-wheel-drive automobiles. H1: There is a difference between the means of gasoline consumption for two- wheel- and four-wheel-drive automobiles.

STEP 2 B   Two-wheel-drive (mean) Four-wheel-drive (mean) Overall Mean A Overall Mean A Regular (mean) 25.95 28.95 27.45 High-Octane mean) 32.55 25.15 28.85 28.15 Overall Mean B 29.25 27.05

Disordinal Interaction There is a SIGNIFICANCE interaction between automobile type and gasoline type for the gasoline consumption.

No Interaction (parallel) Ordinal Interaction There is an interaction but not significant. The main effect can be interpreted independently No Interaction (parallel) There is no significant interaction . The main effect can be interpreted independently

STEP 2 SSAB = SST – SSA – SSB – SSE

STEP 2 a=2, b=2, n=2 Source of Variation Sum of Squares Degrees of Freedom Mean Square F Factor A (Gasoline) 3.920 a – 1 = 1 4.752 Factor B (Automobile) 9.680 b – 1 = 1 11.733 Interaction (AB) 54.080 (a–1)(b–1) = 1 65.552 Error (within) 3.300 ab(n-1) = 4 0.825 Total 70.980 7

STEP 3, 4 & 5 Interaction (AxB) F(0.05, 1, 4) =7.71 F-ratio (65.552) > F-critical value(7.71) There is an interaction effect between type of gasoline used and type of automobile a person drive on gasoline consumption. Factor A F-ratio (4.752) < F-critical value(7.71) Fail to reject Ho. There is no difference between the means of gasoline consumption for the two types of gasoline. Factor B F-ratio (11.733) < F-critical value(7.71) Reject Ho. There is a difference between the means of gasoline consumption for two-wheel- and four-wheel-drive automobiles.

EXERCISE TEXT BOOK PAGE 153 ( Example 9.6) PAGE 157 ( 1 & 2) 2 step 5 IMPORTANT STEP: HYPOTHESIS TESTING TEST STATISTIC – F TEST F (alfa) – VALUE (CRITICAL VALUE) REJECTION REGION CONCLUSION SSA – MSA SSB – MSB SSAB – MSAB SST SSE = SST – SSA – SSB - SSAB MSE F TEST SSA= MSA/MSE F TEST SSB = MSB/MSE F TEST SSAB = MSAB/MSE BUILD ANOVA TABLE

THE END…………