Chapter Nine Inferences Based on Two Samples. Hypothesis Test 2-Sample Means (Known  ) Both Normal pdf (known  ) Null Hypothesis: H 0 : u 1 – u 2 =

Slides:



Advertisements
Similar presentations
Chapter Eight Tests of Hypothesis Based on a Single Sample.
Advertisements

Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
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.
Probability & Statistical Inference Lecture 6
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.
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample
Chapter Seventeen HYPOTHESIS TESTING
Tests of Hypotheses: Small Samples Chapter Rejection region.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
BCOR 1020 Business Statistics
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
Chapter 10 Hypothesis Testing
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 Ten The Analysis Of Variance. ANOVA Definitions > Factor The characteristic that differentiates the treatment or populations from one another.
IENG 486 Statistical Quality & Process Control
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Statistical Inference for Two Samples
AM Recitation 2/10/11.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Experimental Statistics - week 2
Chapter 10 Hypothesis Testing
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Overview Definition Hypothesis
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
Mid-semester feedback In-class exercise. Chapter 8 Introduction to Hypothesis Testing.
Chapter 8 Hypothesis Testing (假设检验)
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
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.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Chapter 9 Hypothesis Testing: Single Population
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
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.
Example (which tire lasts longer?) To determine whether a new steel-belted radial tire lasts longer than a current model, the manufacturer designs the.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Inferences Concerning Variances
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.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Chapter Nine Inferences Based on Two Samples
Chapter 7 Hypothesis Testing with One Sample.
One-Sample Tests of Hypothesis
CONCEPTS OF HYPOTHESIS TESTING
Chapter 13: Inferences about Comparing Two Populations Lecture 7a
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Chapter Nine Inferences Based on Two Samples

Hypothesis Test 2-Sample Means (Known  ) Both Normal pdf (known  ) Null Hypothesis: H 0 : u 1 – u 2 =  0 Test Statistic: z = x – y –  0   2 1 /m +  2 2 /n Alternative Hypothesis: Reject Region H a : u 1 – u 2 >  0 (Upper Tailed) z  z  H a : u 1 – u 2  0 (Upper Tailed) z  z  H a : u 1 – u 2 <  0 ( Lower Tailed) z  -z  H a : u 1 – u 2   0 (Two-Tailed) either z  z  /2 or z  -z  /2 P-Value computed the same as 1-Sample Mean.

Example HT 2-Sample Means (Known  ) During a total solar eclipse the temperature drops quickly as the moon passes between the earth and the sun. During the June 2001 eclipse in Africa, data was collected on the drop in temperature in degrees F at two types of locations. The average drop in temperature for 9 samples taken in Mountainous terrain was The average drop in temperature for 12 samples taken in River-level terrain was Assume the variance in temperature drop is known to be 9 for this type of terrain-temperature drop experiment and that experiments of this type follow a Normal pdf. Is there evidence at the  =.10 level to conclude that there is a difference in temperature drop between the two types of terrain in this experiment?P-value?

Determining  (  known) Alternative Type II Hypothesis Error  (  ) H a : u 1 - u 2 >  0  z  -  -  0  H a : u 1 - u 2  0  z  -  -  0  H a : u 1 - u 2 <   -z  -  -  0  H a : u 1 - u 2   0  z  /2 -  -  0 -  -z  /2 -  -  0   Where  =  X-Y =  (  2 1 /m) + (  2 2 /n)

Example HT 2-Sample Means (Known  ) A study of report writing by student engineers was conducted at Watson School. A scale that measures the intelligibility of student engineers’ English is devised. This scale, called an “index of confusion,” is devised, to the delight of the students, so that low scores indicate high readability. Data are obtained on articles randomly selected from engineering journals and from unpublished reports. A sample of 16 engineering journals yielded an average score of 1.75 while a sample of 25 unpublished reports yielded an average score of 2.5. Variance for this type of scale is known to be 0.48 and the scores are known to follow a Normal pdf. At a significance level of.05, does there appear to be a difference between the average scores of the two types of reports? What is the Beta error when the true averages differ by as much as 0.5?

Hypothesis Test 2-Sample Means (Large n) Null Hypothesis: H 0 : u 1 – u 2 =  0 Test Statistic: z = x – y –  0  s 2 1 /m + s 2 2 /n Alternative Hypothesis: Reject Region H a : u 1 – u 2 >  0 (Upper Tailed) z  z  H a : u 1 – u 2 40 & n > 40.

Example HT 2-Sample Means (Large n) Aseptic packaging of juices is a method of packaging that entails rapid heating followed by quick cooling to room temperature in an air-free container. Such packaging allows the juices to be stored un-refrigerated. A new & old machine used to fill aseptic packages is being compared. The mean number of containers filled per minute on the new machine was for 50 observations with a standard deviation of 5.0. The mean number of containers filled per minute on the old machine was for 72 observations with a standard deviation of 3.0. Is there evidence that the new machine is faster than the old machine? Use a test with  =.01. (Include the P-value).

Hypothesis Test 2-Sample Means (Small n) Both Normal pdf (unknown  ) Null Hypothesis: H 0 : u 1 – u 2 =  0 Test Statistic: t = x – y –  0  s 2 1 /m + s 2 2 /n Alternative Hypothesis: Reject Region H a : u 1 – u 2 >  0 (Upper Tailed) t  t , H a : u 1 – u 2  0 (Upper Tailed) t  t , H a : u 1 – u 2 <  0 ( Lower Tailed) t  -t , H a : u 1 – u 2   0 (Two-Tailed) either t  t  /2, or t  -t  /2,

Estimating the Degrees of Freedom s s = m n (s 2 1 /m) 2 + (s 2 2 /n) 2 m –1 n -1

Example HT 2-Sample Means (Small n) The slant shear test is used for evaluating the bond of resinous repair materials to concrete. The test utilizes cylinder specimens made of 2 identical halves bonded at 30 0 C. Twelve specimens were prepared using wire brushing. The sample mean shear strength (N/mm 2 ) and sample standard deviation were & 1.58, respectively. Twelve specimens were prepared using hand-chiseled specimens; the corresponding values were & Does the true average strength appear to be different for the two methods of surface preparation? Use a significance level of.05 to test the relevant Hypothesis & assume the shear strength distributions to be Normal. (Include the P-value). Parameters of interest: R. R.: Null Hypothesis: Calculation: Alternative: Decision: Test Statistic: P-value: Example HT 2-Sample Means (Small n) The slant shear test is used for evaluating the bond of resinous repair materials to concrete. The test utilizes cylinder specimens made of 2 identical halves bonded at 30 0 C. Twelve specimens were prepared using wire brushing. The sample mean shear strength (N/mm 2 ) and sample standard deviation were & 1.58, respectively. Twelve specimens were prepared using hand-chiseled specimens; the corresponding values were & Does the true average strength appear to be different for the two methods of surface preparation? Use a significance level of.05 to test the relevant Hypothesis & assume the shear strength distributions to be Normal. (Include the P-value). Parameters of interest: R. R.: Null Hypothesis: Calculation: Alternative: Decision: Test Statistic: P-value:

Example HT 2-Sample Means (Small n) A manufacturer of power-steering components buys hydraulic seals from two sources. Samples are selected randomly from among the seals obtained from these two suppliers, and each seal is tested to determine the amount of pressure that it can withstand. These data result: Supplier I Supplier II x = 1342 lb/in 2 y = 1338 lb/in 2 s 2 = 100 s 2 = 33 m = 10n = 11 Is there evidence at the  =.05 level to suggest that the seals from supplier I can withstand higher pressures than those from supplier II? (P-value) Assume measurements of this type are Normal.

HT 2-Sample Means-Paired Data (Small n) Both Normal X and Y (unknown  ) Null Hypothesis: H 0 : u D =  0 Test Statistic: t = d –  0 s D /  n Alternative Hypothesis: Reject Region H a : u D >  0 (Upper Tailed) t  t , H a : u D  0 (Upper Tailed) t  t , H a : u D <  0 ( Lower Tailed) t  -t , H a : u D   0 (Two-Tailed) either t  t  /2, or t  -t  /2, D = X – Y within each paired observation.

Example HT 2-Sample Means-Paired Data (Small n) One important aspect of computing is the CPU time required by an algorithm to solve a problem. A new algorithm is developed to solve zero-one multiple objective problems in linear programming. It is thought that a new algorithm will solve problems faster than the algorithm currently used. To obtain statistical evidence to support this research hypothesis, a number of problems will be selected at random. Each problem will be solved twice; once using the current algorithm and once using the newly developed one. These CPU times are not independent; they are based on the same problems solved by two different methods and so are paired by design. The mean difference between the (16) paired data points was 2.7 seconds with a standard deviation calculated at 6.0 seconds. Does the data support this hypothesis at a  =.025 level of significance? Assume measurements of this type are known to be Normal. (Give the P-value) Let X = old & Y = new.

Example HT 2-Sample Means-Paired Data (Large n) Highway engineers studying the effects of wear on dual-lane highways suspect that more cracking occurs in the travel lane of the highway than in the passing lane. To verify this contention, 64 one-hundred-feet-long test strips are selected, paved, and studied over a period of time. It is found that the mean difference in the number of major cracks is 3.3 with a sample deviation of 8.8. Does this data support the research hypothesis at a significance level of.05? (Include P-value). Let RV X = Travel lane & RV Y = Passing lane

The F Distribution  = W/  =   +   /2 x (  /2)-1 Y/ 2     x + 1 (  + )/ < x <  W & Y are independent Chi-Square RV’s with  & degrees of freedom.

Hypothesis Test on 2 Population Variances Both Normal (unknown u 1 & u 2 ) Null Hypothesis: H 0 :  2 1 =  2 2 Test Statistic:  = S 2 1 / S 2 2 Alternative Hypothesis: Reject Region H a :  2 1 >  2 2 (Upper Tail)   F , m-1, n-1 H a :  2 1  2 2 (Upper Tail)   F , m-1, n-1 H a :  2 1 <  2 2 (Lower Tail)   F 1- , m-1, n-1 H a :  2 1   2 2 (Two-Tail) either   F  /2, m-1, n-1 or   F 1-  /2, m-1, n-1 F 1- , m-1, n-1 = 1 / F , n-1, m-1 F-Tables pg

Example HT 2-Population Variances The cost of repairing a fiberoptic component may depend of the stage of production at which it fails. The following data are obtained on the cost of repairing parts that fail when installed in the system and on the cost of repairing parts that fail after the system is installed in the field: System failure Field failure Sample Size = 21 Sample Size = 25 Mean = $65 Mean = $120 s 2 = 25 s 2 = 100 It is thought that the variance in cost of repairs made in the field is larger than the variance in cost of repairs made when the component is placed into the system. Test at the  =.10 level to see if there is statistical evidence to support this contention.

Example HT 2-Population Variances Oxide layers on semiconductor wafers are etched in a mixture of gases to achieve the proper thickness. The variability in the thickness of these oxide layers is a critical characteristic of the wafer, and low variability is desirable for subsequent processing steps. Two different mixtures of gases are being studied to determine whether one is superior in reducing the variability of the oxide thickness. Twenty wafers are etched in each gas. The sample standard deviation of oxide thickness are s 1 = 1.96 angstroms and s 2 = 2.13 angstroms, respectively. Is there any evidence to indicate that either gas is preferable? Use  = 0.10 & assume measurements of this type are Normal.

Example HT 2-Population Variances Two companies supply raw materials to the manufacturer of paper products. The concentration of hardwood in these materials is important for the tensile strength of the products. The mean concentration of hardwood for both suppliers is the same; however, the variability in concentration may differ between the two companies. The standard deviation of concentration in a random sample of 26 batches produced by company X is 4.7 g/l, while for company Y a random sample of 21 batches yields 6.1 g/l. Is there sufficient evidence to conclude that the two population variances differ? Use  =.05 & list any assumptions that you make.