12 - 1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Slides:



Advertisements
Similar presentations
Analysis of Variance Chapter 12 McGraw-Hill/Irwin
Advertisements

Analysis of Variance Chapter 12 . McGraw-Hill/Irwin
Chapter 11 Analysis of Variance
Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
1 1 Slide © 2009, Econ-2030 Applied Statistics-Dr Tadesse Chapter 10: Comparisons Involving Means n Introduction to Analysis of Variance n Analysis of.
Copyright ©2011 Brooks/Cole, Cengage Learning Analysis of Variance Chapter 16 1.
Statistics Are Fun! Analysis of Variance
Chapter 12b Testing for significance—the t-test Developing confidence intervals for estimates of β 1. Testing for significance—the f-test Using Excel’s.
Chapter 17 Analysis of Variance
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.
Ka-fu Wong © 2004 ECON1003: Analysis of Economic Data Lesson10-1 Lesson 10: Analysis of Variance.
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 © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Analysis of Variance or ANOVA. In ANOVA, we are interested in comparing the means of different populations (usually more than 2 populations). Since this.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
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 Analysis of Variance Chapter 13 BA 303.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
One-Factor Analysis of Variance A method to compare two or more (normal) population means.
Chapter 10 Analysis of Variance.
Basic concept Measures of central tendency Measures of central tendency Measures of dispersion & variability.
Business Statistics: Contemporary Decision Making, 3e, by Black. © 2001 South-Western/Thomson Learning 11-1 Business Statistics, 3e by Ken Black Chapter.
1 Chapter 13 Analysis of Variance. 2 Chapter Outline  An introduction to experimental design and analysis of variance  Analysis of Variance and the.
Copyright © 2004 Pearson Education, Inc.
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 =
Analysis of Variance Chapter 12 McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 4 Analysis of Variance
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
McGraw-Hill, Bluman, 7th ed., Chapter 12
CHAPTER 12 ANALYSIS OF VARIANCE Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
1 Math 10 M Geraghty Part 8 Chi-square and ANOVA tests © Maurice Geraghty 2015.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Analysis of Variance Chapter 12.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Copyright © 2016, 2013, 2010 Pearson Education, Inc. Chapter 10, Slide 1 Two-Sample Tests and One-Way ANOVA Chapter 10.
1/54 Statistics Analysis of Variance. 2/54 Statistics in practice Introduction to Analysis of Variance Analysis of Variance: Testing for the Equality.
Analysis of Variance. The F Distribution Uses of the F Distribution – test whether two samples are from populations having equal variances – to compare.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Analysis of Variance Chapter 12 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 11 Created by Bethany Stubbe and Stephan Kogitz.
Analysis of Variance . Chapter 12.
Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
Characteristics of F-Distribution
Applied Business Statistics, 7th ed. by Ken Black
Statistics Analysis of Variance.
Analysis of Variance Chapter 12 . McGraw-Hill/Irwin
Inferential Statistics and Probability a Holistic Approach
Statistics for Business and Economics (13e)
Econ 3790: Business and Economic Statistics
Chapter 11 Analysis of Variance
Analysis of Variance.
Chapter 10 – Part II Analysis of Variance
Quantitative Methods ANOVA.
Week ANOVA Four.
Analysis of Variance Chapter 12.
Presentation transcript:

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. 1. Discuss the general idea of analysis of variance. 2. List the characteristics of the F distribution. When you have completed this chapter, you will be able to: Organize data into a one-way and a two-way ANOVA table. 3. Conduct a test of hypothesis to determine whether the variances of two populations are equal. 4.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. 5. Define the terms treatments and blocks. 6. Conduct a test of hypothesis to determine whether three or more treatment means are equal. 7. Develop multiple tests for difference between each pair of treatment means.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Characteristics of the F-Distribution There is a “family of F-Distributions: Each member of the family is determined by two parameters: …the numerator degrees of freedom, and the … denominator degrees of freedom F can not be negative, and it is a continuous distribution The F distribution is positively skewed Its values range from 0 to  as F  , the curve approaches the X-axis

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Test for Equal Variances For the two tailed test, the test statistic is given by: The null hypothesis is rejected if the computed value of the test statistic is greater than the critical value and are the sample variances for the two samples 2 1 s 2 2 s

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Colin, a stockbroker at Critical Securities, reported that the mean rate of return on a sample of 10 internet stocks was 12.6 percent with a standard deviation of 3.9 percent. The mean rate of return on a sample of 8 utility stocks was 10.9 percent with a standard deviation of 3.5 percent. At the.05 significance level, can Colin conclude that there is more variation in the internet stocks?

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Do not reject H 0 Reject H 0 and accept H 1 State the null and alternate hypotheses Step 1 Select the level of significance Step 2 Identify the test statistic Step 3 State the decision rule Step 4 Step 5 Hypothesis Testing Compute the value of the test statistic and make a decision

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Hypothesis Test State the null and alternate hypotheses Step 1 Select the level of significance Step 2 Identify the test statistic Step 3 State the decision rule Step 4  = 0.05 The test statistic is the F distribution State the decision rule Step 4 Compute the test statistic and make a decision Step 5 Reject H 0 if F > 3.68 The df are 9 in the numerator and 7 in the denominator. Do not reject the null hypothesis; there is insufficient evidence to show more variation in the internet stocks. = F s s   2 2 )5.3( )9.3( 22 0 : U I H  U 22 1 : I H 

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. This this technique is called analysis of variance or ANOVA The F distribution is also used for testing whether two or more sample means came from the same or equal populations ANOVA

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. …the populations have equal standard deviations …the samples are randomly selected and are independent …the sampled populations follow the normal distribution ANOVA requires the following conditions…

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. The Null Hypothesis (H 0 ) is that the population means are the same The Alternative Hypothesis (H 1 ) is that at least one of the means is different ANOVA Procedure The Test Statistic is the F distribution The Decision rule is to reject H 0 if F (computed) is greater than F (table) with numerator and denominator df

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. T erminology Total Variation …is the sum of the squared differences between each observation and the overall mean Random Variation …is the sum of the squared differences between each observation and its treatment mean Treatment Variation …is the sum of the squared differences between each treatment mean and the overall mean

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SSE SST F   kn    k  1  If there are a total of n observations the denominator degrees of freedom is n - k  The test statistic is computed by:  If there k populations being sampled, the numerator degrees of freedom is k – 1

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SS Total is the total sum of squares n X X 2 2 )( TotalSS  

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SST is the treatment sum of squares  n X n T SST c c 2 2            T C is the column total, n c is the number of observations in each column,  X the sum of all the observations, and n the total number of observations

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SSE is the sum of squares error SST - totalSS SSE 

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Easy Meals Restaurants specialize in meals for senior citizens. Katy Smith, President, recently developed a new meat loaf dinner. Before making it a part of the regular menu she decides to test it in several of her restaurants. She would like to know if there is a difference in the mean number of dinners sold per day at the Aynor, Loris, and Lander restaurants. Use the.05 significance level.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Aynor Loris Lander T c n c T c n c …continued

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. …continued SS Total (is the total sum of squares) = = )( TotalSS 2 2     n X X (182) 2

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. …continued  n X n T SST c c 2 2            SST is the treatment sum of squares  = )182(          

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SSE is the sum of squares error …continued SSE = SS Total - SST 86 – = 9.75

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Hypothesis Test State the null and alternate hypotheses Step 1 Select the level of significance Step 2 Identify the test statistic Step 3 State the decision rule Step 4  = 0.05 The test statistic is the F distribution State the decision rule Step 4 Compute the test statistic and make a decision Step 5 Reject H 0 if F > 4.10 The df are 2 in the numerator and 10 in the denominator. = :H 0 :H 1  2  == 3  Treatment means are not all equal SSE SST F   kn    k   76.25

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.  The decision is to reject the null hypothesis  The treatment means are not the same  The mean number of meals sold at the three locations is not the same …continued

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Analysis of Variance Source DF SS MS F P Factor Error Total Individual 95% CIs For Mean Based on Pooled St.Dev Level N Mean St.Dev Aynor (---*---) Loris (---*---) Lander (---*---) Pooled St.Dev = ANOVA Table …from the Minitab system

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Analysis of Variance in Excel

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. See Using Click on DATA ANALYSIS See… Click on Tools

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Highlight ANOVA: SINGLE FACTOR …Click OK Using See… See

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Using INPUT NEEDS A1:C6 See Click on OK See… Input the sample data in Columns A, B, C.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Using SS Total SST SSE F test

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Inferences About Treatment Means

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. When we reject the null hypothesis that the means are equal, we may want to know which treatment means differ One of the simplest procedures is through the use of confidence intervals Inferences About Treatment Means Confidence Interval

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Confidence Interval for the Difference Between Two Means where t is obtained from the t table with degrees of freedom (n - k). MSE = [ SSE/(n - k) ] where t is obtained from the t table with degrees of freedom (n - k). MSE = [ SSE/(n - k) ]  XX 12  t  MSE nn       

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Develop a 95% confidence interval for the difference in the mean number of meat loaf dinners sold in Lander and Aynor. Can Katy conclude that there is a difference between the two restaurants? Confidence Interval for the Difference Between Two Means

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. MSE  XX 12  t  nn        ( )          ( 2.77,5.73) Confidence Interval for the Difference Between Two Means

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.  Because zero is not in the interval, we conclude that this pair of means differs  The mean number of meals sold in Aynor is different from Lander Confidence Interval for the Difference Between Two Means …continued

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. For the two-factor ANOVA we test whether there is a significant difference between the treatment effect and whether there is a difference in the blocking effect! …Let B r be the block totals ( r for rows) …Let SSB represent the sum of squares for the blocks ANOVA SSB B k X n r           2 2 ( )

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. The Bieber Manufacturing Co. operates 24 hours a day, five days a week. The workers rotate shifts each week. Todd Bieber, the owner, is interested in whether there is a difference in the number of units produced when the employees work on various shifts. A sample of five workers is selected and their output recorded on each shift. At the.05 significance level, can we conclude there is a difference in the mean production by shift and in the mean production by employee? ANOVA

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. ANOVA EmployeeDay Output Evening Output Night Output McCartney Neary Schoen Thompson Wagner …continued

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Hypothesis Test State the null and alternate hypotheses Step 1 Select the level of significance Step 2 Identify the test statistic Step 3 State the decision rule Step 4  = 0.05 The test statistic is the F distribution State the decision rule Step 4 Compute the test statistic and make a decision Step 5 Reject H 0 if F > The df are 2 and 8 1 :H 0 :H 1  2  == 3  Not all means are equal    ) 1 )( 1 ( 1   bkSSE kSST F Difference between various shifts?

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Compute the various sum of squares: SS(total) = SST = SSB = SSE = df(block) = 4, df(treatment) = 2 df(error)=8 ANOVA …continued Using to get these results Using to get these results

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Since > 4.46, H 0 is rejected.      ANOVA …continued Step 5 There is a difference in the mean number of units produced on the different shifts.    ) 1 )( 1 ( 1   bkSSE kSST F = 5.754

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Hypothesis Test State the null and alternate hypotheses Step 1 Select the level of significance Step 2 Identify the test statistic Step 3 State the decision rule Step 4  = 0.05 The test statistic is the F distribution State the decision rule Step 4 Compute the test statistic and make a decision Step 5 1 :H 0 :H 1  2  == 3  Not all means are equal    ) 1 )( 1 ( 1   bkSSE kSST F Difference between various shifts? Reject H 0 if F > 3.84 The df are 4 and 8

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. ANOVA …continued Step 5    ) 1 )( 1 ( 1   bkSSE kSST F Since 1.55 < 3.84, H 0 is not rejected. = 1.55   There is no significant difference in the mean number of units produced by the various employees.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Units versus Worker, Shift Analysis of Variance for Units Source DF SS MS F P Worker Shift Error Total Units versus Worker, Shift Analysis of Variance for Units Source DF SS MS F P Worker Shift Error Total …from the Minitab system ANOVA

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Using See… Highlight ANOVA: TWO FACTOR WITHOUT REPLICATION …Click OK Select INPUT DATA

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SS Total SST SSE SSB Ftest Fcritical Using Since F(test) < F(critical), there is not sufficient evidence to reject H 0 There is no significant difference in the average number of units produced by the different employees.

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Test your learning … Click on… Online Learning Centre for quizzes extra content data sets searchable glossary access to Statistics Canada’s E-Stat data …and much more!

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. This completes Chapter 12