CHAPTER 4 Analysis of Variance (ANOVA)

Slides:



Advertisements
Similar presentations
Test of (µ 1 – µ 2 ),  1 =  2, Populations Normal Test Statistic and df = n 1 + n 2 – 2 2– )1– 2 ( 2 1 )1– 1 ( 2 where ] 2 – 1 [–
Advertisements

Analisis Varians/Ragam Klasifikasi Dua Arah Pertemuan 18 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
Chapter 11 Analysis of Variance
Analysis of Variance (ANOVA) ANOVA can be used to test for the equality of three or more population means We want to use the sample results to test the.
1 1 Slide Slides by JOHN 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.
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 for Managers Using Microsoft® Excel 5th Edition
Chapter 11 Analysis of Variance
Statistics for Managers Using Microsoft® Excel 5th Edition
1 Pertemuan 13 Analisis Ragam (Varians) - 2 Matakuliah: I0272 – Statistik Probabilitas Tahun: 2005 Versi: Revisi.
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.
1 Chapter 11 – Test for the Equality of k Population Means nRejection Rule where the value of F  is based on an F distribution with k - 1 numerator d.f.
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 © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
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.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
© 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 統計學 Spring 2004 授課教師:統計系余清祥 日期: 2004 年 3 月 30 日 第八週:變異數分析與實驗設計.
1 1 Slide © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
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.
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.
QNT 531 Advanced Problems in Statistics and Research Methods
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 13 Experimental Design and Analysis of Variance nIntroduction to Experimental Design.
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.
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.
© 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.
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.
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.
Chapter 4 Analysis of Variance
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
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 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT)
Chapter 11 Analysis of Variance
CHAPTER 3 Analysis of Variance (ANOVA) PART 1
Chapter 11 – Test for the Equality of k
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
Factorial Experiments
MADAM SITI AISYAH ZAKARIA
i) Two way ANOVA without replication
Applied Business Statistics, 7th ed. by Ken Black
CHAPTER 3 Analysis of Variance (ANOVA)
Statistics for Business and Economics (13e)
Statistics for Business and Economics (13e)
Econ 3790: Business and Economic Statistics
Chapter 11 Analysis of Variance
Chapter 10 – Part II Analysis of Variance
Presentation transcript:

CHAPTER 4 Analysis of Variance (ANOVA)

Learning Objectives Describe the relationship between analysis of variance, the design of experiments, and the types of applications to which the experiments are applied. Differentiate one-way and two-way ANOVA techniques. Arrange data into a format that facilitates their analysis by the appropriate ANOVA technique. Use the appropriate methods in testing hypothesis relative to the experimental data.

Key Terms Factor level, treatment, block, interaction Experimental units Replication Within-group variation Between-group variation Completely randomized design Randomized block design Factorial experiment Sum of squares: Treatment Error Block Interaction Total

Key Concepts ANOVA can be used to analyze the data obtained from experimental or observational studies. A factor is a variable that the experimenter has selected for investigation. A treatment is a level of a factor. Experimental units are the objects of interest in the experiment. Variation between treatment groups captures the effect of the treatment. Variation within treatment groups represents random error not explained by the experimental treatments.

Analysis of Variance: A Conceptual Overview Assumptions for Analysis of Variance For each population, the response (dependent) variable is normally distributed. The variance of the response variable, denoted  2, is the same for all of the populations. The observations must be independent.

One-Way ANOVA (Completely Randomized Design) A completely randomized design (CRD) is an experimental design in which the treatments are randomly assigned to the experimental units. Purpose: Examines two or more levels of an independent variable to determine if their population means could be equal. Effects model for CRD:

One-Way ANOVA, cont. Hypothesis: H0: µ1 = µ2 = ... = µt * H1: µi  µj for at least one pair (i,j) (At least one of the treatment group means differs from the rest. OR At least two of the population means are not equal) @ * where t = number of treatment groups or levels

One-Way ANOVA, cont. Format for data: Data appear in separate columns or rows, organized by treatment groups. Sample size of each group may differ. 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).

One-Way ANOVA, cont. Calculations, cont.: Sum of squares treatment (SSTR) = sum of squared differences between each group mean and the grand mean, balanced by sample size... between-groups variation (not variance). Sum of squares error (SSE) = sum of squared differences between the individual data values and the mean for the group to which each belongs... within-group variation (not variance).

One-Way ANOVA, cont. Calculations, cont.: Mean square treatment (MSTR) = SSTR/(t – 1), where t is the number of treatment groups... between-groups variance. Mean square error (MSE) = SSE/(N – t), where N is the number of elements sampled and t is the number of treatment groups... within-groups variance. F-Ratio = MSTR/MSE, where numerator degrees of freedom are t – 1 and denominator degrees of freedom are N – t. If F-Ratio > F or p-value <  , reject H0 at the  level.

One-Way ANOVA, cont. Comparing the Variance Estimates: The F Test a Sampling Distribution of MSTR/MSE Sampling Distribution of MSTR/MSE Reject H0 Do Not Reject H0 a MSTR/MSE F Critical Value

One-Way ANOVA, cont. ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Square F p-Value Treatments SSTR t-1 Error SSE N-t Total SST N-1

One-Way ANOVA - An Example Example 4.1: Safety researchers, interested in determining if occupancy of a vehicle might be related to the speed at which the vehicle is driven, have checked the following speed (MPH) measurements for two random samples of vehicles: Driver alone: 64 50 71 55 67 61 80 56 59 74 1+ rider(s): 44 52 54 48 69 67 54 57 58 51 62 67 a. What are the null and alternative hypothesis? H0: µ1 = µ2 where Group 1 = driver alone H1: µ1 ¹ µ2 Group 2 = with rider(s)

One-Way ANOVA - An Example b. Use ANOVA and the 0.025 level of significance in testing the appropriate null hypothesis. SSTR = 10(63.7 – 60)2 + 12(56.917 – 60)2 = 250.983 SSE = (64 – 63.7 )2 + (50 – 63.7 )2 + ... + (74 – 63.7 )2 + (44 – 56.917) 2 + (52 – 56.917) 2 + ... + (67 – 56.917) 2 = 1487.017 SST = (64 – 60 )2 + (50 – 60 )2 + ... + (74 – 60 )2 + (44 – 60) 2 + (52 – 60) 2 + ... + (67 – 60) 2 = 1738

One-Way ANOVA - An Example Compare calculated values to those in the Excel output: The test statistic The p-value The critical bound

One-Way ANOVA - An Example Source of Sum of Degrees of Mean Variation Squares Freedom Square F-Ratio Treatments 250.983 1 250.983 3.38 Error 1487.017 20 74.351 Total 1738. 21 I. H0: µ1 = µ2 H1: µ1 ¹ µ2 II. Rejection Region: a = 0.05 dfnum = 1 If F > 4.35, reject H0. dfdenom = 20 0.95 0.05 F=4.35

One-Way ANOVA - An Example III. Test Statistic: F = 250.983 / 74.351 = 3.38 IV. Conclusion: Since the test statistic of F = 3.38 falls below the critical value of F0.05,1,20 = 4.35, we do not reject H0 with at most 5% error. V. Implications: There is not enough evidence to conclude that the speed at which a vehicle is driven changes depending on whether the driver is alone or has at least one passenger. p-value: To calculate the p-value, in a cell within a Microsoft Excel spreadsheet, type: =FDIST(3.38,1,20) The answer is: p-value = 0.0809

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Example 4.2 : AutoShine, Inc. AutoShine, Inc. is considering marketing a long- lasting car wax. Three different waxes (Type 1, Type 2, and Type 3) have been developed. In order to test the durability of these waxes, 5 new cars were waxed with Type 1, 5 with Type 2, and 5 with Type 3. Each car was then repeatedly run through an automatic carwash until the wax coating showed signs of deterioration.

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Example: AutoShine, Inc. The number of times each car went through the carwash before its wax deteriorated is shown on the next slide. AutoShine, Inc. must decide which wax to market. Are the three waxes equally effective? Factor . . . Car wax Treatments . . . Type I, Type 2, Type 3 Experimental units . . . Cars Response variable . . . Number of washes

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Wax Type 1 Wax Type 2 Wax Type 3 Observation 1 2 3 4 5 27 30 29 28 31 33 28 31 30 29 28 30 32 31 Sample Mean 29.0 30.4 30.0 Sample Variance 2.5 3.3 2.5

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Hypothesis H0: 1=2=3 H1: Not all the means are equal where: 1 = mean number of washes using Type 1 wax 2 = mean number of washes using Type 2 wax 3 = mean number of washes using Type 3 wax

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Mean Square Between Treatments Because the sample sizes are all equal: = (29 + 30.4 + 30)/3 = 29.8 SSTR = 5(29–29.8)2 + 5(30.4–29.8)2 + 5(30–29.8)2 = 5.2 MSTR = 5.2/(3 - 1) = 2.6 Mean Square Error SSE = 4(2.5) + 4(3.3) + 4(2.5) = 33.2 MSE = 33.2/(15 - 3) = 2.77

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Rejection Rule p-Value Approach: Reject H0 if p-value < .05 Critical Value Approach: Reject H0 if F > 3.89 where F0.05,2,12 = 3.89 is based on an F distribution with 2 numerator degrees of freedom and 12 denominator degrees of freedom

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design Test Statistic F = MSTR/MSE = 2.60/2.77 =0 .939 Conclusion The p-value is greater than .10, where F0.10,2,12 = 2.81. (Excel provides a p-value of .42.) Therefore, we cannot reject H0. There is insufficient evidence to conclude that the mean number of washes for the three wax types are not all the same.

One-Way ANOVA - An Example Testing for the Equality of k Population Means: A Completely Randomized Design ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Squares F p-Value Treatments 5.2 2 2.60 0.939 0.42 Error 33.2 12 2.77 Total 38.4 14

Two-Way ANOVA without Replication (Randomized Block Design) If the experimental units are heterogeneous, blocking can be used to form homogeneous groups, resulting in a randomized block design. Purpose: Reduces variance within treatment groups by removing known fluctuation among different levels of a second dimension, called a “block.”

Randomized Block Design, cont. Effects model for RBD: Two Sets of Hypothesis: Treatment Effect: H0: 1 =  2 = ... =  t =0 H1:  j  0 at least one j Block Effect: H0:  i = 0 for each value of i through n H1:  i ≠ 0 at least one i

Randomized Block Design, cont. Format for data: Data appear in a table, where location in a specific row and a specific column is important. 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).

Randomized Block Design, cont. Calculations, cont.: Sum of squares treatment (SSTR) = sum of squared differences between each treatment group mean and the grand mean, balanced by sample size... between-treatment-groups variation (not variance). Sum of squares block (SSBL) = sum of squared differences between each block group mean and the grand mean, balanced by sample size... between-block-groups variation (not variance). Sum of squares error (SSE): SSE = SST – SSTR – SSBL

Randomized Block Design, cont. Calculations, cont.: Mean square treatment (MSTR) = SSTR/(t – 1), where t is the number of treatment groups. Mean square block (MSBL) = SSBL/(n – 1), where n is the number of block groups. Controls the size of SSE by removing variation that is explained by the blocking categories. Mean square error (MSE):

Randomized Block Design, cont. Calculations, cont.: Test Statistics, F-Ratios: F-Ratio, Treatment = MSTR/MSE, where numerator degrees of freedom are t – 1 and denominator degrees of freedom are (t – 1)(n – 1) . This F-ratio is the test statistic for the hypothesis that the treatment group means are equal. To reject the null hypothesis means that at least one treatment group had a different effect than the rest. F-Ratio, Block = MSBL/MSE, where numerator degrees of freedom are n – 1 and denominator degrees of freedom are (t – 1)(n – 1). This F-ratio is the test statistic for the hypothesis that the block group means are equal. To reject the null hypothesis means that at least one block group had a different effect on the dependent variable than the rest. If F-Ratio > F or p-value <  , reject H0 at the  level.

Randomized Block Design, cont. ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Square F p-Value Treatments SSTR t-1 Blocks SSBL n-1 Error SSE (t-1)(n-1) Total SST tn-1

Randomized Block Design, cont. Example 4.3: Crescent Oil Co. Crescent Oil has developed three new blends of gasoline and must decide which blend or blends to produce and distribute. A study of the miles per gallon ratings of the three blends is being conducted to determine if the mean ratings are the same for the three blends.

Randomized Block Design, cont. Example: Crescent Oil Co. Five automobiles have been tested using each of the three gasoline blends and the miles per gallon ratings are shown on the next slide. Factor . . . Gasoline blend Treatments . . . Blend X, Blend Y, Blend Z Blocks . . . Automobiles Response variable . . . Miles per gallon

Randomized Block Design, cont. Type of Gasoline (Treatment) Automobile (Block) Block Means Blend X Blend Y Blend Z 1 2 3 4 5 31 30 29 33 26 30 29 31 25 30 29 28 26 30.333 29.333 28.667 31.000 25.667 Treatment Means 29.8 28.8 28.4

Randomized Block Design, cont. Hypothesis: H0: 1 =  2 =  3=0 H1:  j  0 at least one j Mean Square Due to Treatments: The overall sample mean is 29. Thus, SSTR = 5[(29.8 - 29)2 + (28.8 - 29)2 + (28.4 - 29)2] = 5.2 MSTR = 5.2/(3 - 1) = 2.6 Mean Square Due to Blocks: SSBL = 3[(30.333 - 29)2 + . . . + (25.667 - 29)2] = 51.33 MSBL = 51.33/(5 - 1) = 12.8 Mean Square Due to Error: SSE = 62 - 5.2 - 51.33 = 5.47 MSE = 5.47/[(3 - 1)(5 - 1)] = 0 .68

Randomized Block Design, cont. ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Square F p-Value Treatments 5.20 2 2.60 3.82 0.07 Blocks 51.33 4 12.80 *** Error 5.47 8 0.68 Total 62.00 14

Randomized Block Design, cont. Rejection Rule: p-Value Approach: Reject H0 if p-value < 0.05 Critical Value Approach: Reject H0 if F > 4.46 For  = 0.05, F0.05,2,8 = 4.46 (2 d.f. numerator and 8 d.f. denominator)

Randomized Block Design, cont. Test Statistic: F = MSTR/MSE = 2.6/.68 = 3.82 Conclusion: The p-value is greater than .05 (where F0.05,2,8 = 4.46) and less than 0 .10 (where F0.10,2,8 = 3.11). (Excel provides a p-value of 0.07). Therefore, we cannot reject H0. There is insufficient evidence to conclude that the miles per gallon ratings differ for the three gasoline blends.

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. 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 Three Sets of Hypothesis: Factor A Effect: H0: 1 =  2 = ... =  a =0 H1: at least one i  0 Factor B Effect: H0: 1 = 2 = ... = b =0 H1: at least one j ≠ 0 Interaction Effect: H0: ( )ij = 0 for all i,j H1: at least one ( )ij  0

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 Hypothesis for this analysis: Factor A Effect: H0: 1 =  2 =0 H1: at least one i  0 Factor B Effect: H0: 1 = 2 =3 =0 H1: at least one j ≠ 0 Interaction Effect: H0: ( )ij = 0 for all i,j H1: at least one ( )ij  0

Two-Factor Factorial Experiment- An Example Result: Two-Way 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 Conclusions Using the Critical Value Approach Industries: F = 4.19 < Fa = 4.75 Mean wages do not differ by industry type. Locations: F = 4.69 > Fa = 3.89 Mean wages differ by location. Interaction: F = 1.55 < Fa = 3.89 Interaction is not significant.

Two-Factor Factorial Experiment-An Example Conclusions Using the p-Value Approach Industries: p-value = .06 > a = .05 Mean wages do not differ by industry type. Locations: p-value = .03 < a = .05 Mean wages differ by location. Interaction: p-value = .25 > a = .05 Interaction is not significant.