Download presentation
Presentation is loading. Please wait.
Published byJune Hodge Modified over 9 years ago
1
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 Course 6 th Edition
2
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-2 Learning Objectives In this chapter, you learn hypothesis testing procedures to test: The means of two independent populations The proportions of two independent populations The means of more than two populations
3
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-3 Chapter Overview One-Way Analysis of Variance (ANOVA) F-test Tukey-Kramer test Two-Sample Tests Population Means, Independent Samples Population Proportions
4
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-4 Tests For Equal Means Two-Sample Tests Categorical Variable has 2 categories If you conclude H 1, be sure to report sample means so that reader will know the direction of difference H 1 : Not all means are equal If you conclude H 1, be sure to carry out the Tukey-Kramer test to let readers know which means are significantly bigger or smaller C-Sample Tests Categorical Variable has c categories P-value from Tools - Data Analysis - ANOVA Single Factor Assuming normality and equal variability
5
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-5 Independent Samples Population means, independent samples Different data sources Unrelated Independent Sample selected from one population has no effect on the sample selected from the other population Use the difference between 2 sample means Use Single-Factor ANOVA to obtain p-value * σ 1 and σ 2 known σ 1 and σ 2 unknown, assumed equal
6
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-6 Population means, independent samples σ 1 and σ 2 Unknown, Assumed Equal Assumptions: Samples are randomly and independently drawn Populations are normally distributed or both sample sizes are at least 30 Population variances are unknown but assumed equal * σ 1 and σ 2 unknown, assumed equal
7
Types of t Test Separate variance t Test If SD 1 > 2 * SD 2 F test for equality of two variances Pooled Variance t Test Paired t test Repeated measures Paired together according to some characteristic Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-7
8
F Test for equality of two variances H 0 : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2 The data set contains 480 ceramic strength measurements for two batches of material. No of observation – 240 SD1 = 65.54 SD2 = 61.85 Do two samples come from populations with equal variances? Does a new process, treatment, or test reduce the variability of the current process? Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-8
9
Purpose of two sample t Test Is process 1 equivalent to process 2? Is the new process better than the current process? Is the new process better than the current process by at least some pre-determined threshold amount? Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-9
10
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-10 Single Factor ANOVA Test: Example You are a financial analyst for a brokerage firm. Is there a difference in dividend yield between stocks listed on the NYSE & NASDAQ? You collect the following data: NYSE NASDAQ Number 21 25 Sample mean 3.27 2.53 Sample std dev 1.30 1.16 Assuming both populations are approximately normal with equal variances, is there a difference in average yield ( = 0.05)?
11
Z test for difference between two proportions Sample Space Hotel Waikiki West Waikiki EastTotals Choose Again?Yes163154317 No64108172 Totals227262489 Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-11 H 0 : P 1 = P 2 H 1 : P 1 ≠ P 2
12
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-12 Single Factor Analysis of Variance Analysis of Variance (ANOVA) F-test Tukey-Kramer test
13
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-13 One-Way Analysis of Variance Evaluate the difference among the means of two or more groups Examples: Accident rates for 1 st, 2 nd, and 3 rd shift Expected mileage for five brands of tires Assumptions Populations are normally distributed Populations have equal variances Samples are randomly and independently drawn
14
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-14 Hypotheses of One-Way 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 effect Does not mean that all population means are different (some pairs may be the same)
15
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-15 One-Way ANOVA All Means are the same: The Null Hypothesis is True (No Treatment Effect)
16
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-16 One-Way ANOVA At least one mean is different: The Null Hypothesis is NOT true or (continued)
17
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-17 One-Way ANOVA F Test Example 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 0.05 significance level, is there a difference in mean distance? Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204
18
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-18 One-Way ANOVA Example: Scatter Diagram 270 260 250 240 230 220 210 200 190 Distance Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 Club 1 2 3
19
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-19 SUMMARY GroupsCountSumAverageVariance Club 151246249.2108.2 Club 25113022677.5 Club 351029205.894.2 ANOVA Source of Variation SSdfMSFP-valueF crit Between Groups 4716.422358.225.2754.99E-053.89 Within Groups 1119.61293.3 Total5836.014 One-Way ANOVA Excel Output EXCEL: tools | data analysis | ANOVA: single factor
20
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-20 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
21
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-21 Tukey-Kramer Critical Range where: Q U = Value from Studentized Range Distribution with c and n - c degrees of freedom for the desired level of (see appendix E.8 table) MSW = Mean Square Within n j and n j’ = Sample sizes from groups j and j’
22
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-22 The Tukey-Kramer Procedure: Example 1. Compute 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. Find the Q U value from the table in appendix E.6 with c = 3 (numerator) and (n – c) = (15 – 3) = 12 (denominator) degrees of freedom for the desired level of ( = 0.05 used here):
23
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-23 The Tukey-Kramer Procedure: Example 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. Thus, with 95% confidence we can conclude that the mean distance for club 1 is greater than club 2 and 3, and club 2 is greater than club 3. 3. Compute Critical Range: 4. Compare: (continued)
24
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 10-24 Chapter Summary Described single factor analysis of variance The logic of ANOVA ANOVA assumptions F test for difference in c means The Tukey-Kramer procedure for multiple comparisons
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.