Statistics for Managers Using Microsoft® Excel 5th Edition

Slides:



Advertisements
Similar presentations
Chapter 11 Analysis of Variance
Advertisements

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
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
Chapter 17 Analysis of Variance
Statistics for Managers Using Microsoft® Excel 5th Edition
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.
Go to Table of ContentTable of Content Analysis of Variance: Randomized Blocks Farrokh Alemi Ph.D. Kashif Haqqi M.D.
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
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Statistics for Business and Economics Chapter 8 Design of Experiments and Analysis of Variance.
QNT 531 Advanced Problems in Statistics and Research Methods
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics, A First Course 4 th Edition.
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 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
CHAPTER 12 Analysis of Variance Tests
Chapter 10 Analysis of Variance.
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance & Post-ANOVA ANALYSIS IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson 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.
ENGR 610 Applied Statistics Fall Week 9
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 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
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.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Analysis of Variance Statistics for Managers Using Microsoft.
INTRODUCTION TO ANALYSIS OF VARIANCE (ANOVA). COURSE CONTENT WHAT IS ANOVA DIFFERENT TYPES OF ANOVA ANOVA THEORY WORKED EXAMPLE IN EXCEL –GENERATING THE.
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
Lecture 9-1 Analysis of Variance
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
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.
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.
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.
Chapter 11 Analysis of Variance
CHAPTER 4 Analysis of Variance (ANOVA)
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Statistics for Managers Using Microsoft Excel 3rd Edition
Two-Way Analysis of Variance Chapter 11.
Factorial Experiments
ANOVA Econ201 HSTS212.
i) Two way ANOVA without replication
Applied Business Statistics, 7th ed. by Ken Black
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Chapter 11 Analysis of Variance
Chapter 9 Analysis of Variance
Chapter 15 Analysis of Variance
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Statistics for Managers Using Microsoft® Excel 5th Edition Chapter 11 Analysis of Variance Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Learning Objectives After completing this chapter, you should be able to: Recognize situations in which to use analysis of variance (ANOVA) Understand different analysis of variance designs Evaluate assumptions of the model Perform a single-factor ANOVA and interpret the results Conduct and interpret a Tukey-Kramer post-analysis to determine which means are different Analyze two-factor analysis of variance tests Conduct and interpret a Tukey-Kramer post-analysis procedure to determine which factors are different Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

General ANOVA Analysis Investigator controls one or more independent variables Called factors or treatment variables One factor contains three or more levels or groups or categories/classifications Other factors contains two or more levels or groups or categories/classifications Experimental design: the plan used to test the hypothesis Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor ANOVA Also known as Completely Randomized Design and One-way ANOVA Experimental units (subjects) are assigned randomly to treatments Subjects are assumed homogeneous Only one factor or independent variable With three or more treatment levels Analyzed by one-factor analysis of variance Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor Analysis of Variance Evaluates the difference among the means of three or more groups Examples: Accident rates for 1st, 2nd, and 3rd shift Expected mileage for five brands of tires Assumptions Populations are normally distributed (test with Box plot or Normal Probability Plot) Populations have equal variances (use Levene’s Test for Homogeneity of Variance) Samples are randomly and independently drawn Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Why Analysis of Variance? We could compare the means in pairs using a t test for difference of means Each t test contains Type 1 error The total Type 1 error with k pairs of means is 1- (1 - a) k If there are 5 means and you use a = .05 Must perform 10 comparisons Type I error is 1 – (.95) 10 = .40 40% of the time you will reject the null hypothesis of equal means in favor of the alternative even when the null is true! Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Hypotheses: One-Factor ANOVA All population means are equal i.e., no treatment effect (no variation in means among groups) At least one population mean is different i.e., there is a treatment (groups) effect Does not mean that all population means are different (at least one of the means is different from the others) Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Hypotheses: One-Factor ANOVA All Means are the same: The Null Hypothesis is True (No Group Effect) Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Hypotheses: One-Factor ANOVA At least one mean is different: The Null Hypothesis is NOT true (Treatment Effect is present) or Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor ANOVA Table Source of Variation df SS MS (Variance) P-value F-Ratio Between Groups c-1 SSA MSA P(X=F) Within Groups n-c SSW MSW Total n-1 SST = SSA+SSW c = number of groups n = sum of the sample sizes from all groups df = degrees of freedom Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor ANOVA Test Statistic H0: μ1= μ2 = … = μc H1: At least two population means are different Test statistic MSA is mean squares among variances MSW is mean squares within variances Degrees of freedom df1 = c – 1 (c = number of groups) df2 = n – c (n = sum of all sample sizes) Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor ANOVA Test Statistic The F statistic is the ratio of the among variance to the within variance The ratio must always be positive df1 = c -1 will typically be small df2 = n - c will typically be large Decision Rule: Reject H0 if F > FU, otherwise do not reject H0  = .05 Do not reject H0 Reject H0 FU Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor ANOVA F Test Example Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 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 driving distance? Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Way ANOVA Example Distance 270 260 250 240 230 220 210 200 190 Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 • • • • • • • • • • • • • • • 1 2 3 Club Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

ANOVA -- Single Factor: Excel Output EXCEL: Tools | Data Analysis | ANOVA: Single Factor SUMMARY Groups Count Sum Average Variance Club 1 5 1246 249.2 108.2 Club 2 1130 226 77.5 Club 3 1029 205.8 94.2 ANOVA Source of Variation SS df MS F P-value F crit Between Groups 4716.4 2 2358.2 25.275 4.99E-05 3.89 Within 1119.6 12 93.3 Total 5836.0 14   Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

One-Factor ANOVA Example Solution H0: μ1 = μ2 = μ3 H1: μi not all equal  = .05 p-value: 4.99E-05 Decision: Conclusion: Reject H0 at  = 0.05 There is evidence that at least one μi differs from the rest Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

The Tukey-Kramer Procedure Tells which population means are significantly different e.g.: μ1 = μ2 ≠ μ3 Done after rejection of equal means in ANOVA Allows pair-wise comparisons Compare absolute mean differences with critical range μ μ μ x = 1 2 3 Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Tukey-Kramer Critical Range where: QU = Value from Studentized Range Distribution with c and n - c degrees of freedom for the desired level of  (see appendix E.9 table) MSW = Mean Square Within nj and nj’ = Sample sizes from groups j and j’ Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

The Tukey-Kramer Procedure: Example 1. PhStat computes the absolute mean differences: Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 2. You find a QU value from the table in appendix E.9 with c = 3 (across the table) and n – c = 15 – 3 = 12 degrees of freedom (down the table) for the desired level of  ( = .05 used here): Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

The Tukey-Kramer Procedure: Example (continued) 3. PhStat computes the Critical Range: 4. Compare: 5. All of the absolute mean differences are greater than critical range. Therefore there is a significant difference between each pair of means at 5% level of significance. PhStat does all the calculations for you but you must input the Q value Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Tukey-Kramer in PHStat Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

ANOVA Assumptions Levene’s Test Tests the assumption that the variances of each group are equal. First, define the null and alternative hypotheses: H0: σ21 = σ22 = …=σ2c H1: Not all σ2j are equal Second, compute the absolute value of the difference between each value and the median of each group. Third, perform a one-way ANOVA on these absolute differences. Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Two-Factor 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? Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Two-Factor ANOVA Assumptions Populations are normally distributed Populations have equal variances Independent random samples are selected Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Two-Factor 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 = rcn/) Xijk = value of the kth observation of level i of factor A and level j of factor B Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Two-Factor ANOVA Summary Table With Replication Source of Variation Degrees of Freedom Sum of Squares Mean Squares F Statistic p-value Sample Factor A (Row) r – 1 SSA MSA = SSA/(r – 1) MSA/ MSE f (FA) Columns Factor B c – 1 SSB MSB = SSB/(c – 1) MSB/ MSE f (FB) Interaction (AB) (r – 1)(c – 1) SSAB MSAB = SSAB/ [(r – 1)(c – 1)] MSAB/ MSE f (FA&B) Within Error rc (n’ – 1) SSE MSE = SSE/[rc (n’ – 1)] Total rc n’ – 1 SST Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Two-Factor ANOVA: The F Test Statistic F Test for Factor A Effect H0: μ1A = μ2A = μ3A = • • • H1: Not all means are equal F Test for Factor B Effect H0: μ1B = μ2B = μ3B = • • • H1: Not all means are equal F Test for Interaction Effect H0: Interaction of A and B is equal to zero H1: Interaction of A and B is not zero Only for Two-Factor with replication Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Two-Factor ANOVA With Replication Box Machine1 Machine2 Machine3 1 25.40 23.40 20.00 26.40 24.40 21.00 2 26.31 21.80 22.20 25.90 23.00 22.00 3 24.10 23.50 19.75 24.40 22.40 19.00 4 23.74 22.75 20.60 25.40 23.40 20.00 5 25.10 21.60 20.40 26.20 22.90 21.90 As production manager, you want to see if 3 filling machines have different mean filling times when used with 5 types of boxes. At the .05 level, is there a difference in machines, in boxes? Is there an interaction? Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Summary Table (Boxes) (Machines) Source of Degrees of Sum of Mean F P-Value Variation Freedom Squares Square Sample 5 - 1 = 4 7.4714 1.8678 3.6868 .0277 (Boxes) Columns 3 - 1 = 2 106.298 53.149 104.908 1.52E-09 (Machines) Interaction (5-1)(3-1) = 8 1.2129 2.3941 .0690 9.7032 Within (Error) 5·3·(2-1)=15 7.5994 .5066 Total 3·5·2 -1 = 29 131.0720 Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

The Tukey-Kramer Procedure: With Replication Factor A No Macro - compute by formula only MSW (Within) from ANOVA Printout Q from Table E.9 in the Book page 860 alpha = .05 or .01 r is the number of levels of factor A (across table) rc(n’-1) (down the table) c is the number of levels of factor B n’ is the number of replications Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

The Tukey-Kramer Procedure: With Replication Factor B No Macro compute by formula only MSW (Within) from ANOVA Printout Q from Table E.9 in the Book page 860 alpha = .05 or .01 c is the number of levels of factor B (across table) rc(n’-1) (down the table) r is the number of levels of factor A n’ is the number of replications Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.

Chapter Summary Described one-factor analysis of variance ANOVA assumptions ANOVA test for difference in c means The Tukey-Kramer procedure for multiple comparisons Described two-factor analysis of variance Examined effects of multiple factors Examined interaction between factors for the model with replicated observations The Tukey-Kramer procedure for multiple comparisons for both factor A and factor B for the model with replication Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.