STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Business and Economics 9th Edition
STATISTICAL INFERENCE PART V
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 Hypothesis Testing:
PSY 307 – Statistics for the Behavioral Sciences
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
IEEM 3201 Two-mean Hypothesis Testing: Two means, Two proportions.
Announcements Homework 2 will be posted on the web by tonight.
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.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
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.
 What is t test  Types of t test  TTEST function  T-test ToolPak 2.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
5-3 Inference on the Means of Two Populations, Variances Unknown
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Economics 173 Business Statistics Lecture 8 Fall, 2001 Professor J. Petry
Statistical Inference for Two Samples
Experimental Statistics - week 2
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Hypothesis testing – mean differences between populations
Education 793 Class Notes T-tests 29 October 2003.
Ch7 Inference concerning means II Dr. Deshi Ye
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
STATISTICAL INFERENCE PART VII
Confidence Intervals and Hypothesis Tests for the Difference between Two Population Means µ 1 - µ 2 : Independent Samples Inference for  1  2 1.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Hypothesis Testing CSCE 587.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Chapter 8 Hypothesis Testing with Two Samples 1. Chapter Outline 8.1 Testing the Difference Between Means (Large Independent Samples) 8.2 Testing the.
Chapter 10 Inferences from Two Samples
Hypothesis Testing with Two Samples
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Economics 173 Business Statistics Lecture 7 Fall, 2001 Professor J. Petry
1 Inference about Two Populations Chapter Introduction Variety of techniques are presented to compare two populations. We are interested in:
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.
Example (which tire lasts longer?) To determine whether a new steel-belted radial tire lasts longer than a current model, the manufacturer designs the.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 10 Hypothesis Testing:
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
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
1 Inference about Two Populations Chapter Introduction Variety of techniques are presented whose objective is to compare two populations. We.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
to accompany Introduction to Business Statistics
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.1 Categorical Response: Comparing Two Proportions.
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
ISMT253a Tutorial 1 By Kris PAN Skewness:  a measure of the asymmetry of the probability distribution of a real-valued random variable 
1 Economics 173 Business Statistics Lectures 5 & 6 Summer, 2001 Professor J. Petry.
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
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.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
Comparing Means: Confidence Intervals and Hypotheses Tests for the Difference between Two Population Means µ 1 - µ 2 Chapter 22 Part 2 CI HT for m 1 -
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Inference about Comparing Two Populations
Chapter 11 Hypothesis Testing II
Chapter 13: Inferences about Comparing Two Populations Lecture 7a
STATISTICAL INFERENCE PART VI
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1

INFERENCE ABOUT THE DIFFERENCE BETWEEN TWO SAMPLES INDEPENDENT SAMPLES POPULATION 1POPULATION 2 PARAMETERS:  1, PARAMETERS:  2, Statistics: Sample size: n 1 Sample size: n 2 2

SAMPLING DISTRIBUTION OF Consider random samples of n 1 and n 2 from two normal populations. Then, For non-normal distributions, we can use Central Limit Theorem for n 1  30 and n 2  30. 3

CONFIDENCE INTERVAL FOR  1 -  2  1 AND  2 ARE KNOWN FOR NORMAL DISTRIBUTION OR LARGE SAMPLE A 100(1-  C.I. for      is given by: If   and    are unknown and unequal, we can replace them with s 1 and s 2. 4 We are still using Z table because this is large sample or normal distribution situation.

EXAMPLE Set up a 95% CI for  2 -  1. 95% CI for  2 -  1 : 5 Is there any significant difference between mean family incomes of two groups?

INTERPRETATION With 95% confidence, mean family income in the second group may exceed that in the first group by between $363 and $

Test Statistic for  1 -  2 when  1 and  2 are known Test statistic: If   and    are unknown and unequal, we can replace them with s 1 and s 2. 7

EXAMPLE Two different procedures are used to produce battery packs for laptop computers. A major electronics firm tested the packs produced by each method to determine the number of hours they would last before final failure. The electronics firm wants to know if there is a difference in the mean time before failure of the two battery packs.  =0.10 8

SOLUTION STEP 1: H 0 :  1 =  2  H 0 :  1 -  2 = 0 H A :  1   2  H A :  1 -  2  0 STEP 2: Test statistic: STEP 3: Decision Rule = Reject H 0 if z z  /2 = STEP 4: Not reject H 0. There is not sufficient evidence to conclude that there is a difference in the mean life of the 2 types of battery packs. 9

 1 AND  2 ARE UNKNOWN if  1 =  2 A 100(1-  C.I. for      is given by: where 10

Test Statistic for  1 -  2 when  1 =  2 and unknown Test Statistic: where 11

EXAMPLE The statistics obtained from random sampling are given as It is thought that  1 <  2. Test the appropriate hypothesis assuming normality with  =

SOLUTION n 1 < 30 and n 2 < 30  t-test Because s 1 and s 2 are not much different from each other, use equal-variance t-test (More formally, we can test Ho: σ² 1 =σ² 2 ). H 0 :  1 =  2 H A :  1 <  2 (  1 -  2 <0) 13

Decision Rule: Reject H 0 if t < -t 0.01,8+9-2 = Conclusion: Since t = < -t 0.01,8+9-2 =-2.602, reject H 0 at  =

Test Statistic for  1 -  2 when  1  2 and unknown Test Statistic: with the degree of freedom 15

EXAMPLE Does consuming high fiber cereals entail weight loss? 30 people were randomly selected and asked what they eat for breakfast and lunch. They were divided into those consuming and those not consuming high fiber cereals. The statistics are obtained as n 1 =10;n 2 =20 16

SOLUTION Because s 1 and s 2 are too different from each other and the population variances are not assumed equal, we can use a t statistic with degrees of freedom 17

H 0 :  1 -  2 = 0 H A :  1 -  2 < 0 DECISION RULE: Reject H 0 if t < -t ,df = -t 0.05, 25 = CONCLUSION: Since t =-2.31< -t 0.05, 25 =-1.708, reject H 0 at  =

MINITAB OUTPUT Two Sample T-Test and Confidence Interval Twosample T for Consmers vs Non-cmrs N Mean StDev SE Mean Consmers Non-cmrs % C.I. for mu Consmers - mu Non-cmrs: ( -123, -7) T-Test mu Consmers = mu Non-cmrs (vs <): T= P=0.015 DF= 25 19

Inference about the Difference of Two Means: Matched Pairs Experiment Data are generated from matched pairs; not independent samples. Let X i and Y i denote the measurements for the i-th subject. Thus, (X i, Y i ) is a matched pair observations. Denote D i = Y i -X i or X i -Y i. If there are n subjects studied, we have D 1, D 2,…, D n. Then,

CONFIDENCE INTERVAL FOR  D =  1 -  2 A 100(1-  C.I. for  D =      is given by: For n  30, we can use z instead of t.

HYPOTHESIS TESTS FOR  D =  1 -  2 The test statistic for testing hypothesis about  D  is given by with degree of freedom n-1.

EXAMPLE Sample data on attitudes before and after viewing an informational film. iXiXi YiYi D i =Y i -X i

90% CI for  D =  1 -  2 : With 90% confidence, the mean attitude measurement after viewing the film exceeds the mean attitude measurement before viewing by between 0.36 and units. t 0.05, 9

EXAMPLE How can we design an experiment to show which of two types of tires is better? Install one type of tire on one wheel and the other on the other (front) wheels. The average tire (lifetime) distance (in 1000’s of miles) is: with a sample difference s.d. of There are a total of n=20 observations

SOLUTION H 0 :  D =0 H A :  D >0 Test Statistics: Reject H 0 if t>t.05,19 =1.729, Conclusion: Reject H 0 at  =0.05

Inference About the Difference of Two Population Proportions Population 1 Population 2 PARAMETERS: p 1 PARAMETERS: p 2 Statistics: Sample size: n 1 Sample size: n 2 Independent populations

SAMPLING DISTRIBUTION OF A point estimator of p 1 -p 2 is The sampling distribution of is if n i p i  5 and n i q i  5, i=1,2.

STATISTICAL TESTS Two-tailed test H o :p 1 =p 2 H A :p 1  p 2 Reject H 0 if z z  /2. One-tailed tests H o :p 1 =p 2 H A :p 1 > p 2 Reject H 0 if z > z  H o :p 1 =p 2 H A :p 1 < p 2 Reject H 0 if z < -z 

EXAMPLE A manufacturer claims that compared with his closest competitor, fewer of his employees are union members. Of 318 of his employees, 117 are unionists. From a sample of 255 of the competitor’s labor force, 109 are union members. Perform a test at  = 0.05.

SOLUTION H 0 : p 1 = p 2 H A : p 1 < p 2 and, so pooled sample proportion is Test Statistic:

Decision Rule: Reject H 0 if z < -z 0.05 = Conclusion: Because z = > -z 0.05 =- 1.96, not reject H 0 at  =0.05. Manufacturer is wrong. There is no significant difference between the proportions of union members in these two companies.

Example In a study, doctors discovered that aspirin seems to help prevent heart attacks. Half of 22,000 male participants took aspirin and the other half took a placebo. After 3 years, 104 of the aspirin and 189 of the placebo group had heart attacks. Test whether this result is significant. p 1 : proportion of all men who regularly take aspirin and suffer from heart attack. p 2 : proportion of all men who do not take aspirin and suffer from heart attack

Test of Hypothesis for p 1 -p 2 H 0 : p 1 -p 2 = 0 H A : p 1 -p 2 < 0 Test Statistic: Conclusion: Reject H 0 since p-value=P(z<-5.02)  0

Confidence Interval for p 1 -p 2 A 100(1-  C.I. for p   p  is given by:

Inference About Comparing Two Population Variances Population 1 Population 2 PARAMETERS: Statistics: Sample size: n 1 Sample size: n 2 Independent populations

SAMPLING DISTRIBUTION OF For independent r.s. from normal populations (1-α)100% CI for

STATISTICAL TESTS Two-tailed test H o :(or ) H A : Reject H 0 if F F 1-  /2,n 1 -1,n One-tailed tests H o : H A : Reject H 0 if F > F 1- , n 1 -1,n 2 -1 H o : H A : Reject H 0 if F < F ,n 1 -1,n 2 -1

Example A scientist would like to know whether group discussion tends to affect the closeness of judgments by property appraisers. Out of 16 appraisers, 6 randomly selected appraisers made decisions after a group discussion, and rest of them made their decisions without a group discussion. As a measure of closeness of judgments, scientist used variance. Hypothesis: Groups discussion will reduce the variability of appraisals. 39

Example, cont. Appraisal values (in thousand $)Statistics With discussion97, 101,102,95,98,103n 1 =6 s 1 ²=9.867 Without discussion118, 109, 84, 85, 100, 121, 115, 93, 91, 112 n 2 =10 s 2 ²= Ho: versus H 1 : Reject Ho. Group discussion reduces the variability in appraisals.