© The McGraw-Hill Companies, Inc., 2000 9-1 Chapter 9 Testing the Difference between Two Means.

Slides:



Advertisements
Similar presentations
McGraw-Hill, Bluman, 7th ed., Chapter 9
Advertisements

Please enter data on page 477 in your calculator.
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
8.3 T- TEST FOR A MEAN. T- TEST The t test is a statistical test for the mean of a population and is used when the population is normally or approximately.
Chapter 10 Two-Sample Tests
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 Hypothesis Testing:
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
BCOR 1020 Business Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
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.
© McGraw-Hill, Bluman, 5th ed., Chapter 9
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Testing the Difference Between Means (Small Independent Samples)
Chapter 10, sections 1 and 4 Two-sample Hypothesis Testing Test hypotheses for the difference between two independent population means ( standard deviations.
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
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 with Two Samples
Chapter 10 Hypothesis Testing
Chapter 8 Hypothesis Testing. Section 8-1: Steps in Hypothesis Testing – Traditional Method Learning targets – IWBAT understand the definitions used in.
Part B Business Statistics: Communicating with Numbers
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Section 7.3 Hypothesis Testing for the Mean (  Unknown).
Chapter Eleven McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. Two-Sample Tests of Hypothesis Pages &
Aim: How do we test a comparison group? Exam Tomorrow.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Section 9-4 Hypothesis Testing Means. This formula is used when the population standard deviation is known. Once you have the test statistic, the process.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Testing the Difference Between Two Means: Dependent Samples
Chapter 9 Section 2 Testing the Difference Between Two Means: t Test 1.
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
Chapter 12 Tests of a Single Mean When σ is Unknown.
11- 1 Chapter Eleven McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Comparing Two Variances
Hypothesis Testing for the Mean (Small Samples)
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.
© Copyright McGraw-Hill 2000
Chapter 9.  Many instances when researchers wish to compare two sample means  Examples: ◦ Average lifetimes of two different brands of bus tires ◦ Two.
Aim: How do we test hypotheses that compare means of two groups? HW: complete last two questions on homework slides.
9.2 Testing the Difference Between Two Means: Using the t Test
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
11.5 Testing the Difference Between Two Variances
© The McGraw-Hill Companies, Inc., Chapter 13 Analysis of Variance (ANOVA)
to accompany Introduction to Business Statistics
Aim: How do we use a t-test?
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means, Variances, and Proportions.
McGraw-Hill, Bluman, 7th ed., Chapter 12
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Aim: How do we test the difference between two means? HW#14: complete slide.
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Testing the Difference between Means, Variances, and Proportions
Testing Difference among Mean, Variances, and Proportions. Chapter 10
Testing the Difference Between Two Means
Testing the Difference between Means and Variances
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances.
Chapter 8 Hypothesis Testing with Two Samples.
Elementary Statistics: Picturing The World
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Presentation transcript:

© The McGraw-Hill Companies, Inc., Chapter 9 Testing the Difference between Two Means

© The McGraw-Hill Companies, Inc., Objectives Test the difference between two sample means using the z-test. Test the difference between two means for independent samples using the t-test. Test the difference between two means for dependent samples.

© The McGraw-Hill Companies, Inc., Testing the Difference between Two Means: Testing the Difference between Two Means:  1 and  2 known Assumptions for this test: Samples are randomly sampled and independent. The populations must be normally distributed if n <30. Population standard deviations are known.

© The McGraw-Hill Companies, Inc., Testing the Difference between Two Means: Testing the Difference between Two Means:  1 and  2 known  1 2, 1

© The McGraw-Hill Companies, Inc., Formula for the z-test for Comparing Two Means from Independent Populations Usually  1 and  2 are assumed to be equal so the numerator is the difference between the sample means.

© The McGraw-Hill Companies, Inc., z-test for Comparing Two Means from Independent Populations – z-test for Comparing Two Means from Independent Populations – Example A survey found that the average hotel room rate in New Orleans is $88.42 and the average room rate in Phoenix is $ Assume that the data were obtained from two samples of 50 hotels each and that the standard deviations were $5.62 and $4.83 respectively. At  = 0.05, can it be concluded that there is no significant difference in the rates?

© The McGraw-Hill Companies, Inc., Step 1: Step 1: State the hypotheses and identify the claim. H 0 :     (claim) H 1 :     Step 2: Step 2: Find the critical values. Since  = 0.05 and the test is a two-tailed test, the critical values are z =  Step 3: Step 3: Compute the test value. z-test for Comparing Two Means from Independent Populations – z-test for Comparing Two Means from Independent Populations – Example

© The McGraw-Hill Companies, Inc., z-test for Comparing Two Means from Independent Populations – z-test for Comparing Two Means from Independent Populations – Example

© The McGraw-Hill Companies, Inc., Step 4: Step 4: Make the decision. Reject the null hypothesis at  = 0.05, since 7.45 > Step 5: Step 5: Summarize the results. There is enough evidence to reject the claim that the means are equal. Hence, there is a significant difference in the rates. z-test for Comparing Two Means from Independent Populations – z-test for Comparing Two Means from Independent Populations – Example

© The McGraw-Hill Companies, Inc., P-Values The P-values for the tests can be determined by looking up the area(s) in the tails of the z-value(s). The P-value for the previous example will be: P-value = 2  P(z > 7.45)  2(0) = 0. You will reject the null hypothesis since the P-value = 0 <  = 0.05.

© The McGraw-Hill Companies, Inc., When the the population variances are unknown, a t-test is used to test the difference between means. The two samples are assumed to be independent and the sampled populations must be normally or approximately normally distributed if n <30. Testing the Difference between Two Means: Testing the Difference between Two Means:  1 and  2 unknown

© The McGraw-Hill Companies, Inc., There are two options for the use of the independent-groups t-test. When the variances of the populations are equal and when they are not equal. An F test can be used to establish whether the variances are equal or not. Testing the Difference between Two Means: Testing the Difference between Two Means:  1 and  2 unknown

© The McGraw-Hill Companies, Inc.,    t XX s n s n dfsmallerofnorn     .. Testing the Difference between Two Means: Testing the Difference between Two Means: Independent Samples - Test Value Formula Unequal Variances

© The McGraw-Hill Companies, Inc., Testing the Difference between Two Means: Testing the Difference between Two Means: Independent Samples - Test Value Formula Equal Variances    t XX nsns nnnn d fnn        ()()...

© The McGraw-Hill Companies, Inc., The average size of a farm in Greene County, PA, is 199 acres, and the average size of a farm in Indiana County, PA, is 191 acres. Assume the data were obtained from two samples with standard deviations of 12 acres and 38 acres, respectively, and the sample sizes are 10 farms from Greene County and 8 farms in Indiana County. Can it be concluded at  = 0.05 that the average size of the farms in the two counties is different? Difference between Two Means: Independent Samples - Difference between Two Means: Independent Samples - Example

© The McGraw-Hill Companies, Inc., Assume the populations are normally distributed. First use an F test to determine whether or not the variances are equal. The critical value for the F test for  = 0.05 is The test value = 38 2 /12 2 = Difference between Two Means: Independent Samples - Difference between Two Means: Independent Samples - Example

© The McGraw-Hill Companies, Inc., Since > 4.20, the decision is to reject the null hypothesis and conclude the variances are not equal. Step 1: Step 1: State the hypotheses and identify the claim for the means. H 0 :     H 1 :    (claim) Difference between Two Means: Independent Samples - Difference between Two Means: Independent Samples - Example

© The McGraw-Hill Companies, Inc., Step 2: Step 2: Find the critical values. Since  = 0.05 and the test is a two-tailed test, the critical values are t = –2.365 and with d.f. = 8 – 1 = 7. Step 3: Step 3: Compute the test value. Substituting in the formula for the test value when the variances are not equal gives t = Difference between Two Means: Independent Samples - Difference between Two Means: Independent Samples - Example

© The McGraw-Hill Companies, Inc., Step 4: Step 4: Make the decision. Do not reject the null hypothesis, since 0.57 < Step 5: Step 5: Summarize the results. There is not enough evidence to support the claim that the average size of the farms is different. Note: Note: If the the variances were equal - use the other test value formula. Difference between Two Means: Independent Samples - Difference between Two Means: Independent Samples - Example

© The McGraw-Hill Companies, Inc., When the values are dependent, employ a t-test on paired differences. Denote the differences with the symbol D, the mean of the population of differences with  D, and the sample standard deviation of the differences with s D. Testing the Difference between Two Means: Testing the Difference between Two Means: Dependent Samples

© The McGraw-Hill Companies, Inc., Samples may be dependent because the same subjects are used twice – called a repeated-measures test – or the subjects are paired by some important factor, e.g., identical twins, same height, same percent body fat, same grade. Using twins or same subjects is best. Testing the Difference between Two Means: Testing the Difference between Two Means: Dependent Samples

© The McGraw-Hill Companies, Inc., Testing the Difference between Two Means: Testing the Difference between Two Means: Dependent Samples - Formula for the test value.

© The McGraw-Hill Companies, Inc., Note: Note: This test is similar to a one sample t-test, except it is done on the differences when the samples are dependent. Testing the Difference between Two Means: Testing the Difference between Two Means: Dependent Samples - Formula for the test value.