© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found.

Slides:



Advertisements
Similar presentations
Hypothesis Testing Steps in Hypothesis Testing:
Advertisements

Chapter 12 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.
statistics NONPARAMETRIC TEST
Chapter 10 Two-Sample Tests
© 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.
ANALYSIS OF VARIANCE.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 12 Chi-Square Tests and Nonparametric Tests
Statistics Are Fun! Analysis of Variance
PSY 307 – Statistics for the Behavioral Sciences
Chapter 17 Analysis of Variance
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Statistics for Managers Using Microsoft® Excel 5th Edition
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Basic Business Statistics (9th Edition)
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Chapter 12: Analysis of Variance
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 12-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
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.
INFERENTIAL STATISTICS: Analysis Of Variance ANOVA
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.
NONPARAMETRIC STATISTICS
© 2002 Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft Excel 3 rd Edition Chapter 9 Analysis of Variance.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
ANOVA (Analysis of Variance) by Aziza Munir
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.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Section 9-1: Inference for Slope and Correlation Section 9-3: Confidence and Prediction Intervals Visit the Maths Study Centre.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
PPA 415 – Research Methods in Public Administration Lecture 7 – Analysis of Variance.
Chapter 17 Comparing Multiple Population Means: One-factor ANOVA.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found.
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.
Statistics in Applied Science and Technology Chapter14. Nonparametric Methods.
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
Econ 3790: Business and Economic Statistics Instructor: Yogesh Uppal
CHAPTER 12 ANALYSIS OF VARIANCE Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Statistics for Political Science Levin and Fox Chapter Seven
Copyright © 2016, 2013, 2010 Pearson Education, Inc. Chapter 10, Slide 1 Two-Sample Tests and One-Way ANOVA Chapter 10.
CHAPTER 10 ANOVA - One way ANOVa.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.
DSCI 346 Yamasaki Lecture 4 ANalysis Of Variance.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Chapter 11 Created by Bethany Stubbe and Stephan Kogitz.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Characteristics of F-Distribution
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
CHAPTER 12 ANALYSIS OF VARIANCE
Econ 3790: Business and Economic Statistics
Correlation and Regression
Hypothesis Tests for a Population Mean in Practice
Chapter 9 Hypothesis Testing.
Chapter 11 Analysis of Variance
Chapter 10 – Part II Analysis of Variance
Presentation transcript:

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that.05

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that the means of the number of parts produced per hour using methods: A, B, and C are not all equal..05 not all the means are equal μ 1 = μ 2 = μ 3 A B C

© Buddy Freeman, 2014 # of groups ? Parameter ? Can we make all f e > 5 ? Normal populations ? Hartley’s F max *(not in text) Resample and try again. yes no yes no chi-square df = (R-1)(C-1) pp yes no Kruskal-Wallis *pp way ANOVA pp ANOVA OK ? mean or median proportion variance or standard deviation more than 2 Parameter ? Related Samples ? mean or median proportion variance or standard deviation Normal populations ? yes no Levine-Brown-Forsythe F = S 1 2 /S 2 2 pp Z for proportions pp yes no unequal-variances t-test p pooled-variances t-test pp Wilcoxon Rank Sum *pp no yes Normal populations ? Normal populations ? yes no yes no n 1 > 30 and n 2 > 30 ? Z for means with σ 1 & σ 2 pp yes no σ 1 and σ 2 both known ? no Normal populations ? yes no yes at least interval level data ? yes no Sign Test *pp Wilcoxon Signed-Ranks *pp paired-difference t-test pp chi-square goodness-of-fit test pp. for the Multinomial Experiment and the Normal Distribution Groups and > 2 Groups Flowchart Spearman Rank Correlation test pp yes no n 1 > 30 and n 2 > 30 ? 6 σ 1 = σ 2 ? Levine-Brown-Forsythe Jaggia and Kelly (1 st edition) Default case * means coverage is different from text.

© Buddy Freeman, 2015 ANOVA OK ? There are three major assumptions for doing an Analysis of Variance (ANOVA) Test: 1. Normality: All the populations are normal. 2. Equality of Variances: The variances of all the populations are equal. 3. Independence of Error: The deviation of each value from the mean of the group containing that value should be independent of any other such deviation.

© Buddy Freeman, 2015 For this part of the course you may assume the third one (Independence of Error). Care taken when obtaining the sample results should minimize the possibility of a violation of this assumption. However, when data is collected over a lengthy interval of time, this assumption should be checked. We will discuss this further when we get into regression analysis. You are expected to check the other two assumptions: 1. Normality 2. Equality of Variances

© Buddy Freeman, 2015 This problem has the normality assumption as a given. Later on in the course, we will cover a procedure to test a population to see if it is normally distributed. How do we determine if all the population variances are equal ?

© Buddy Freeman, 2015 We can use the following hypothesis test: H0:H0: H 1 : not all variances are equal

© Buddy Freeman, 2015 If we do not reject the null hypothesis we can perform an ANOVA test to compare the means, but if we do reject the null hypothesis, the ANOVA test is NOT appropriate. If you have one or more of your populations that are definitely NOT normal the ANOVA test is NOT appropriate.

© Buddy Freeman, 2015 The flowchart can be used to determine the test statistic needed to test: H0:H0: H 1 : not all variances are equal

© Buddy Freeman, 2014 # of groups ? Parameter ? Can we make all f e > 5 ? Normal populations ? Hartley’s F max *(not in text) Resample and try again. yes no yes no chi-square df = (R-1)(C-1) pp yes no Kruskal-Wallis *pp way ANOVA pp ANOVA OK ? mean or median proportion variance or standard deviation more than 2 Parameter ? Related Samples ? mean or median proportion variance or standard deviation Normal populations ? yes no Levine-Brown-Forsythe F = S 1 2 /S 2 2 pp Z for proportions pp yes no unequal-variances t-test p pooled-variances t-test pp Wilcoxon Rank Sum *pp no yes Normal populations ? Normal populations ? yes no yes no n 1 > 30 and n 2 > 30 ? Z for means with σ 1 & σ 2 pp yes no σ 1 and σ 2 both known ? no Normal populations ? yes no yes at least interval level data ? yes no Sign Test *pp Wilcoxon Signed-Ranks *pp paired-difference t-test pp chi-square goodness-of-fit test pp. for the Multinomial Experiment and the Normal Distribution Groups and > 2 Groups Flowchart Spearman Rank Correlation test pp yes no n 1 > 30 and n 2 > 30 ? 6 σ 1 = σ 2 ? Levine-Brown-Forsythe Jaggia and Kelly (1 st edition) Default case * means coverage is different from text.

© Buddy Freeman, 2015 H 0 : H 1 : not all the variances are equal α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that that the variances of the number of parts produced per hour using methods: A, B, and C are not all equal..05 A B C

© Buddy Freeman, 2015 H 0 : H 1 : not all the variances are equal α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that that the variances of the number of parts produced per hour using methods: A, B, and C are not all equal..05 A B C More than 2 groups is an upper-tail test.

© Buddy Freeman, 2015 H 0 : H 1 : not all the variances are equal α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that that the variances of the number of parts produced per hour using methods: A, B, and C are not all equal..05 A B C More than 2 groups is an upper-tail test. F max = 5.34 c = number of groups = 3

© Buddy Freeman, 2015 H 0 : H 1 : not all the variances are equal α = Decision Rule: If F max computed < 5.34 then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that that the variances of the number of parts produced per hour using methods: A, B, and C are not all equal..05 A B C More than 2 groups is an upper-tail test. F max = 5.34 c = number of groups = 3

© Buddy Freeman, 2015 Calculation of Variations (and Variances)

© Buddy Freeman, 2015 Method Method Method A B C n  X =  X 2 = 81,882 72,076 67,048 Calculation of Variations (and Variances)

© Buddy Freeman, 2015 Method Method Method A B C n  X =  X 2 = 81,882 72,076 67,048 Calculation of Variations (and Variances)

© Buddy Freeman, 2015 Method Method Method A B C n  X =  X 2 = 81,882 72,076 67,048 Method A: Calculation of Variations (and Variances)

© Buddy Freeman, 2015 Method Method Method A B C n  X =  X 2 = 81,882 72,076 67,048 Method B: Calculation of Variations (and Variances)

© Buddy Freeman, 2015 Method Method Method A B C n  X =  X 2 = 81,882 72,076 67,048 Method C: Calculation of Variations (and Variances)

© Buddy Freeman, 2015 Method Method Method A B C n  X =  X 2 = 81,882 72,076 67,048 SS = 882 1,516 1,438 S 2 = 882/9 1,516/9 1,438/9 Calculation of Variations (and Variances) Largest variance Smallest variance

© Buddy Freeman, 2015 H 0 : H 1 : not all the variances are equal α = Decision Rule: If F max computed < 5.34 then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that that the variances of the number of parts produced per hour using methods: A, B, and C are not all equal..05 A B C More than 2 groups is an upper-tail test. F max = 5.34 c = number of groups = 3 Do not reject H 0 Do not reject H 0. insufficient

© Buddy Freeman, 2015 We have found no evidence of any difference in the variances so the ANOVA test is appropriate to use to test the means. We now resume our interrupted hypothesis test of the means.

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that the means of the number of parts produced per hour using methods: A, B, and C are not all equal..05 not all the means are equal μ 1 = μ 2 = μ 3 A B C where k = # of groups and n T = n 1 + n 2 + … + n k More than 2 groups is an upper-tail test.

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that the means of the number of parts produced per hour using methods: A, B, and C are not all equal..05 not all the means are equal μ 1 = μ 2 = μ 3 A B C where k = # of groups and n T = n 1 + n 2 + … + n k dfd = n T - k = = 27 dfn = k - 1 = = 2 F = More than 2 groups is an upper-tail test.

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If F computed < then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that the means of the number of parts produced per hour using methods: A, B, and C are not all equal..05 not all the means are equal μ 1 = μ 2 = μ 3 A B C where k = # of groups and n T = n 1 + n 2 + … + n k dfd = n T - k = = 27 dfn = k - 1 = = 2 F = More than 2 groups is an upper-tail test.

© Buddy Freeman, 2015 Calculation of the ANOVA test statistic: The Denominator Variance The denominator is the variance within the groups, but remember variance = variation/df. Therefore, (S W ) 2 = SSW/df W. SSW is the variation WITHIN the groups = variation WITHIN group 1 + variation WITHIN group 2 + … + variation WITHIN group k = SS 1 + SS 2 + … + SS k. Here k = 3, so SSW = SS 1 + SS 2 + SS 3 = = df W = df WITHIN group 1 + df WITHIN group 2 + … + df WITHIN group k = (n 1 - 1) + (n 2 - 1) + (n 3 - 1) = (n T - k) = 27.

© Buddy Freeman, 2015 Calculation of the ANOVA test statistic: The Numerator Variance The numerator is the variance between the groups, but remember variance = variation/df. Therefore, (S B ) 2 = SSB/df B. THE CONCEPT Here the group is the ‘entity.’ If you have k groups then you have (k-1) degrees of freedom, so df B = (k-1). Recall that the variation of a sample is defined as: SS =  (X-X) 2. We will expand this concept to groups. The X represents the group, so we will replace X with a value to represent the group, the mean of the group, X. In the sample variation the X represents the mean of all the X values, so we will replace it with the mean of all values in all the groups, X. The catch is that you must remember to multiply each square by the sample size of the group to account all the values of each group appropriately.

© Buddy Freeman, 2015 The definition formula for SSB is given by: The means of each group are: SSB = 10(90-85) (84-85) (81-85) 2 = 420 The next slide shows an alternative way to calculate SSB. Calculating SSB by Definition

© Buddy Freeman, 2015 SSB + SSW = SST, the total variation. Therefore, SSB = SST – SSW = SST – 3,836. To calculate SST, just add a column with the totals. Method Method Method A B C Total n  X = ,550  X 2 = 81,882 72,076 67, ,006 Total: Hence, SSB = SST – SSW = 4,256 – 3,836 = 420. With SSB, SSW, and the dfs, the test statistic may be computed. Alternative Way to Calculate SSB

© Buddy Freeman, 2015 H 0 : H 1 : α = Decision Rule: If F computed < then do not reject H 0, otherwise reject H 0. Test Statistic: Decision: Conclusion: We have found ________________ evidence at the _____ level of significance that the means of the number of parts produced per hour using methods: A, B, and C are not all equal..05 not all the means are equal μ 1 = μ 2 = μ 3 A B C dfd = n T - k = = 27 dfn = k - 1 = = 2 F = More than 2 groups is an upper-tail test. Do not reject H 0 Do not reject H 0. insufficient