SlideShare a Scribd company logo
1 of 15
Two-sample Tests
of Hypothesis
Chapter 11
McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Learning Objectives
LO1 Test a hypothesis that two independent population means
with known population standard deviations are equal.
LO2 Carry out a hypothesis test that two population proportions
are equal.
LO3 Conduct a hypothesis test that two independent population
means are equal assuming equal but unknown population
standard deviations.
LO4 Conduct a test of a hypothesis that two independent
population means are equal assuming unequal but unknown
population standard deviations.
LO5 Explain the difference between dependent and independent
samples.
LO6 Carry out a test of hypothesis about the mean difference
between paired and dependent observations.
11-2
Comparing two populations – Some
Examples
1. Is there a difference in the mean value of residential real
estate sold by male agents and female agents in south
Florida?
2. Is there a difference in the mean number of defects
produced on the day and the afternoon shifts at Kimble
Products?
3. Is there a difference in the mean number of days absent
between young workers (under 21 years of age) and older
workers (more than 60 years of age) in the fast-food
industry?
4. Is there is a difference in the proportion of Ohio State
University graduates and University of Cincinnati graduates
who pass the state Certified Public Accountant Examination
on their first attempt?
5. Is there an increase in the production rate if music is piped
into the production area?
11-3
Comparing Two Population Means
 No assumptions about the shape of the populations are required.
 The samples are from independent populations.
 The formula for computing the test statistic (z) is:
2
2
2
1
2
1
2
1
2
1 unknown
are
and
if
and
30
sizes
sample
if
Use
n
s
n
s
X
X
z






2
2
2
1
2
1
2
1
2
1 known
are
and
if
or
30
sizes
sample
if
Use
n
n
X
X
z








EXAMPLE
The U-Scan facility was recently installed at the Byrne Road Food-Town location. The store manager would like to
know if the mean checkout time using the standard checkout method is longer than using the U-Scan. She
gathered the following sample information. The time is measured from when the customer enters the line until their
bags are in the cart. Hence the time includes both waiting in line and checking out.
Step 1: State the null and alternate hypotheses.
(keyword: “longer than”)
H0: µS ≤ µU
H1: µS > µU
Step 2: Select the level of significance.
The .01 significance level is stated in the problem.
LO1 Test a hypothesis that two independent population means
with known population standard deviations are equal.
11-4
Example 1 continued
Step 3: Determine the appropriate test statistic.
Because both population standard deviations are known, we can use z-distribution as the test statistic
Step 4: Formulate a decision rule.
Reject H0 if Z > Z
Z > 2.33
Step 5: Compute the value of z and make a decision
The computed value of 3.13 is larger than the critical value of 2.33. Our decision is to reject the null
hypothesis. The difference of .20 minutes between the mean checkout time using the standard method is
too large to have occurred by chance. We conclude the U-Scan method is faster.
13
.
3
064
.
0
2
.
0
100
30
.
0
50
40
.
0
3
.
5
5
.
5
2
2
2
2








u
u
s
s
u
s
n
n
X
X
z


LO1
11-5
Two-Sample Tests about Proportions
We investigate whether two samples came from
populations with an equal proportion of
successes. The two samples are pooled using
the following formula.
The value of the test statistic is computed from
the following formula.
EXAMPLE
Manelli Perfume Company recently developed a new fragrance
that it plans to market under the name Heavenly. A number of
market studies indicate that Heavenly has very good market
potential. The Sales Department at Manelli is particularly
interested in whether there is a difference in the proportions
of younger and older women who would purchase Heavenly if
it were marketed. Samples are collected from each of these
independent groups. Each sampled woman was asked to smell
Heavenly and indicate whether she likes the fragrance well
enough to purchase a bottle.
Step 1: State the null and alternate hypotheses.
(keyword: “there is a difference”)
H0: 1 =  2
H1:  1 ≠  2
Step 2: Select the level of significance.
The .05 significance level is stated in the problem.
Step 3: Determine the appropriate test statistic.
We will use the z-distribution
LO2 Carry out a hypothesis test that two
population proportions are equal.
11-6
Two Sample Tests of Proportions -
Example
Step 4: Formulate the decision rule.
Reject H0 if Z > Z/2 or Z < - Z/2
Z > Z.05/2 or Z < - Z.05/2
Z > 1.96 or Z < -1.96
5: Select a sample and make a decision
 The computed value of 2.21 is in the area of rejection. Therefore, the null hypothesis is rejected
at the .05 significance level. To put it another way, we reject the null hypothesis that the
proportion of young women who would purchase Heavenly is equal to the proportion of older
women who would purchase Heavenly.
Let p1 = young women p2 = older women
LO2
11-7
Comparing Population Means with Unknown Population
Standard Deviations (the Pooled t-test)
The t distribution is used as the test statistic if
one or more of the samples have less than 30
observations. The required assumptions are:
1. Both populations must follow the normal
distribution.
2. The populations must have equal standard
deviations.
3. The samples are from independent populations.
Finding the value of the test statistic requires two steps.
1. Pool the sample standard deviations.
2. Use the pooled standard deviation in the
formula.
2
)
1
(
)
1
(
2
1
2
2
2
2
1
1
2






n
n
s
n
s
n
sp











2
1
2
2
1
1
1
n
n
s
X
X
t
p
EXAMPLE
Owens Lawn Care, Inc., manufactures and assembles
lawnmowers that are shipped to dealers throughout the
United States and Canada. Two different procedures have
been proposed for mounting the engine on the frame of the
lawnmower. The question is: Is there a difference in the
mean time to mount the engines on the frames of the
lawnmowers?
To evaluate the two methods, it was decided to conduct a
time and motion study. A sample of five employees was
timed using the Welles method and six using the Atkins
method. The results, in minutes, are shown below:
Is there a difference in the mean mounting times? Use the
.10 significance level.
LO3 Conduct a hypothesis test that two independent population means
are equal assuming equal but unknown population standard deviations.
11-8
Comparing Population Means with Unknown Population Standard
Deviations (the Pooled t-test) - Example
Step 1: State the null and alternate
hypotheses.
(Keyword: “Is there a difference”)
H0: µ1 = µ2
H1: µ1 ≠ µ2
Step 2: State the level of significance.
The 0.10 significance level is stated in the
problem.
Step 3: Find the appropriate test statistic.
Because the population standard deviations
are not known but are assumed to be equal,
we use the pooled t-test.
Step 4: State the decision rule.
Reject H0 if t > t/2,n1+n2-2 or t < - t/2, n1+n2-2
t > t.05,9 or t < - t.05,9
t > 1.833 or t < - 1.833
Step 5: Compute the value of t and make a decision
The decision is not to reject the null hypothesis,
because -0.662 falls in the region between -1.833 and
1.833.
We conclude that there is no difference in the mean times
to mount the engine on the frame using the two methods
-0.662
LO3
11-9
Comparing Population Means with Unequal Population
Standard Deviations
Compute the t-statistic shown on the right if it
is not reasonable to assume the population
standard deviations are equal.
The sample standard deviations s1 and s2 are
used in place of the respective population
standard deviations.
In addition, the degrees of freedom are
adjusted downward by a rather complex
approximation formula. The effect is to reduce
the number of degrees of freedom in the test,
which will require a larger value of the test
statistic to reject the null hypothesis.
EXAMPLE
Personnel in a consumer testing laboratory are
evaluating the absorbency of paper towels. They
wish to compare a set of store brand towels to a
similar group of name brand ones. For each brand
they dip a ply of the paper into a tub of fluid, allow
the paper to drain back into the vat for two minutes,
and then evaluate the amount of liquid the paper
has taken up from the vat. A random sample of 9
store brand paper towels absorbed the following
amounts of liquid in milliliters.
8 8 3 1 9 7 5 5 12
An independent random sample of 12 name brand
towels absorbed the following amounts of liquid in
milliliters:
12 11 10 6 8 9 9 10 11 9 8 10
Use the .10 significance level and test if there is a
difference in the mean amount of liquid absorbed
by the two types of paper towels.
LO4 Conduct a test of a hypothesis that two independent population means are
equal assuming unequal but unknown population standard deviations.
11-10
Comparing Population Means with Unequal Population
Standard Deviations - Example
The following dot plot provided by MINITAB shows the
variances to be unequal.
The following output provided by MINITAB shows the
descriptive statistics
LO4
11-11
Comparing Population Means with Unequal Population
Standard Deviations - Example
Step 1: State the null and alternate hypotheses.
H0: 1 = 2
H1: 1 ≠ 2
Step 2: State the level of significance.
The .10 significance level is stated
in the problem.
Step 3: Find the appropriate test statistic.
We will use unequal variances t-test
Step 4: State the decision rule.
Reject H0 if
t > t/2d.f. or t < - t/2,d.f.
t > t.05,10 or t < - t.05, 10
t > 1.812 or t < -1.812
Step 5: Compute the value of t and make a decision
The computed value of t is less than the lower critical value, so our decision is to reject the null hypothesis. We
conclude that the mean absorption rate for the two towels is not the same
.
LO4
11-12
Two-Sample Tests of Hypothesis:
Dependent Samples
Dependent samples are samples that are
paired or related in some fashion.
For example:
 If you wished to buy a car you would
look at the same car at two (or more)
different dealerships and compare the
prices.
 If you wished to measure the
effectiveness of a new diet you would
weigh the dieters at the start and at
the finish of the program.
Where
is the mean of the differences
sd is the standard deviation of the differences
n is the number of pairs (differences)
d
t
d
s n
d

/
EXAMPLE
Nickel Savings and Loan wishes to compare the two
companies it uses to appraise the value of residential homes.
Nickel Savings selected a sample of 10 residential properties
and scheduled both firms for an appraisal. The results,
reported in $000, are shown on the table (right).
At the .05 significance level, can we conclude there is a
difference in the mean appraised values of the homes?
LO5 Carry out a test of hypothesis about the mean
difference between paired and dependent observations.
11-13
Hypothesis Testing Involving Paired
Observations - Example
Step 1: State the null and alternate hypotheses.
H0: d = 0
H1: d ≠ 0
Step 2: State the level of significance.
The .05 significance level is stated in the problem.
Step 3: Find the appropriate test statistic.
We will use the t-test
Step 4: State the decision rule.
Reject H0 if
t > t/2, n-1 or t < - t/2,n-1
t > t.025,9 or t < - t.025, 9
t > 2.262 or t < -2.262
LO5
11-14
Hypothesis Testing Involving Paired
Observations - Example
Step 5: Compute the value of t and make
a decision
The computed value of t (3.305) is
greater than the higher critical value
(2.262), so our decision is to reject the
null hypothesis.
We conclude that there is a difference
in the mean appraised values of the
homes.
LO5
11-15

More Related Content

Similar to Chap011.ppt

AP Stats Procedures for Two Independent Samples
AP Stats Procedures for Two Independent SamplesAP Stats Procedures for Two Independent Samples
AP Stats Procedures for Two Independent SamplesJune Patton
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptKEHKASHANNIZAM
 
Statistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaStatistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaSelvin Hadi
 
Module 05 – Hypothesis Tests Using Two SamplesClass Objectives
Module 05 – Hypothesis Tests Using Two SamplesClass ObjectivesModule 05 – Hypothesis Tests Using Two SamplesClass Objectives
Module 05 – Hypothesis Tests Using Two SamplesClass ObjectivesIlonaThornburg83
 
The following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxThe following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxcherry686017
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering materialTeluguSudhakar3
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleAhmadullah
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10Tuul Tuul
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxdessiechisomjj4
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1yhchung
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statisticsAnchal Garg
 
Spss2 comparing means_two_groups
Spss2 comparing means_two_groupsSpss2 comparing means_two_groups
Spss2 comparing means_two_groupsriddhu12
 
Question1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docxQuestion1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docxmakdul
 
Two sample Test of hypothesis(1).pptx
Two sample Test of hypothesis(1).pptxTwo sample Test of hypothesis(1).pptx
Two sample Test of hypothesis(1).pptxMdMehediHasan803536
 

Similar to Chap011.ppt (20)

AP Stats Procedures for Two Independent Samples
AP Stats Procedures for Two Independent SamplesAP Stats Procedures for Two Independent Samples
AP Stats Procedures for Two Independent Samples
 
Chap012.ppt
Chap012.pptChap012.ppt
Chap012.ppt
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.ppt
 
Statistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaStatistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anova
 
Module 05 – Hypothesis Tests Using Two SamplesClass Objectives
Module 05 – Hypothesis Tests Using Two SamplesClass ObjectivesModule 05 – Hypothesis Tests Using Two SamplesClass Objectives
Module 05 – Hypothesis Tests Using Two SamplesClass Objectives
 
The following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxThe following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docx
 
Chap008.ppt
Chap008.pptChap008.ppt
Chap008.ppt
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering material
 
Thesigntest
ThesigntestThesigntest
Thesigntest
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
 
STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Chap010.ppt
Chap010.pptChap010.ppt
Chap010.ppt
 
Spss2 comparing means_two_groups
Spss2 comparing means_two_groupsSpss2 comparing means_two_groups
Spss2 comparing means_two_groups
 
Question1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docxQuestion1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docx
 
Two sample Test of hypothesis(1).pptx
Two sample Test of hypothesis(1).pptxTwo sample Test of hypothesis(1).pptx
Two sample Test of hypothesis(1).pptx
 

More from ManoloTaquire

Chapter 2 Section 3.ppt
Chapter 2 Section 3.pptChapter 2 Section 3.ppt
Chapter 2 Section 3.pptManoloTaquire
 
Chapter 4 Section 3.ppt
Chapter 4 Section 3.pptChapter 4 Section 3.ppt
Chapter 4 Section 3.pptManoloTaquire
 
Chapter 3 Section 2.ppt
Chapter 3 Section 2.pptChapter 3 Section 2.ppt
Chapter 3 Section 2.pptManoloTaquire
 
Chapter 2 Section 4.ppt
Chapter 2 Section 4.pptChapter 2 Section 4.ppt
Chapter 2 Section 4.pptManoloTaquire
 
Chapter 6 Section 7.ppt
Chapter 6 Section 7.pptChapter 6 Section 7.ppt
Chapter 6 Section 7.pptManoloTaquire
 
Chapter 4 Section 2.ppt
Chapter 4 Section 2.pptChapter 4 Section 2.ppt
Chapter 4 Section 2.pptManoloTaquire
 
Chapter 1 Section 4.ppt
Chapter 1 Section 4.pptChapter 1 Section 4.ppt
Chapter 1 Section 4.pptManoloTaquire
 
Chapter 3 Section 4.ppt
Chapter 3 Section 4.pptChapter 3 Section 4.ppt
Chapter 3 Section 4.pptManoloTaquire
 
Chapter 2 Section 1.ppt
Chapter 2 Section 1.pptChapter 2 Section 1.ppt
Chapter 2 Section 1.pptManoloTaquire
 
Chapter 3 Section 1.ppt
Chapter 3 Section 1.pptChapter 3 Section 1.ppt
Chapter 3 Section 1.pptManoloTaquire
 
Chapter 3 Section 3.ppt
Chapter 3 Section 3.pptChapter 3 Section 3.ppt
Chapter 3 Section 3.pptManoloTaquire
 
Chapter 6 Section 5.ppt
Chapter 6 Section 5.pptChapter 6 Section 5.ppt
Chapter 6 Section 5.pptManoloTaquire
 
Chapter 4 Section 1.ppt
Chapter 4 Section 1.pptChapter 4 Section 1.ppt
Chapter 4 Section 1.pptManoloTaquire
 
Chapter 4 Section 5.ppt
Chapter 4 Section 5.pptChapter 4 Section 5.ppt
Chapter 4 Section 5.pptManoloTaquire
 
Chapter 1 Section 3.ppt
Chapter 1 Section 3.pptChapter 1 Section 3.ppt
Chapter 1 Section 3.pptManoloTaquire
 
Chapter 6 Section 3.ppt
Chapter 6 Section 3.pptChapter 6 Section 3.ppt
Chapter 6 Section 3.pptManoloTaquire
 
Chapter 6 Section 1.ppt
Chapter 6 Section 1.pptChapter 6 Section 1.ppt
Chapter 6 Section 1.pptManoloTaquire
 
Chapter 5 Section (5).ppt
Chapter 5 Section (5).pptChapter 5 Section (5).ppt
Chapter 5 Section (5).pptManoloTaquire
 
Chapter 5 Section (3).ppt
Chapter 5 Section (3).pptChapter 5 Section (3).ppt
Chapter 5 Section (3).pptManoloTaquire
 
Chapter 1 Section 2.ppt
Chapter 1 Section 2.pptChapter 1 Section 2.ppt
Chapter 1 Section 2.pptManoloTaquire
 

More from ManoloTaquire (20)

Chapter 2 Section 3.ppt
Chapter 2 Section 3.pptChapter 2 Section 3.ppt
Chapter 2 Section 3.ppt
 
Chapter 4 Section 3.ppt
Chapter 4 Section 3.pptChapter 4 Section 3.ppt
Chapter 4 Section 3.ppt
 
Chapter 3 Section 2.ppt
Chapter 3 Section 2.pptChapter 3 Section 2.ppt
Chapter 3 Section 2.ppt
 
Chapter 2 Section 4.ppt
Chapter 2 Section 4.pptChapter 2 Section 4.ppt
Chapter 2 Section 4.ppt
 
Chapter 6 Section 7.ppt
Chapter 6 Section 7.pptChapter 6 Section 7.ppt
Chapter 6 Section 7.ppt
 
Chapter 4 Section 2.ppt
Chapter 4 Section 2.pptChapter 4 Section 2.ppt
Chapter 4 Section 2.ppt
 
Chapter 1 Section 4.ppt
Chapter 1 Section 4.pptChapter 1 Section 4.ppt
Chapter 1 Section 4.ppt
 
Chapter 3 Section 4.ppt
Chapter 3 Section 4.pptChapter 3 Section 4.ppt
Chapter 3 Section 4.ppt
 
Chapter 2 Section 1.ppt
Chapter 2 Section 1.pptChapter 2 Section 1.ppt
Chapter 2 Section 1.ppt
 
Chapter 3 Section 1.ppt
Chapter 3 Section 1.pptChapter 3 Section 1.ppt
Chapter 3 Section 1.ppt
 
Chapter 3 Section 3.ppt
Chapter 3 Section 3.pptChapter 3 Section 3.ppt
Chapter 3 Section 3.ppt
 
Chapter 6 Section 5.ppt
Chapter 6 Section 5.pptChapter 6 Section 5.ppt
Chapter 6 Section 5.ppt
 
Chapter 4 Section 1.ppt
Chapter 4 Section 1.pptChapter 4 Section 1.ppt
Chapter 4 Section 1.ppt
 
Chapter 4 Section 5.ppt
Chapter 4 Section 5.pptChapter 4 Section 5.ppt
Chapter 4 Section 5.ppt
 
Chapter 1 Section 3.ppt
Chapter 1 Section 3.pptChapter 1 Section 3.ppt
Chapter 1 Section 3.ppt
 
Chapter 6 Section 3.ppt
Chapter 6 Section 3.pptChapter 6 Section 3.ppt
Chapter 6 Section 3.ppt
 
Chapter 6 Section 1.ppt
Chapter 6 Section 1.pptChapter 6 Section 1.ppt
Chapter 6 Section 1.ppt
 
Chapter 5 Section (5).ppt
Chapter 5 Section (5).pptChapter 5 Section (5).ppt
Chapter 5 Section (5).ppt
 
Chapter 5 Section (3).ppt
Chapter 5 Section (3).pptChapter 5 Section (3).ppt
Chapter 5 Section (3).ppt
 
Chapter 1 Section 2.ppt
Chapter 1 Section 2.pptChapter 1 Section 2.ppt
Chapter 1 Section 2.ppt
 

Recently uploaded

IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Recently uploaded (20)

IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Chap011.ppt

  • 1. Two-sample Tests of Hypothesis Chapter 11 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 2. Learning Objectives LO1 Test a hypothesis that two independent population means with known population standard deviations are equal. LO2 Carry out a hypothesis test that two population proportions are equal. LO3 Conduct a hypothesis test that two independent population means are equal assuming equal but unknown population standard deviations. LO4 Conduct a test of a hypothesis that two independent population means are equal assuming unequal but unknown population standard deviations. LO5 Explain the difference between dependent and independent samples. LO6 Carry out a test of hypothesis about the mean difference between paired and dependent observations. 11-2
  • 3. Comparing two populations – Some Examples 1. Is there a difference in the mean value of residential real estate sold by male agents and female agents in south Florida? 2. Is there a difference in the mean number of defects produced on the day and the afternoon shifts at Kimble Products? 3. Is there a difference in the mean number of days absent between young workers (under 21 years of age) and older workers (more than 60 years of age) in the fast-food industry? 4. Is there is a difference in the proportion of Ohio State University graduates and University of Cincinnati graduates who pass the state Certified Public Accountant Examination on their first attempt? 5. Is there an increase in the production rate if music is piped into the production area? 11-3
  • 4. Comparing Two Population Means  No assumptions about the shape of the populations are required.  The samples are from independent populations.  The formula for computing the test statistic (z) is: 2 2 2 1 2 1 2 1 2 1 unknown are and if and 30 sizes sample if Use n s n s X X z       2 2 2 1 2 1 2 1 2 1 known are and if or 30 sizes sample if Use n n X X z         EXAMPLE The U-Scan facility was recently installed at the Byrne Road Food-Town location. The store manager would like to know if the mean checkout time using the standard checkout method is longer than using the U-Scan. She gathered the following sample information. The time is measured from when the customer enters the line until their bags are in the cart. Hence the time includes both waiting in line and checking out. Step 1: State the null and alternate hypotheses. (keyword: “longer than”) H0: µS ≤ µU H1: µS > µU Step 2: Select the level of significance. The .01 significance level is stated in the problem. LO1 Test a hypothesis that two independent population means with known population standard deviations are equal. 11-4
  • 5. Example 1 continued Step 3: Determine the appropriate test statistic. Because both population standard deviations are known, we can use z-distribution as the test statistic Step 4: Formulate a decision rule. Reject H0 if Z > Z Z > 2.33 Step 5: Compute the value of z and make a decision The computed value of 3.13 is larger than the critical value of 2.33. Our decision is to reject the null hypothesis. The difference of .20 minutes between the mean checkout time using the standard method is too large to have occurred by chance. We conclude the U-Scan method is faster. 13 . 3 064 . 0 2 . 0 100 30 . 0 50 40 . 0 3 . 5 5 . 5 2 2 2 2         u u s s u s n n X X z   LO1 11-5
  • 6. Two-Sample Tests about Proportions We investigate whether two samples came from populations with an equal proportion of successes. The two samples are pooled using the following formula. The value of the test statistic is computed from the following formula. EXAMPLE Manelli Perfume Company recently developed a new fragrance that it plans to market under the name Heavenly. A number of market studies indicate that Heavenly has very good market potential. The Sales Department at Manelli is particularly interested in whether there is a difference in the proportions of younger and older women who would purchase Heavenly if it were marketed. Samples are collected from each of these independent groups. Each sampled woman was asked to smell Heavenly and indicate whether she likes the fragrance well enough to purchase a bottle. Step 1: State the null and alternate hypotheses. (keyword: “there is a difference”) H0: 1 =  2 H1:  1 ≠  2 Step 2: Select the level of significance. The .05 significance level is stated in the problem. Step 3: Determine the appropriate test statistic. We will use the z-distribution LO2 Carry out a hypothesis test that two population proportions are equal. 11-6
  • 7. Two Sample Tests of Proportions - Example Step 4: Formulate the decision rule. Reject H0 if Z > Z/2 or Z < - Z/2 Z > Z.05/2 or Z < - Z.05/2 Z > 1.96 or Z < -1.96 5: Select a sample and make a decision  The computed value of 2.21 is in the area of rejection. Therefore, the null hypothesis is rejected at the .05 significance level. To put it another way, we reject the null hypothesis that the proportion of young women who would purchase Heavenly is equal to the proportion of older women who would purchase Heavenly. Let p1 = young women p2 = older women LO2 11-7
  • 8. Comparing Population Means with Unknown Population Standard Deviations (the Pooled t-test) The t distribution is used as the test statistic if one or more of the samples have less than 30 observations. The required assumptions are: 1. Both populations must follow the normal distribution. 2. The populations must have equal standard deviations. 3. The samples are from independent populations. Finding the value of the test statistic requires two steps. 1. Pool the sample standard deviations. 2. Use the pooled standard deviation in the formula. 2 ) 1 ( ) 1 ( 2 1 2 2 2 2 1 1 2       n n s n s n sp            2 1 2 2 1 1 1 n n s X X t p EXAMPLE Owens Lawn Care, Inc., manufactures and assembles lawnmowers that are shipped to dealers throughout the United States and Canada. Two different procedures have been proposed for mounting the engine on the frame of the lawnmower. The question is: Is there a difference in the mean time to mount the engines on the frames of the lawnmowers? To evaluate the two methods, it was decided to conduct a time and motion study. A sample of five employees was timed using the Welles method and six using the Atkins method. The results, in minutes, are shown below: Is there a difference in the mean mounting times? Use the .10 significance level. LO3 Conduct a hypothesis test that two independent population means are equal assuming equal but unknown population standard deviations. 11-8
  • 9. Comparing Population Means with Unknown Population Standard Deviations (the Pooled t-test) - Example Step 1: State the null and alternate hypotheses. (Keyword: “Is there a difference”) H0: µ1 = µ2 H1: µ1 ≠ µ2 Step 2: State the level of significance. The 0.10 significance level is stated in the problem. Step 3: Find the appropriate test statistic. Because the population standard deviations are not known but are assumed to be equal, we use the pooled t-test. Step 4: State the decision rule. Reject H0 if t > t/2,n1+n2-2 or t < - t/2, n1+n2-2 t > t.05,9 or t < - t.05,9 t > 1.833 or t < - 1.833 Step 5: Compute the value of t and make a decision The decision is not to reject the null hypothesis, because -0.662 falls in the region between -1.833 and 1.833. We conclude that there is no difference in the mean times to mount the engine on the frame using the two methods -0.662 LO3 11-9
  • 10. Comparing Population Means with Unequal Population Standard Deviations Compute the t-statistic shown on the right if it is not reasonable to assume the population standard deviations are equal. The sample standard deviations s1 and s2 are used in place of the respective population standard deviations. In addition, the degrees of freedom are adjusted downward by a rather complex approximation formula. The effect is to reduce the number of degrees of freedom in the test, which will require a larger value of the test statistic to reject the null hypothesis. EXAMPLE Personnel in a consumer testing laboratory are evaluating the absorbency of paper towels. They wish to compare a set of store brand towels to a similar group of name brand ones. For each brand they dip a ply of the paper into a tub of fluid, allow the paper to drain back into the vat for two minutes, and then evaluate the amount of liquid the paper has taken up from the vat. A random sample of 9 store brand paper towels absorbed the following amounts of liquid in milliliters. 8 8 3 1 9 7 5 5 12 An independent random sample of 12 name brand towels absorbed the following amounts of liquid in milliliters: 12 11 10 6 8 9 9 10 11 9 8 10 Use the .10 significance level and test if there is a difference in the mean amount of liquid absorbed by the two types of paper towels. LO4 Conduct a test of a hypothesis that two independent population means are equal assuming unequal but unknown population standard deviations. 11-10
  • 11. Comparing Population Means with Unequal Population Standard Deviations - Example The following dot plot provided by MINITAB shows the variances to be unequal. The following output provided by MINITAB shows the descriptive statistics LO4 11-11
  • 12. Comparing Population Means with Unequal Population Standard Deviations - Example Step 1: State the null and alternate hypotheses. H0: 1 = 2 H1: 1 ≠ 2 Step 2: State the level of significance. The .10 significance level is stated in the problem. Step 3: Find the appropriate test statistic. We will use unequal variances t-test Step 4: State the decision rule. Reject H0 if t > t/2d.f. or t < - t/2,d.f. t > t.05,10 or t < - t.05, 10 t > 1.812 or t < -1.812 Step 5: Compute the value of t and make a decision The computed value of t is less than the lower critical value, so our decision is to reject the null hypothesis. We conclude that the mean absorption rate for the two towels is not the same . LO4 11-12
  • 13. Two-Sample Tests of Hypothesis: Dependent Samples Dependent samples are samples that are paired or related in some fashion. For example:  If you wished to buy a car you would look at the same car at two (or more) different dealerships and compare the prices.  If you wished to measure the effectiveness of a new diet you would weigh the dieters at the start and at the finish of the program. Where is the mean of the differences sd is the standard deviation of the differences n is the number of pairs (differences) d t d s n d  / EXAMPLE Nickel Savings and Loan wishes to compare the two companies it uses to appraise the value of residential homes. Nickel Savings selected a sample of 10 residential properties and scheduled both firms for an appraisal. The results, reported in $000, are shown on the table (right). At the .05 significance level, can we conclude there is a difference in the mean appraised values of the homes? LO5 Carry out a test of hypothesis about the mean difference between paired and dependent observations. 11-13
  • 14. Hypothesis Testing Involving Paired Observations - Example Step 1: State the null and alternate hypotheses. H0: d = 0 H1: d ≠ 0 Step 2: State the level of significance. The .05 significance level is stated in the problem. Step 3: Find the appropriate test statistic. We will use the t-test Step 4: State the decision rule. Reject H0 if t > t/2, n-1 or t < - t/2,n-1 t > t.025,9 or t < - t.025, 9 t > 2.262 or t < -2.262 LO5 11-14
  • 15. Hypothesis Testing Involving Paired Observations - Example Step 5: Compute the value of t and make a decision The computed value of t (3.305) is greater than the higher critical value (2.262), so our decision is to reject the null hypothesis. We conclude that there is a difference in the mean appraised values of the homes. LO5 11-15