Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.

Slides:



Advertisements
Similar presentations
Business and Economics 9th Edition
Advertisements

Chapter 10 Two-Sample Tests
Chapter 8 Estimation: Additional Topics
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 Hypothesis Testing:
Chapter 10 Two-Sample Tests
Pengujian Hipotesis Beda Nilai Tengah Pertemuan 20 Matakuliah: I0134/Metode Statistika Tahun: 2007.
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 8 Two Sample Tests with Numerical Data.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
Chapter Goals After completing this chapter, you should be able to:
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
Chapter Topics Comparing Two Independent Samples:
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Kafla 8 Próf fyrir tvö úrtök (Ekki þýtt)
Chapter 11 Hypothesis Tests and Estimation for Population Variances
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two Sample Tests Statistics for Managers Using Microsoft.
Basic Business Statistics (9th Edition)
Chapter 10, sections 1 and 4 Two-sample Hypothesis Testing Test hypotheses for the difference between two independent population means ( standard deviations.
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
© 2004 Prentice-Hall, Inc.Chap 12-1 Basic Business Statistics (9 th Edition) Chapter 12 Tests for Two or More Samples with Categorical Data.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Hypothesis Testing – Two Samples
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 11-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th & 7 th Lesson Hypothesis Testing for Two Population Parameters.
Chapter 10 Two-Sample Tests and One-Way ANOVA
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 10-1 Chapter 2c Two-Sample Tests.
10-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 10 Two-Sample Tests Statistics for Managers using Microsoft Excel 6 th.
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
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.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Industrial Statistics 2
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.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Hypothesis Tests for One and Two Population Variances.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 10 Hypothesis Testing:
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
Chapter 10 Statistical Inferences Based on Two Samples Statistics for Business (Env) 1.
Chap 10-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 10 Hypothesis Tests for.
Business Statistics: A First Course (3rd Edition)
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.
Comparing Sample Means
Copyright © 2016, 2013, 2010 Pearson Education, Inc. Chapter 10, Slide 1 Two-Sample Tests and One-Way ANOVA Chapter 10.
Comparing Two Proportions. AP Statistics Chap 13-2 Two Population Proportions The point estimate for the difference is p 1 – p 2 Population proportions.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
10-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 10 Two-Sample Tests Statistics for Managers using Microsoft Excel 6 th.
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Statistics for Managers using Microsoft Excel 3rd Edition
Chapter 11 Hypothesis Testing II
Chapter 10 Two Sample Tests
Comparing Two Proportions
Estimation & Hypothesis Testing for Two Population Parameters
Chapter 11 Hypothesis Testing II
Chapter 10 Two-Sample Tests.
Data Mining 2016/2017 Fall MIS 331 Chapter 2 Sampliing Distribution
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Data Mining 2016/2017 Fall MIS 331 Chapter 2 Sampliing Distribution
Chapter 11 Hypothesis Tests and Estimation for Population Variances
Chapter 8 Estimation: Additional Topics
Chapter 10 Hypothesis Tests for One and Two Population Variances
Chapter 10 Two-Sample Tests
Chapter 9 Estimation: Additional Topics
Presentation transcript:

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter 10 Two-Sample Tests

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-2 Learning Objectives In this chapter, you learn how to use hypothesis testing for comparing the difference between:  The means of two independent populations with equal variances  The means of two independent populations with unequal variances  The means of two related populations  The proportions of two independent populations  The variances of two independent populations

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-3 Two-Sample Tests Overview Two Sample Tests Independent Population Means Means, Related Populations Independent Population Variances Group 1 vs. Group 2 Same group before vs. after treatment Variance 1 vs. Variance 2 Examples Independent Population Proportions Proportion 1vs. Proportion 2

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-4 Two-Sample Tests Independent Populations Independent Population Means σ 1 and σ 2 known σ 1 and σ 2 unknown  Different data sources  Independent: Sample selected from one population has no effect on the sample selected from the other population  Use pooled variance t test, or separate-variance t test

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-5 The Process There are two tests to determine if the means of two populations are different. One test assumes the variances of the populations are equal the other is needed if the variances are not equal. Rather than make assumptions about the variances, I prefer to perform an F test for the equality of population variances and use the results to determine which model should be used. Therefore the F test comes first.

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-6 Testing Population Variances  Purpose: To determine if two independent populations have the same variability. H 0 : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2 H 0 : σ 1 2  σ 2 2 H 1 : σ 1 2 < σ 2 2 H 0 : σ 1 2 ≤ σ 2 2 H 1 : σ 1 2 > σ 2 2 Two-tail test Lower-tail testUpper-tail test

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-7 Testing Population Variances The F test statistic is: = Variance of Sample 1 n = numerator degrees of freedom n = denominator degrees of freedom = Variance of Sample 2

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-8 F Test: An Example You are a financial analyst for a brokerage firm. You want to compare dividend yields between stocks listed on the NYSE & NASDAQ. You collect the following data : NYSE NASDAQ Number 2125 Mean Std dev Is there a difference in the variances between the NYSE & NASDAQ at the  = 0.05 level?

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-9 F Test: Example Solution  The test statistic is: H 0 : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2  The p-value is not < alpha, so we do not reject H 0 (continued)  Conclusion: There is not sufficient evidence of a difference in the variances of dividend yield for the two exchanges  p-value=  =.05

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap F test in PhStat  PHStat | Two-Sample Tests | F Test for Differences in Two Variances …

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Hypothesis Tests for Two Population Means Lower tail test: H 0 : μ 1  μ 2 H 1 : μ 1 < μ 2 i.e., H 0 : μ 1 – μ 2  0 H 1 : μ 1 – μ 2 < 0 Upper tail test: H 0 : μ 1 ≤ μ 2 H 1 : μ 1 > μ 2 i.e., H 0 : μ 1 – μ 2 ≤ 0 H 1 : μ 1 – μ 2 > 0 Two-tailed test: H 0 : μ 1 = μ 2 H 1 : μ 1 ≠ μ 2 i.e., H 0 : μ 1 – μ 2 = 0 H 1 : μ 1 – μ 2 ≠ 0 Two Population Means, Independent Samples

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two-Sample Tests for Means Independent Populations Independent Population Means σ 1 and σ 2 known σ 1 and σ 2 unknown Assumptions:  Samples are randomly and independently drawn  Populations are normally distributed  or large sample sizes are used

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Difference Between Two Means Population means, independent samples σ 1 and σ 2 unknown but equal σ 1 and σ 2 unknown but unequal  Use s to estimate unknown σ  Use pooled variance t test where  1 =  2 or  individual variance t test where  1  2 (proven by F test)

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Population means, independent samples σ 1 and σ 2 Unknown but Equal If an F test does not prove the variances to be unequal, we can assume that they are equal and pool them. The pooled standard deviation is (continued) σ 1 and σ 2 unknown but equal

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Population means, independent samples σ 1 and σ 2 Unknown but Equal Where t has (n 1 + n 2 – 2) d.f., and The test statistic for μ 1 = μ 2 is: σ 1 and σ 2 unknown but equal (continued)

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Pooled Variance t 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 Sample mean Sample std dev Is there a difference in the mean dividend yield between the NYSE & NASDAQ (  = 0.05)?

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Solution H 0 : μ 1 = μ 2 H 1 : μ 1 ≠ μ 2  = 0.05 df = = 44 Pooled Test Statistic: p-value: Decision: Conclusion: Reject H 0 at  = 0.05 There is sufficient evidence of a difference in mean dividend yield for the two exchanges. t Reject H F = p =.5888 Do Not Reject σ 1 2 = σ 2 2

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Pooled Variance t Test in PhStat and Excel  If the raw data is available  Tools | Data Analysis | t-Test: Two Sample Assuming Equal Variances  If only summary statistics are available  PHStat | Two-Sample Tests | t Test for Differences in Two Means …

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Independent Populations Unequal Variance  If you cannot assume population variances are equal, the pooled-variance t test is inappropriate  Instead, use a separate-variance t test, which includes the two separate sample variances in the computation of the test statistic  The computations are not in the Text but are as follows:

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap The Unequal-Variance t Test Population means, independent samples σ 1 and σ 2 unknown and unequal

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Unequal Variance t 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 Sample mean Sample std dev Is there a difference in the mean dividend yield between the NYSE & NASDAQ (  = 0.05)?

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Unequal Variance Solution H 0 :  1 =  2 H 1 :  1   2  = 0.05 df = 92 Test Statistics: Decision: Conclusion: Fail to Reject at  = 0.05 There is not sufficient evidence of a difference in mean dividend yields for the two exchanges t Reject H p-value =.1901 t = 1.34 F = p = Reject H O :

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Unequal Variance t Test in PhStat and Excel  If the raw data is available  Tools | Data Analysis | t-Test: Two Sample Assuming Unequal Variances  If only summary statistics are available  Use the Excel spreadsheet downloaded from the Homework web page

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Confidence Intervals Independent Populations Independent Population Means σ 1 and σ 2 known σ 1 and σ 2 unknown The confidence interval for μ 1 – μ 2 is: Where

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two-Sample Tests Related Populations D = X 1 - X 2 Tests Means of 2 Related Populations  Paired or matched samples  Repeated measures (before/after)  Use difference between paired values:  Eliminates Variation Among Subjects  Assumptions:  Both Populations Are Normally Distributed or have large samples

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap If σ D is unknown, we can estimate the unknown population standard deviation with a sample standard deviation. The test statistic for D is now a t statistic, with n-1 d.f.: Paired samples Mean Difference, σ D Unknown (continued)

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap  Assume you send your salespeople to a “customer service” training workshop to reduce complaints. Is the training effective? You collect the following data: Paired Samples Example Number of Complaints: (2) - (1) Salesperson Before (1) After (2) Difference, D i C.B T.F M.H R.K M.O D =  DiDi n = -4.2

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap  Has the training made a difference in the number of complaints (at the 0.05 level)? - 4.2D = H 0 : μ D = 0 H 1 :  μ D  0 Test Statistic: d.f. = n - 1 = 4 Reject  /2 Decision: Do not reject H 0 (p-value is not <.05) Conclusion: There is not sufficient evidence of a change in the number of complaints. Paired Samples: Solution Reject  /  =.01 p-value=.1730

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Related Sample t Test in PhStat and Excel  If the raw data is available  Tools | Data Analysis | t-Test: Paired Two Sample for Means  If only summary statistics are available  No test available

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Population Proportions Goal: Test a hypothesis or form a confidence interval for two independent population proportions, π 1 = π 2 Assumptions: n 1 π 1  5, n 1 (1-π 1 )  5 n 2 π 2  5, n 2 (1-π 2 )  5

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Population Proportions Hypothesis for Population Proportions Lower-tail test: H 0 : π 1  π 2 H 1 : π 1 < π 2 i.e., H 0 : π 1 – π 2  0 H 1 : π 1 – π 2 < 0 Upper-tail test: H 0 : π 1 ≤ π 2 H 1 : π 1 > π 2 i.e., H 0 : π 1 – π 2 ≤ 0 H 1 : π 1 – π 2 > 0 Two-tail test: H 0 : π 1 = π 2 H 1 : π 1 ≠ π 2 i.e., H 0 : π 1 – π 2 = 0 H 1 : π 1 – π 2 ≠ 0

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Population Proportions Since you begin by assuming the null hypothesis is true, you assume π 1 = π 2 and pool the two sample (p) estimates. The pooled estimate for the overall proportion is: where X 1 and X 2 are the number of successes in samples 1 and 2

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Population Proportions The test statistic for π 1 =  2 is a Z statistic: where

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Example: Two population Proportions Is there a significant difference between the proportion of men and the proportion of women who will vote Yes on Proposition A?  In a random sample, 36 of 72 men and 31 of 50 women indicated they would vote Yes  Test for a significant difference at the.05 level of significance

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Check the Assumptions The sample proportions are:  Men: p s1 = 36/72 =.50  Women: p s2 = 31/50 =.62 Assumptions Men np=72(.5)=36 n(1-p)=72(.5)=36 Women np=50(.62)=31 n(1-p)50(.38)=19 All values > 5

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Independent Population Proportions: Example  H 0 : π 1 = π 2 (the two proportions are equal)  H 1 : π 1  π 2  The sample proportions are:  Men: p 1 = 36/72 =.50  Women: p 2 = 31/50 =.62  The pooled estimate for the overall proportion is:

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Independent Population Proportions: Example The test statistic for π 1 = π 2 is: P-value for is.1902 At  = Decision: Do not reject H 0 There is not sufficient evidence of a difference in the proportions of men and women who will vote yes on Proposition A. Reject H 0

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Confidence Interval - Two Independent Population Proportions The confidence interval for π 1 – π 2 is:

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Two Sample Tests in PHStat

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Sample PHStat Output Input Output

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Sample PHStat Output Input Output (continued)

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Chapter Summary In this chapter, we have  Compared two independent samples  Performed pooled variance t test for the differences in two means  Examined unequal variance t test for the differences in two means  Formed confidence intervals for the differences between two means  Compared two related samples (paired samples)  Performed paired sample t test for the mean difference  Formed confidence intervals for the paired difference

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap Chapter Summary  Compared two population proportions  Performed Z-test for equality of two population proportions  Formed confidence intervals for the difference between two population proportions  Performed F tests for the difference between two population variances In this chapter, we have