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.

Slides:



Advertisements
Similar presentations
Business and Economics 9th Edition
Advertisements

Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
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.
Statistics for Business and Economics Chapter 7 Inferences Based on Two Samples: Confidence Intervals & Tests of Hypotheses.
© 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.
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.
Hypothesis Testing :The Difference between two population mean :
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.
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
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 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.
8-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
Chapter 9 Estimation: Additional Topics
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
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.
Statistics for Business and Economics
Data Mining 2016/2017 Fall MIS 331 Chapter 2 Sampliing Distribution
Chapter 11 Hypothesis Tests and Estimation for Population Variances
Chapter 10 Hypothesis Tests for One and Two Population Variances
Chapter 10 Two-Sample Tests
Chapter 9 Estimation: Additional Topics
Presentation transcript:

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 Group 2 Same group before vs. after treatment Variance 1 vs. Variance 2 Examples: Population Proportions Proportion 1 vs. Proportion 2

Chap 9-3 Difference Between Two Means Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 unknown Goal: Test hypotheses or form a confidence interval for the difference between two population means, μ 1 – μ 2 The point estimate for the difference is X 1 – X 2 *

Chap 9-4 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 Z test or pooled variance t test * σ 1 and σ 2 known σ 1 and σ 2 unknown

Chap 9-5 Difference Between Two Means Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 unknown * Use a Z test statistic Use S to estimate unknown σ, use a t test statistic and pooled standard deviation

Chap 9-6 Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 Known Assumptions:  Samples are randomly and independently drawn  population distributions are normal or both sample sizes are  30  Population standard deviations are known * σ 1 and σ 2 unknown

Chap 9-7 Population means, independent samples σ 1 and σ 2 known …and the standard error of X 1 – X 2 is When σ 1 and σ 2 are known and both populations are normal or both sample sizes are at least 30, the test statistic is a Z-value… (continued) σ 1 and σ 2 Known * σ 1 and σ 2 unknown

Chap 9-8 Population means, independent samples σ 1 and σ 2 known The test statistic for μ 1 – μ 2 is: σ 1 and σ 2 Known * σ 1 and σ 2 unknown (continued)

Chap 9-9 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-tail 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

Chap 9-10 Two Population Means, Independent Samples Lower-tail test: H 0 : μ 1 – μ 2  0 H 1 : μ 1 – μ 2 < 0 Upper-tail test: H 0 : μ 1 – μ 2 ≤ 0 H 1 : μ 1 – μ 2 > 0 Two-tail test: H 0 : μ 1 – μ 2 = 0 H 1 : μ 1 – μ 2 ≠ 0  /2  -z  -z  /2 zz z  /2 Reject H 0 if Z < -Z  Reject H 0 if Z > Z  Reject H 0 if Z < -Z  /2  or Z > Z  /2 Hypothesis tests for μ 1 – μ 2

Chap 9-11 Population means, independent samples σ 1 and σ 2 known The confidence interval for μ 1 – μ 2 is: Confidence Interval, σ 1 and σ 2 Known * σ 1 and σ 2 unknown

Chap 9-12 Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 Unknown 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

Chap 9-13 Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 Unknown (continued) * σ 1 and σ 2 unknown Forming interval estimates:  The population variances are assumed equal, so use the two sample standard deviations and pool them to estimate σ  the test statistic is a t value with (n 1 + n 2 – 2) degrees of freedom

Chap 9-14 Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 Unknown The pooled standard deviation is (continued) * σ 1 and σ 2 unknown

Chap 9-15 Population means, independent samples σ 1 and σ 2 known σ 1 and σ 2 Unknown Where t has (n 1 + n 2 – 2) d.f., and The test statistic for μ 1 – μ 2 is: * σ 1 and σ 2 unknown (continued)

Chap 9-16 Population means, independent samples σ 1 and σ 2 known The confidence interval for μ 1 – μ 2 is: Where * σ 1 and σ 2 unknown Confidence Interval, σ 1 and σ 2 Unknown

Chap 9-17 Pooled S p 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 Assuming both populations are approximately normal with equal variances, is there a difference in average yield (  = 0.05)?

Chap 9-18 Calculating the Test Statistic The test statistic is:

Chap 9-19 Solution H 0 : μ 1 - μ 2 = 0 i.e. (μ 1 = μ 2 ) H 1 : μ 1 - μ 2 ≠ 0 i.e. (μ 1 ≠ μ 2 )  = 0.05 df = = 44 Critical Values: t = ± Test Statistic: Decision: Conclusion: Reject H 0 at  = 0.05 There is evidence of a difference in means. t Reject H

Chap 9-20 Related Samples 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, if Not Normal, use large samples Related samples D = X 1 - X 2

Chap 9-21 Mean Difference, σ D Known The i th paired difference is D i, where Related samples D i = X 1i - X 2i The point estimate for the population mean paired difference is D : Suppose the population standard deviation of the difference scores, σ D, is known n is the number of pairs in the paired sample

Chap 9-22 The test statistic for the mean difference is a Z value: Paired samples Mean Difference, σ D Known (continued) Where μ D = hypothesized mean difference σ D = population standard dev. of differences n = the sample size (number of pairs)

Chap 9-23 Confidence Interval, σ D Known The confidence interval for D is Paired samples Where n = the sample size (number of pairs in the paired sample)

Chap 9-24 If σ D is unknown, we can estimate the unknown population standard deviation with a sample standard deviation: Related samples The sample standard deviation is Mean Difference, σ D Unknown

Chap 9-25 The test statistic for D is now a t statistic, with n-1 d.f.: Paired samples Where t has n - 1 d.f. and S D is: Mean Difference, σ D Unknown (continued)

Chap 9-26 The confidence interval for D is Paired samples where Confidence Interval, σ D Unknown

Chap 9-27 Lower-tail test: H 0 : μ D  0 H 1 : μ D < 0 Upper-tail test: H 0 : μ D ≤ 0 H 1 : μ D > 0 Two-tail test: H 0 : μ D = 0 H 1 : μ D ≠ 0 Paired Samples Hypothesis Testing for Mean Difference, σ D Unknown  /2  -t  -t  /2 tt t  /2 Reject H 0 if t < -t  Reject H 0 if t > t  Reject H 0 if t < -t   or t > t  Where t has n - 1 d.f.

Chap 9-28  Assume you send your salespeople to a “customer service” training workshop. 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

Chap 9-29  Has the training made a difference in the number of complaints (at the 0.01 level)? - 4.2D = H 0 : μ D = 0 H 1 :  μ D  0 Test Statistic: Critical Value = ± d.f. = n - 1 = 4 Reject  / Decision: Do not reject H 0 (t stat is not in the reject region) Conclusion: There is not a significant change in the number of complaints. Paired Samples: Solution Reject  /  =.01

Chap 9-30 Two Population Proportions Goal: test a hypothesis or form a confidence interval for the difference between two population proportions, p 1 – p 2 The point estimate for the difference is Population proportions Assumptions: n 1 p 1  5, n 1 (1-p 1 )  5 n 2 p 2  5, n 2 (1-p 2 )  5

Chap 9-31 Two Population Proportions Population proportions The pooled estimate for the overall proportion is: where X 1 and X 2 are the numbers from samples 1 and 2 with the characteristic of interest Since we begin by assuming the null hypothesis is true, we assume p 1 = p 2 and pool the two p s estimates

Chap 9-32 Two Population Proportions Population proportions The test statistic for p 1 – p 2 is a Z statistic: (continued) where

Chap 9-33 Confidence Interval for Two Population Proportions Population proportions The confidence interval for p 1 – p 2 is:

Chap 9-34 Hypothesis Tests for Two Population Proportions Population proportions Lower-tail test: H 0 : p 1  p 2 H 1 : p 1 < p 2 i.e., H 0 : p 1 – p 2  0 H 1 : p 1 – p 2 < 0 Upper-tail test: H 0 : p 1 ≤ p 2 H 1 : p 1 > p 2 i.e., H 0 : p 1 – p 2 ≤ 0 H 1 : p 1 – p 2 > 0 Two-tail test: H 0 : p 1 = p 2 H 1 : p 1 ≠ p 2 i.e., H 0 : p 1 – p 2 = 0 H 1 : p 1 – p 2 ≠ 0

Chap 9-35 Hypothesis Tests for Two Population Proportions Population proportions Lower-tail test: H 0 : p 1 – p 2  0 H 1 : p 1 – p 2 < 0 Upper-tail test: H 0 : p 1 – p 2 ≤ 0 H 1 : p 1 – p 2 > 0 Two-tail test: H 0 : p 1 – p 2 = 0 H 1 : p 1 – p 2 ≠ 0  /2  -z  -z  /2 zz z  /2 Reject H 0 if Z < -Z  Reject H 0 if Z > Z  Reject H 0 if Z < -Z   or Z > Z  (continued)

Chap 9-36 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 at the.05 level of significance

Chap 9-37  The hypothesis test is: H 0 : p 1 – p 2 = 0 (the two proportions are equal) H 1 : p 1 – p 2 ≠ 0 (there is a significant difference between proportions)  The sample proportions are:  Men: p s1 = 36/72 =.50  Women: p s2 = 31/50 =.62  The pooled estimate for the overall proportion is: Example: Two population Proportions (continued)

Chap 9-38 The test statistic for p 1 – p 2 is: Example: Two population Proportions (continued) Decision: Do not reject H 0 Conclusion: There is not significant evidence of a difference in proportions who will vote yes between men and women. Reject H 0 Critical Values = ±1.96 For  =.05

Chap 9-39 Hypothesis Tests for Variances Tests for Two Population Variances F test statistic H 0 : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2 Two-tail test Lower-tail test Upper-tail test H 0 : σ 1 2  σ 2 2 H 1 : σ 1 2 < σ 2 2 H 0 : σ 1 2 ≤ σ 2 2 H 1 : σ 1 2 > σ 2 2 *

Chap 9-40 Hypothesis Tests for Variances Tests for Two Population Variances F test statistic The F test statistic is: = Variance of Sample 1 n = numerator degrees of freedom n = denominator degrees of freedom = Variance of Sample 2 * (continued)

Chap 9-41  The F critical value is found from the F table  The are two appropriate degrees of freedom: numerator and denominator  In the F table,  numerator degrees of freedom determine the column  denominator degrees of freedom determine the row The F Distribution where df 1 = n 1 – 1 ; df 2 = n 2 – 1

Chap 9-42 F0 Finding the Rejection Region rejection region for a two-tail test is:  FLFL Reject H 0 Do not reject H 0 F 0  FUFU Reject H 0 Do not reject H 0 F0  /2 Reject H 0 Do not reject H 0 FUFU 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 FLFL  /2 Reject H 0 Reject H 0 if F < F L Reject H 0 if F > F U

Chap 9-43 Finding the Rejection Region F0  /2 Reject H 0 Do not reject H 0 FUFU H 0 : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2 FLFL  /2 Reject H 0 (continued) 2. Find F L using the formula: Where F U* is from the F table with n 2 – 1 numerator and n 1 – 1 denominator degrees of freedom (i.e., switch the d.f. from F U ) 1. Find F U from the F table for n 1 – 1 numerator and n 2 – 1 denominator degrees of freedom To find the critical F values:

Chap 9-44 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?

Chap 9-45 F Test: Example Solution  Form the hypothesis test: H 0 : σ 2 1 – σ 2 2 = 0 ( there is no difference between variances) H 1 : σ 2 1 – σ 2 2 ≠ 0 ( there is a difference between variances)  Numerator:  n 1 – 1 = 21 – 1 = 20 d.f.  Denominator:  n 2 – 1 = 25 – 1 = 24 d.f. F U = F.025, 20, 24 = 2.33  Find the F critical values for  =.05:  Numerator:  n 2 – 1 = 25 – 1 = 24 d.f.  Denominator:  n 1 – 1 = 21 – 1 = 20 d.f. F L = 1/F.025, 24, 20 = 1/2.41 =.41 FU:FU:FL:FL:

Chap 9-46  The test statistic is: 0  /2 =.025 F U =2.33 Reject H 0 Do not reject H 0 H 0 : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2 F Test: Example Solution  F = is not in the rejection region, so we do not reject H 0 (continued)  Conclusion: There is not sufficient evidence of a difference in variances at  =.05 F L =0.41  /2 =.025 Reject H 0 F