12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 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 14, part D Statistical Significance. IV. Model Assumptions The error term is a normally distributed random variable and The variance of  is constant.
ANOVA: Analysis of Variation
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Variance Chapter 16.
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
Anthony J Greene1 ANOVA: Analysis of Variance 1-way ANOVA.
Ka-fu Wong © 2004 ECON1003: Analysis of Economic Data Lesson10-1 Lesson 10: Analysis of Variance.
Chapter 12: Analysis of Variance
F-Test ( ANOVA ) & Two-Way ANOVA
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.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
1 1 Slide Analysis of Variance Chapter 13 BA 303.
Analysis of Variance Chapter 12 Introduction Analysis of variance compares two or more populations of interval data. Specifically, we are interested.
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.
Analysis of Variance ST 511 Introduction n Analysis of variance compares two or more populations of quantitative data. n Specifically, we are interested.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Experimental Design and Analysis of Variance Chapter 10.
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.
Copyright © 2004 Pearson Education, Inc.
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.
© Copyright McGraw-Hill 2000
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.
Chapter 4 Analysis of Variance
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.
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 © 2016, 2013, 2010 Pearson Education, Inc. Chapter 10, Slide 1 Two-Sample Tests and One-Way ANOVA Chapter 10.
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 + 
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.
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.
1/54 Statistics Analysis of Variance. 2/54 Statistics in practice Introduction to Analysis of Variance Analysis of Variance: Testing for the Equality.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
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.
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Characteristics of F-Distribution
i) Two way ANOVA without replication
Comparing Three or More Means
Statistics Analysis of Variance.
Inferential Statistics and Probability a Holistic Approach
Statistics for Business and Economics (13e)
Econ 3790: Business and Economic Statistics
Chapter 11 Analysis of Variance
Inferential Statistics and Probability a Holistic Approach
Analysis of Variance.
Chapter 10 – Part II Analysis of Variance
Quantitative Methods ANOVA.
Week ANOVA Four.
Analysis of Variance Chapter 12.
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

12-1 Chapter Twelve McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.

12-2 Chapter Twelve Analysis of Variance ONE List the characteristics of the F distribution. TWO Conduct a test of hypothesis to determine whether the variances of two populations are equal. THREE Discuss the general idea of analysis of variance. Goals GOALS When you have completed this chapter, you will be able to:

12-3 Chapter Twelve continued Analysis of Variance GOALS When you have completed this chapter, you will be able to: FOUR Organize data into a one-way and a two-way ANOVA table. FIVE Conduct a test of hypothesis among three or more treatment means. SIX Develop confidence intervals for the difference between treatment means. Goals

12-4 Characteristics of F-Distribution Its values range from 0 to . As F   the curve approaches the X- axis but never touches it. 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 cannot be negative, and it is a continuous distribution. The F distribution is positively skewed.

12-5 and are the sample variances for the two samples. The larger s is placed in the numerator. Test for Equal Variances of Two Populations For the two tail test, the test statistic is given by Test for Equal Variances of Two Populations The degrees of freedom are n 1 -1 for the numerator and n 2 -1 for the denominator. The null hypothesis is rejected if the computed value of the test statistic is greater than the critical value.

12-6 Example 1 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? 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.

12-7 Example 1 continued Step 3: The test statistic is the F distribution. Step 1: The hypotheses are Step 2: The significance level is.05.

12-8 Example 1 continued Step 5: The value of F is computed as follows. The p(F>1.2416) is H 0 is not rejected. There is insufficient evidence to show more variation in the internet stocks. Step 4: H 0 is rejected if F>3.68 or if p <.05. The degrees of freedom are n 1 -1 or 9 in the numerator and n 1 -1 or 7 in the denominator. Use Excel to get p-value =FDIST(1.2416,9,7) =

12-9 The ANOVA Test of Means The null and alternate hypotheses for four sample means is given as: H o :  1 =  2 =  3 =  4 H 1 :  1 =  2 =  3 =  4 The ANOVA Test of Means The F distribution is also used for testing whether two or more sample means came from the same or equal populations. This technique is called analysis of variance or ANOVA

12-10 The populations have equal standard deviations. ANOVA requires the following conditions Underlying assumptions for ANOVA The sampled populations follow the normal distribution. The samples are independent

12-11 F =F = Estimate of the population variance based on the differences among the sample means Estimate of the population variance based on the variation within the samples ANOVA Test of Means Degrees of freedom for the F statistic in ANOVA If there are k populations being sampled, the numerator degrees of freedom is k – 1 If there are a total of n observations the denominator degrees of freedom is n – k.

12-12 In the following table, c stands for c th treatment group x G is the overall or grand mean k is the number of treatment groups ANOVA Test of Means Total Variation Treatment Variation Random Variation ANOVA divides the Total Variation into the variation due to the treatment, Treatment Variation, and to the error component, Random Variation.

12-13 ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Square F Treatments (c) SST  (X c -X G ) 2 k-1SST/(k-1) =MSTMST MSE ErrorSSE  (X-X c ) 2 n-kSSE/(n-k) =MSE TotalTSS  (X-X G ) 2 n-1 Anova Table Treatment variation Random variation Total variation

12-14 Rosenbaum Restaurants specialize in meals for families. Katy Polsby, 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. Example 2 She would like to know if there is a difference in the mean number of dinners sold per day at the Anyor, Loris, and Lander restaurants. Use the.05 significance level.

12-15 Number of Dinners Sold by Restaurant Restaurant Day AynorLorisLander Day 1 Day 2 Day 3 Day 4 Day Example 2 continued

12-16 Step One: State the null hypothesis and the alternate hypothesis. H o :  Aynor =  Loris =  Landis H 1 :  Aynor =  Loris =  Landis Step Two: Select the level of significance. This is given in the problem statement as.05. Step Three: Determine the test statistic. The test statistic follows the F distribution. Example 2 continued

12-17 Step Five: Select the sample, perform the calculations, and make a decision. Step Four: Formulate the decision rule. The numerator degrees of freedom, k-1, equal 3-1 or 2. The denominator degrees of freedom, n-k, equal 13-3 or 10. The value of F at 2 and 10 degrees of freedom is Thus, H 0 is rejected if F > 4.10 or p <  of.05. Example 2 continued Using the data provided, the ANOVA calculations follow.

12-18 Anyor #sold SS(Anyor)Loris #sold SS(Loris)Lander #sold SS(Lander) ( ) 2 ( ) 2 ( ) 2 ( ) ( ) 2 ( ) 2 ( ) 2 ( ) (18-17) 2 (16-17) 2 (17-17) 2 2 XkXk SSE: = 9.75 X G : Computation of SSE i k  (X i.k -X k ) 2

12-19 Anyor #sold TSS(Anyor)Loris #sold TSS(Loris)Lander #sold TSS(Lander) (13-14) 2 (12-14) 2 (14-14) 2 (12-14) (10-14) 2 (12-14) 2 (13-14) 2 (11-14) (18-14) 2 (16-14) 2 (17-14) 2 47 TSS: = SSE: 9.75 X G : Computation of TSS  (X-X G ) 2 Example 2 continued Computation of TSS

12-20 Computation of SST  n(X-X G ) 2 RestaurantXTXT SST Anyor Loris Lander ( ) 2 4( ) 2 5( ) Shortcut: SST = TSS – SSE = 86 – 9.75 = Example 2 continued Computation of SST

12-21 ANOVA Table Source of Variation Sum of Squares Degrees of Freedom Mean Square F Treatments = /2 = = Error = /10 =.975 Total =12 Example 2 continued

12-22 Example 2 continued The ANOVA tables on the next two slides are from Minitab and MS Excel. The p(F> ) is The mean number of meals sold at the three locations is not the same. Since an F of > the critical F of 4.10, the p of <.05, the decision is to reject the null hypothesis and conclude that: At least two of the treatment means are not the same.

12-23 Example 2 continued Analysis of Variance Source DF SS MS F P Factor Error Total Individual 95% CIs For Mean Based on Pooled StDev Level N Mean StDev Aynor (---*---) Loris (---*---) Lander (---*---) Pooled StDev =

12-24 Example 2 continued

12-25 One factor ANOVA MeannStd. Dev Aynor Loris Lander Total ANOVA table SourceSS dfMSF p-value Treatment E-05 Error Total MegaStat Output

12-26 Inferences About Treatment Means One of the simplest procedures is through the use of confidence intervals around the difference in treatment means. When I reject the null hypothesis (the means are equal), I want to know which treatment means differ.

12-27 Confidence Interval for the Difference Between Two Means If the confidence interval around the difference in treatment means includes zero, there is not a difference between the treatment means. t is obtained from the t table with degrees of freedom (n - k). MSE = [SSE/(n - k)]

12-28 EXAMPLE 3 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?

12-29 Example 3continued The mean number of meals sold in Aynor is different from Lander. Because zero is not in the interval, we conclude that this pair of means differs.

12-30 Post hoc analysis p-values for pairwise t-tests LorisAynorLander Loris11.5 Aynor Lander E Tukey simultaneous comparison t-values (d.f. = 10) LorisAynorLander Loris11.5 Aynor Lander critical values for experimentwise error rate: MegaStat Output