SlideShare a Scribd company logo
1 of 15
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

What's hot

Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
Parametric tests
Parametric testsParametric tests
Parametric testsheena45
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingArnab Sadhu
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statisticsakbhanj
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimationTech_MX
 
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...Stats Statswork
 
Data Analysis and Statistics
Data Analysis and StatisticsData Analysis and Statistics
Data Analysis and StatisticsT.S. Lim
 
PROBABILITY SAMPLING TECHNIQUES
PROBABILITY SAMPLING TECHNIQUESPROBABILITY SAMPLING TECHNIQUES
PROBABILITY SAMPLING TECHNIQUESAzam Ghaffar
 
Systematic sampling in probability sampling
Systematic sampling in probability sampling Systematic sampling in probability sampling
Systematic sampling in probability sampling Sachin H
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Harve Abella
 
Skewness & Kurtosis
Skewness & KurtosisSkewness & Kurtosis
Skewness & KurtosisNavin Bafna
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introductionGeetika Gulyani
 

What's hot (20)

Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimation
 
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
 
Data Analysis and Statistics
Data Analysis and StatisticsData Analysis and Statistics
Data Analysis and Statistics
 
PROBABILITY SAMPLING TECHNIQUES
PROBABILITY SAMPLING TECHNIQUESPROBABILITY SAMPLING TECHNIQUES
PROBABILITY SAMPLING TECHNIQUES
 
Statistical Inference
Statistical Inference Statistical Inference
Statistical Inference
 
Sampling design
Sampling designSampling design
Sampling design
 
Statistical analysis
Statistical  analysisStatistical  analysis
Statistical analysis
 
Systematic sampling in probability sampling
Systematic sampling in probability sampling Systematic sampling in probability sampling
Systematic sampling in probability sampling
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)
 
Skewness & Kurtosis
Skewness & KurtosisSkewness & Kurtosis
Skewness & Kurtosis
 
Z test
Z testZ test
Z test
 
Estimation
EstimationEstimation
Estimation
 
Two Proportions
Two Proportions  Two Proportions
Two Proportions
 
Statistical ppt
Statistical pptStatistical ppt
Statistical ppt
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 

Similar to Hypothesis testing part iii for difference of means

t-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdft-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdfAmoghLavania1
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1iamkim
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single meanNadeem Uddin
 
C2 st lecture 10 basic statistics and the z test handout
C2 st lecture 10   basic statistics and the z test handoutC2 st lecture 10   basic statistics and the z test handout
C2 st lecture 10 basic statistics and the z test handoutfatima d
 
Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statisticsTarun Gehlot
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_newshengvn
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handoutfatima d
 
Test of hypothesis (t)
Test of hypothesis (t)Test of hypothesis (t)
Test of hypothesis (t)Marlon Gomez
 
Chapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docx
Chapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docxChapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docx
Chapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docxtiffanyd4
 

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

Two Means, Independent Samples
Two Means, Independent SamplesTwo Means, Independent Samples
Two Means, Independent Samples
 
Chapter11
Chapter11Chapter11
Chapter11
 
t-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdft-z-chi-square tests of sig.pdf
t-z-chi-square tests of sig.pdf
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Stat5 the t test
Stat5 the t testStat5 the t test
Stat5 the t test
 
Stat5 the t test
Stat5 the t testStat5 the t test
Stat5 the t test
 
Chapter07.pdf
Chapter07.pdfChapter07.pdf
Chapter07.pdf
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single mean
 
Two Means Independent Samples
Two Means Independent Samples  Two Means Independent Samples
Two Means Independent Samples
 
C2 st lecture 10 basic statistics and the z test handout
C2 st lecture 10   basic statistics and the z test handoutC2 st lecture 10   basic statistics and the z test handout
C2 st lecture 10 basic statistics and the z test handout
 
Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statistics
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handout
 
Test of hypothesis (t)
Test of hypothesis (t)Test of hypothesis (t)
Test of hypothesis (t)
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
117 chap8 slides
117 chap8 slides117 chap8 slides
117 chap8 slides
 
Chapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docx
Chapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docxChapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docx
Chapter 9 Two-Sample Inference 265 Chapter 9 Two-Sam.docx
 
Student t t est
Student t t estStudent t t est
Student t t est
 

More from Nadeem Uddin

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

More from Nadeem Uddin (20)

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

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 

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.