1 Testing of Hypothesis Two Sample test Dr. T. T. Kachwala.

Slides:



Advertisements
Similar presentations
Hypothesis Testing Steps in Hypothesis Testing:
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
1 1 Slide Hypothesis Testing Chapter 9 BA Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population.
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.
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.
1 1 Slide © 2006 Thomson/South-Western Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
T-Tests Lecture: Nov. 6, 2002.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Statistics for Managers Using Microsoft® Excel 5th Edition
Hypothesis Testing Using The One-Sample t-Test
©2006 Thomson/South-Western 1 Chapter 10 – Hypothesis Testing for the Mean of a Population Slides prepared by Jeff Heyl Lincoln University ©2006 Thomson/South-Western.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Hypothesis Testing with Two Samples
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Hypothesis testing – mean differences between populations
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part B Hypothesis Tests Population Proportion Population Proportion Hypothesis Testing and Decision Making.
Chapter 9 Hypothesis Testing: Single Population
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Procedure for Hypothesis Testing 1. Establish the null hypothesis, H 0. 2.Establish.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 9: Testing Hypotheses
Hypothesis Testing CSCE 587.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th & 7 th Lesson Hypothesis Testing for Two Population Parameters.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
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.
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.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
© Copyright McGraw-Hill 2000
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
© Copyright McGraw-Hill 2004
Inferences Concerning Variances
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Chapter 7 Hypothesis Testing. Define a hypothesis and hypothesis testing. Describe the five step hypothesis testing procedure. Distinguish between a one-tailed.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 Chi-square Test Dr. T. T. Kachwala. Using the Chi-Square Test 2 The following are the two Applications: 1. Chi square as a test of Independence 2.Chi.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Testing Differences in Means (t-tests) Dr. Richard Jackson © Mercer University 2005 All Rights Reserved.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
T-TEST. Outline  Introduction  T Distribution  Example cases  Test of Means-Single population  Test of difference of Means-Independent Samples 
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Testing of Hypothesis. Test of Significance A procedure to assess the significance of a statistics that a sample statistics would differ from a given.
Estimation & Hypothesis Testing for Two Population Parameters
Hypothesis testing March 20, 2000.
Chapter 8 Hypothesis Testing with Two Samples.
Inferences on Two Samples Summary
Presentation transcript:

1 Testing of Hypothesis Two Sample test Dr. T. T. Kachwala

Objective of Hypothesis Testing for differences between Means: 2 In many decision making situations, we need to determine whether the parameters of the two populations are alike or different. For example: i)Do female employees earn less than male employees for the same work in a company? ii)Do students of one division score more marks than other division? In the above examples, we are concerned with the parameters of two populations. We are not interested in the actual values of the population means as we are in the relation between the values of the two population means, i.e. how these population means differ. The objective of two sample test is to assess whether or not there is a significant difference between the two population means

Hypothesis Testing for difference between Means Procedure (Large Sample Size – z test): 3 In testing of difference between two means, we must choose whether to use a one-tailed hypothesis test or a two-tailed hypothesis test. If the test concerns whether two means are equal or are not equal, use a two tailed test. However, if the test concerns whether one mean is significantly higher or significantly lower than the other, a one-tailed test is more appropriate. H 0 :  1 =  2 H 1 :  1   2 H 0 :  1 =  2 H 1 :  1   2 or H 0 :  1 =  2 H 1 :  1 >  2

Hypothesis Testing for difference between Means Procedure (Large Sample Size – z test): 4 Step (i) H 0 :  1 =  2 H 1 :  1   2 (assuming Two Tail Test) Step (ii)Select α  0.05, select Normal distribution, select two tailed; z critical   Step (iii)

Hypothesis Testing for difference between Means (Large Sample Size – z test): 5 x z stat Accept H 0 x z stat Reject H 0 Accept H 1 If ‘z’ is in acceptance area, Accept H 0 :  1 =  2 and we conclude that there is no significant difference in the population mean. If ‘z’ is in the rejection area, Reject H 0 :  1 =  2 Accept H 1 :  1   2 and we conclude that the population means differ significantly. Step (iv) & (v): Decision Rule & Conclusions

Hypothesis Testing for difference between Means Small Sample Size – t test: (assuming variations of two population are equal) 6 When sample sizes are small, there are two changes in our procedure for testing the differences between means: (i)Estimated standard error of the difference between two Sample mean ii) Use of t  distribution. The following is the procedure for t test Step (i) H 0 :  1 =  2 H 1 :  1   2 (assuming Two Tailed Test) Step (ii) α = 0.05 ; t distribution, 2 tailed, = n 1 +n t critical = (from table) Note: Degree of freedom for two samples: = n 1 – 1 + n 2 – 1 = n 1 + n 2 - 2

Hypothesis Testing for difference between Means Small Sample Size – t test: (assuming variations of two population are equal) 7 Step (iii)Calculation of t statistic Where ‘S’ is the pooled estimate of standard deviation  (weighted average), N is the combined sample size

Hypothesis Testing for difference between Means Small Sample Size – t test: (assuming variations of two population are equal) 8 x t stat Accept H 0 x t stat Reject H 0 Accept H 1 Step (iv) & (v): Decision Rule & Conclusion If ‘t’ is in acceptance area Accept H 0 :      Conclusion: There is no significant difference in the population means. If ‘t’ is in rejection area Reject H 0 :      Accept H 1 :      Conclusion: There is a significant difference in the population means

Paired difference Test (Dependent Samples) - Objective 9 1.In the earlier examples, our samples were chosen independently of each other; for example students from two different colleges, light bulbs of two different manufacturers, height of sailors and soldiers, sample of chicken with high protein diet and another sample with low protein diet etc. 2.Sometimes however it makes sense to take samples that are not independent of each other. Often the use of such dependent (or paired) samples enable us to perform a more precise analysis because they will allow us to control for extraneous factors. 3.With dependent samples, we follow the same basic procedure that we have followed when testing hypothesis about a single mean.

Paired difference Test (Dependent Samples) 10 Step (ii) t distribution (critical value depends on Degree of Freedom, level of significance  and single tailed or two tailed test). H 0 :  =  H 0 {  H 0 =  d = Mean of difference value of the population} H 1 :    H 0 Step (i) Procedure t critical = (from table)

11 Step (iii) Paired difference Test (Dependent Samples) Calculation of test statistics {  H 0 =  d }

Paired difference Test (Dependent Samples) 12 Step (iv)& (v) Decision Rule & Conclusion: There are two possibilities as indicated in diagram below: x t stat Accept H 0 x t stat Reject H 0 Accept H 1 There is no significant difference between Sample Mean & There is a significant difference between Sample Mean &

13 Hypothesis Testing for difference between Proportions (Large Sample Size – z test) - Objective: In many decision making situations, we need to determine whether the proportions of the two populations are alike or different. For example: i)Is the proportion defective of the first factory different from the proportion defective of the second factory? ii)Is the proportion of wheat consumers of one town different from the proportion of wheat consumers of the second town? In the above examples, we are concerned with the proportion of two populations. We are not interested in the actual values of the proportion as we are in the relation between the values of the two proportions, i.e. how these proportions differ. The objective of two sample test is to assess whether or not there is a significant difference between the two population proportions

Hypothesis Testing for difference between Proportions (Large Sample Size – z test) - Procedure: 14 In testing of difference between two proportions, we must choose whether to use a one-tailed hypothesis test or a two-tailed hypothesis test. If the test concerns whether two proportions are equal or are not equal, use a two tailed test. However, if the test concerns whether one Proportion is significantly higher or significantly lower than the other, a one-tailed test is more appropriate. H 0 : p 1 = p 2 H 1 : p 1  p 2 H 0 : p 1 = p 2 H 1 : p 1  p 2 or H 0 : p 1 = p 2 H 1 : p 1 > p 2

Hypothesis Testing for difference between Proportions (Large Sample Size – z test) - Procedure: 15 Summary Procedure Step (i) H 0 : p 1 = p 2 H 1 : p 1  p 2 (assuming Two Tailed Test) Step (ii) α = 0.05, Normal Distribution, 2 tailed  z critical =  = Standard Error for the difference in proportion of success

16 Hypothesis Testing for difference between Proportions (Large Sample Size – z test): is the best estimate of the overall proportion of success in the population (combined proportion of success or weighted proportion of success)

17 Hypothesis Testing for difference between Proportions (Large Sample Size – z test): Step (iv)& (v) Decision Rule & Conclusion: There are two possibilities as indicated in diagram below: If z statistics lies in acceptance area Accept H 0 : p 1 = p 2 If z statistics lies in rejection area Reject H 0 : p 1 = p 2 Accept H 1 : p 1  p 2 Conclusion: There is a significant difference in the population proportions Conclusion: There is no significant difference in the population proportions

18 Thanks and Good Luck Dr. T. T. Kachwala