SlideShare a Scribd company logo
2
Most read
3
Most read
8
Most read
HYPOTHESIS TESTING
PART-III
DIFFERENCE OF MEANS
NADEEM UDDIN
ASSOCIATE PROFESSOR
OF STATISTICS
Hypothesis Test for the difference between means.
Statisticians follow a formal process to determine whether to
reject a null hypothesis, based on sample data. This process
called hypothesis testing.
1. State the hypotheses.
This involves stating the null and alternative hypotheses. The
hypotheses are stated in such a way that they are mutually
exclusive. That is, if one is true, the other must be false.
Set Null hypothesis Alternative
hypothesis Number of tails
1 μ1 - μ2 = d μ1 - μ2 ≠ d 2
2 μ1 - μ2 > d μ1 - μ2 < d 1
3 μ1 - μ2 < d μ1 - μ2 > d 1
2. Level of significance:
α = 0.01, 0.05 or any given value
    2 21 2
1 2
2 2
1 2
1 2
1 2
1. Z= and known
X X
when
n n
 
 
 
  

    2 21 2
1 2
2 2
1 2
1 2
1 2
1, 22. Z= and unknown and n 30
X X
when
n n
n
S S
 
 
  


    2 21 2
1 2
1 2
1 2
1, 23. t = and unknown and n <
1 1
30
p
X X
when
n n
n
S
 
 
  

3. Test Statistic
4. Critical Region:
The set of values outside the region of acceptance is called
the region of rejection. If the test statistic falls within the region
of rejection, the null hypothesis is rejected. In such cases, we say
that the hypothesis has been rejected at the α level of
significance. The following steps are use to find the critical
region.
For Test statistic (1) and (2)
Z > Zα/2 and Z< - Zα/2 When H1: μ1 - μ2 ≠ d
Z > Zα When H1: μ1 - μ2 > d
Z< - Zα When H1: μ1 - μ2 < d
For Test statistic (3)
t > tα/2,υ and t < - tα/2,υ When H1: μ1 - μ2 ≠ d
t > tα, υ When H1: μ1 - μ2 > d
t < - tα, υ When H1: μ1 - μ2 < d ;Where v = n1+n2 - 2
5. Computation:
Find the value of the test statistic
6. Conclusion:
If the calculated value of test statistic falls in the
area of rejection, we reject the null hypothesis
otherwise accept it.
Test Concerning Double Means
Example-1:
Two independent samples of observations were
collected for the first sample of 60 elements, the mean
was 86 and the standard deviation 6. The second sample
of 75 elements had a mean of 82 and a standard
deviation of 9. Using α=0.01, test whether the two
samples can reasonably be considered to have come
from populations with the same mean.
Solution:
n1=60 n2=75
s1=6 s2=9
𝑥1=86 𝑥2=82
α = 0.01
1. Hypothesis H0: 𝜇1 − 𝜇2 = 0
H1: 𝜇1 − 𝜇2 ≠ 0
2. Level of significance α = 0.01
3. Test statistic    1 2 1 2
2 2
1 2
1 2
X X
z
S S
n n
   


4. Critical Region
In case of two tail test i.e. H1 𝑖𝑠 ≠.
Reject H0, if 𝑍 𝑐𝑎𝑙 ≤ −𝑍𝑡𝑎𝑏 or 𝑍 𝑐𝑎𝑙 ≥ 𝑍𝑡𝑎𝑏.
Where 𝑍𝑡𝑎𝑏 = 𝑍 𝛼
2
= 𝑍0.01
2
= 𝑍0.005 = 2.58
𝑍 𝑐𝑎𝑙 ≤ −2.58 or 𝑍 𝑐𝑎𝑙 ≥ 2.58.
(Using inverse area of normal table)
5. Computation
   
2 2
(86 82) (0)
6 9
60 75
Z 
 

=Zcal= 3.09
6. Conclusion: Reject H0.
2.58 –0– 2.58
Example-2:
A manufacturer claims that the average tensile strength of thread
A exceeds the average tensile strength of thread B by at least
12kg. To test this claim 50 pieces of each thread are tested under
similar condition. Type A thread had an average tensile strength
of 80kg with a standard deviation of 5kg. While type B thread
had an average tensile strength of 70kg. With a standard deviation
of 4kg. Test the manufacturer’s claim using 0.01 level of
significance.
Solution:
n1 = 50 n2 = 50
s1 = 5 s2 = 4
𝑥1 = 80 𝑥2 = 70
α = 0.01
1. Hypothesis H0: 𝜇1 − 𝜇2 ≥ 12
H1: 𝜇1 − 𝜇2 < 12
2. Level of significance α = 0.01
3. Test statistic    1 2 1 2
2 2
1 2
1 2
X X
z
S S
n n
   


4. Critical Region
5. Computation
   
2 2
(80 70) (12)
2.21
5 4
50 50
Z 
 
 

6. Conclusion: Accept H0.
2.33 –0– 
In case of lower tail test i.e. H1 𝑖𝑠 ˂.
Reject H0, if 𝑍 𝑐𝑎𝑙 ≤ −𝑍𝑡𝑎𝑏
Where 𝑍𝑡𝑎𝑏 = 𝑍 𝛼 = 𝑍0.01 = −2.33
𝑍 𝑐𝑎𝑙 ≤ −2.33
(Using inverse area of normal table)
Example-3:
A course in mathematics is taught to 12 students by the
conventional classroom procedure. A second group of
10 students was given the same course by means of
programmed materials. At the end of the semester the
same examination was given each group. The 12
students meeting in the classroom made an average
grade of 85 with a standard deviation of 4, while the 10
students using programmed materials made an average
of 81 with a standard deviation of 5. Test the hypothesis
that the two methods of learning are equal using a 0.10
level of significance. Assume the populations to be
approximately normal with equal variances.
Solution:
n1 = 12 n2 = 10
s1 = 4 s2 = 5
𝑥1 = 85 𝑥2 = 81
α = 0.10
1 .Hypothesis
H0: 𝜇1 − 𝜇2 = 0
H1: 𝜇1 − 𝜇2 ≠ 0
2. Level of significance α = 0.10
3. Test statistic    1 2 1 2
1 2
1 1
p
X X
t
n n
S
   


1.725 –0– 1.725
4. Critical Region
In case of two tail test i.e. H1 𝑖𝑠 ≠.
Reject H0, if 𝑡 𝑐𝑎𝑙 ≤ −𝑡𝑡𝑎𝑏 or 𝑡 𝑐𝑎𝑙 ≥ 𝑡𝑡𝑎𝑏.
Where 𝑡𝑡𝑎𝑏 = 𝑡 𝛼
2
,(𝑛1+𝑛2−2) = 𝑡0.10
2
,(12+10−2)
= 𝑡0.05,20 = 1.725
𝑡 𝑐𝑎𝑙 ≤ −1.725 or 𝑡 𝑐𝑎𝑙 ≥ 1.725.
5. Computation    2 2
1 1 2 2
1 2
1 1
2
n s n s
sp
n n
  


   
   
2 2
12 1 10 1
12 10 2
(4) (5)
4.478
85 81 0
1 1
4.478
12 10
2.07cal
sp
t
t
  

 

 



6. Conclusion: Reject H0.

More Related Content

PDF
Chapter 5 part1- The Sampling Distribution of a Sample Mean
PPTX
The Central Limit Theorem
PPT
Descriptive statistics
PDF
Assumptions of Linear Regression - Machine Learning
PPTX
Central limit theorem
PPTX
Regression analysis
PPT
PPTX
Regression analysis.
Chapter 5 part1- The Sampling Distribution of a Sample Mean
The Central Limit Theorem
Descriptive statistics
Assumptions of Linear Regression - Machine Learning
Central limit theorem
Regression analysis
Regression analysis.

What's hot (20)

PPTX
Point Estimation
PPT
Normal distribution stat
PPTX
Two Proportions
PPT
Confidence Intervals
PPTX
Hypothesis testing Part1
PPTX
introduction to probability
PPTX
Normal distribution
PDF
Correlation and Simple Regression
PPTX
Normal Distribution.pptx
PPT
Test of hypothesis
PPTX
Statistical inference concept, procedure of hypothesis testing
PPT
Measure of Dispersion
PPTX
Measures of Spread
PPTX
Hypothesis testing
PPTX
Non parametric test
PPT
Skewness and Kurtosis
PPT
Simple linear regression
PPT
Normal Probability Distribution
PPTX
Statistics & probability
PPTX
Hypothesis Testing
Point Estimation
Normal distribution stat
Two Proportions
Confidence Intervals
Hypothesis testing Part1
introduction to probability
Normal distribution
Correlation and Simple Regression
Normal Distribution.pptx
Test of hypothesis
Statistical inference concept, procedure of hypothesis testing
Measure of Dispersion
Measures of Spread
Hypothesis testing
Non parametric test
Skewness and Kurtosis
Simple linear regression
Normal Probability Distribution
Statistics & probability
Hypothesis Testing
Ad

Similar to Hypothesis testing part iii for difference of means (20)

PPTX
Two Means, Independent Samples
PPT
Chapter11
PPTX
3.1 Inference about Two Population Mean_Summer 2025.pptx
PDF
t-z-chi-square tests of sig.pdf
DOC
Str t-test1
PDF
Hypothesis testing
PPT
Stat5 the t test
PPT
Stat5 the t test
PPT
T-Test for research manual for Research Methodology Final
PDF
Chapter07.pdf
PPTX
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
PPTX
Hypothesis testing part ii for single mean
PPTX
Two Means Independent Samples
PDF
C2 st lecture 10 basic statistics and the z test handout
PPTX
Lesson 4 Chapter 10 by Bongoyan, Rom Carlvren P. BSECE-1.pptx
PPT
Nonparametric statistics
PPT
Lesson06_new
PDF
C2 st lecture 13 revision for test b handout
PPT
T test statistics
PPT
Test of hypothesis (t)
Two Means, Independent Samples
Chapter11
3.1 Inference about Two Population Mean_Summer 2025.pptx
t-z-chi-square tests of sig.pdf
Str t-test1
Hypothesis testing
Stat5 the t test
Stat5 the t test
T-Test for research manual for Research Methodology Final
Chapter07.pdf
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis testing part ii for single mean
Two Means Independent Samples
C2 st lecture 10 basic statistics and the z test handout
Lesson 4 Chapter 10 by Bongoyan, Rom Carlvren P. BSECE-1.pptx
Nonparametric statistics
Lesson06_new
C2 st lecture 13 revision for test b handout
T test statistics
Test of hypothesis (t)
Ad

More from Nadeem Uddin (20)

PDF
A corporation has 15 salesmen.pdf
DOCX
A question paper is divided into three groups A.docx
DOCX
If on the average the rain falls on twelve days in every thirty day.docx
DOCX
If on the average the rain falls on twelve days in every thirty days.docx
DOCX
If A and B play a game in which the probability that A wins is (2).docx
DOCX
If A and B play a game in which the probability that A wins is.docx
DOCX
Suppose you are eating at cafeteria with two friends.docx
DOCX
Three men toss in succession for a prize to be given to the one.docx
DOCX
Two men A and B toss in succession for a prize to be given to the one.docx
DOCX
For the following venn diagram.docx
DOCX
A group of 50 people was asked of three newspapers.docx
DOCX
In a survey of 100 participants.docx
DOCX
Probability by venn diagram.docx
DOCX
A bag contains 6 red and 4 black balls.docx
DOCX
Suppose that the probability is 0.8 that any given person will believe a tale...
DOCX
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
DOCX
The probability that a candidate passes a certain professional examination is...
DOCX
The probability that three men hit a target are respectively 1.docx
DOCX
In a survey of a group of people the following results are obtained.docx
DOCX
The probability that a student passes mathematics is 2.docx
A corporation has 15 salesmen.pdf
A question paper is divided into three groups A.docx
If on the average the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty days.docx
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is.docx
Suppose you are eating at cafeteria with two friends.docx
Three men toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docx
For the following venn diagram.docx
A group of 50 people was asked of three newspapers.docx
In a survey of 100 participants.docx
Probability by venn diagram.docx
A bag contains 6 red and 4 black balls.docx
Suppose that the probability is 0.8 that any given person will believe a tale...
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
The probability that a candidate passes a certain professional examination is...
The probability that three men hit a target are respectively 1.docx
In a survey of a group of people the following results are obtained.docx
The probability that a student passes mathematics is 2.docx

Recently uploaded (20)

PDF
IGGE1 Understanding the Self1234567891011
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Empowerment Technology for Senior High School Guide
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
advance database management system book.pdf
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
Computing-Curriculum for Schools in Ghana
PDF
1_English_Language_Set_2.pdf probationary
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Classroom Observation Tools for Teachers
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Trump Administration's workforce development strategy
IGGE1 Understanding the Self1234567891011
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Empowerment Technology for Senior High School Guide
A powerpoint presentation on the Revised K-10 Science Shaping Paper
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
advance database management system book.pdf
Digestion and Absorption of Carbohydrates, Proteina and Fats
Computing-Curriculum for Schools in Ghana
1_English_Language_Set_2.pdf probationary
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Indian roads congress 037 - 2012 Flexible pavement
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
History, Philosophy and sociology of education (1).pptx
Classroom Observation Tools for Teachers
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Trump Administration's workforce development strategy

Hypothesis testing part iii for difference of means

  • 1. HYPOTHESIS TESTING PART-III DIFFERENCE OF MEANS NADEEM UDDIN ASSOCIATE PROFESSOR OF STATISTICS
  • 2. Hypothesis Test for the difference between means. Statisticians follow a formal process to determine whether to reject a null hypothesis, based on sample data. This process called hypothesis testing. 1. State the hypotheses. This involves stating the null and alternative hypotheses. The hypotheses are stated in such a way that they are mutually exclusive. That is, if one is true, the other must be false. Set Null hypothesis Alternative hypothesis Number of tails 1 μ1 - μ2 = d μ1 - μ2 ≠ d 2 2 μ1 - μ2 > d μ1 - μ2 < d 1 3 μ1 - μ2 < d μ1 - μ2 > d 1
  • 3. 2. Level of significance: α = 0.01, 0.05 or any given value     2 21 2 1 2 2 2 1 2 1 2 1 2 1. Z= and known X X when n n               2 21 2 1 2 2 2 1 2 1 2 1 2 1, 22. Z= and unknown and n 30 X X when n n n S S              2 21 2 1 2 1 2 1 2 1, 23. t = and unknown and n < 1 1 30 p X X when n n n S         3. Test Statistic
  • 4. 4. Critical Region: The set of values outside the region of acceptance is called the region of rejection. If the test statistic falls within the region of rejection, the null hypothesis is rejected. In such cases, we say that the hypothesis has been rejected at the α level of significance. The following steps are use to find the critical region. For Test statistic (1) and (2) Z > Zα/2 and Z< - Zα/2 When H1: μ1 - μ2 ≠ d Z > Zα When H1: μ1 - μ2 > d Z< - Zα When H1: μ1 - μ2 < d For Test statistic (3) t > tα/2,υ and t < - tα/2,υ When H1: μ1 - μ2 ≠ d t > tα, υ When H1: μ1 - μ2 > d t < - tα, υ When H1: μ1 - μ2 < d ;Where v = n1+n2 - 2
  • 5. 5. Computation: Find the value of the test statistic 6. Conclusion: If the calculated value of test statistic falls in the area of rejection, we reject the null hypothesis otherwise accept it.
  • 6. Test Concerning Double Means Example-1: Two independent samples of observations were collected for the first sample of 60 elements, the mean was 86 and the standard deviation 6. The second sample of 75 elements had a mean of 82 and a standard deviation of 9. Using α=0.01, test whether the two samples can reasonably be considered to have come from populations with the same mean.
  • 7. Solution: n1=60 n2=75 s1=6 s2=9 𝑥1=86 𝑥2=82 α = 0.01 1. Hypothesis H0: 𝜇1 − 𝜇2 = 0 H1: 𝜇1 − 𝜇2 ≠ 0 2. Level of significance α = 0.01 3. Test statistic    1 2 1 2 2 2 1 2 1 2 X X z S S n n      
  • 8. 4. Critical Region In case of two tail test i.e. H1 𝑖𝑠 ≠. Reject H0, if 𝑍 𝑐𝑎𝑙 ≤ −𝑍𝑡𝑎𝑏 or 𝑍 𝑐𝑎𝑙 ≥ 𝑍𝑡𝑎𝑏. Where 𝑍𝑡𝑎𝑏 = 𝑍 𝛼 2 = 𝑍0.01 2 = 𝑍0.005 = 2.58 𝑍 𝑐𝑎𝑙 ≤ −2.58 or 𝑍 𝑐𝑎𝑙 ≥ 2.58. (Using inverse area of normal table) 5. Computation     2 2 (86 82) (0) 6 9 60 75 Z     =Zcal= 3.09 6. Conclusion: Reject H0. 2.58 –0– 2.58
  • 9. Example-2: A manufacturer claims that the average tensile strength of thread A exceeds the average tensile strength of thread B by at least 12kg. To test this claim 50 pieces of each thread are tested under similar condition. Type A thread had an average tensile strength of 80kg with a standard deviation of 5kg. While type B thread had an average tensile strength of 70kg. With a standard deviation of 4kg. Test the manufacturer’s claim using 0.01 level of significance.
  • 10. Solution: n1 = 50 n2 = 50 s1 = 5 s2 = 4 𝑥1 = 80 𝑥2 = 70 α = 0.01 1. Hypothesis H0: 𝜇1 − 𝜇2 ≥ 12 H1: 𝜇1 − 𝜇2 < 12 2. Level of significance α = 0.01 3. Test statistic    1 2 1 2 2 2 1 2 1 2 X X z S S n n      
  • 11. 4. Critical Region 5. Computation     2 2 (80 70) (12) 2.21 5 4 50 50 Z       6. Conclusion: Accept H0. 2.33 –0–  In case of lower tail test i.e. H1 𝑖𝑠 ˂. Reject H0, if 𝑍 𝑐𝑎𝑙 ≤ −𝑍𝑡𝑎𝑏 Where 𝑍𝑡𝑎𝑏 = 𝑍 𝛼 = 𝑍0.01 = −2.33 𝑍 𝑐𝑎𝑙 ≤ −2.33 (Using inverse area of normal table)
  • 12. Example-3: A course in mathematics is taught to 12 students by the conventional classroom procedure. A second group of 10 students was given the same course by means of programmed materials. At the end of the semester the same examination was given each group. The 12 students meeting in the classroom made an average grade of 85 with a standard deviation of 4, while the 10 students using programmed materials made an average of 81 with a standard deviation of 5. Test the hypothesis that the two methods of learning are equal using a 0.10 level of significance. Assume the populations to be approximately normal with equal variances.
  • 13. Solution: n1 = 12 n2 = 10 s1 = 4 s2 = 5 𝑥1 = 85 𝑥2 = 81 α = 0.10 1 .Hypothesis H0: 𝜇1 − 𝜇2 = 0 H1: 𝜇1 − 𝜇2 ≠ 0 2. Level of significance α = 0.10 3. Test statistic    1 2 1 2 1 2 1 1 p X X t n n S      
  • 14. 1.725 –0– 1.725 4. Critical Region In case of two tail test i.e. H1 𝑖𝑠 ≠. Reject H0, if 𝑡 𝑐𝑎𝑙 ≤ −𝑡𝑡𝑎𝑏 or 𝑡 𝑐𝑎𝑙 ≥ 𝑡𝑡𝑎𝑏. Where 𝑡𝑡𝑎𝑏 = 𝑡 𝛼 2 ,(𝑛1+𝑛2−2) = 𝑡0.10 2 ,(12+10−2) = 𝑡0.05,20 = 1.725 𝑡 𝑐𝑎𝑙 ≤ −1.725 or 𝑡 𝑐𝑎𝑙 ≥ 1.725.
  • 15. 5. Computation    2 2 1 1 2 2 1 2 1 1 2 n s n s sp n n              2 2 12 1 10 1 12 10 2 (4) (5) 4.478 85 81 0 1 1 4.478 12 10 2.07cal sp t t             6. Conclusion: Reject H0.