Testing of Hypothesis
Testing of Hypothesis
Hypothesis Testing
Introduction Hypothesis
• Hypothesis testing typically begins with some theory, claim, or
assertion about a particular parameter of a population
• These hypothetical statements are tested for their validity by the
information provided by random samples drawn from their
corresponding populations
• 𝐻0 : The performance of new drug is same as that of old drug i.e., the performance of new drug is not better
than old one etc.,
• Usually, a null hypothesis is expressed with “=” sign and sometimes ‘>=‘ or ‘<=‘.
• The null hypothesis is that the filling process is working properly, and therefore the mean fill is the 368-gram
specification
𝐻0 : 𝜇 = 368
➢ 𝜶 = 𝐏 Rejecting 𝐻0 𝐻0 is true)
P(Type II error)
𝛃 = 𝐏 Accepting 𝐻0 𝐻0 is false)
Note:
➢ 𝜶 and 𝛃 are not independent of each other as one increases, the other decreases
➢ When the sample size increases, both to decrease since sampling error is reduced.
➢ In general, we focus on Type I error, but Type II error is also important, particularly when sample size is
small.
𝑥ഥ −μ
Test statistics 𝑍=
𝑆𝐸𝑀
58−60
=
1.11
z = 1.80
Conclusion: Here we observe that the test statistic value of Z (1.11) is less than Critical value of Z(1.96). So we reject
Alternative hypothesis at 5% level of significance value. And we conclude that there is no sufficient evidence to support that
the mean life time Glucometer is 60
Significance Level
Critical Z Values
One tail test: Example
Step:01 – Set up of Hypothesis
Z score examples using standard
deviation
𝑥−𝑀𝑒𝑎𝑛 300−200
P(X > 300) =P >
𝑆𝐷 75
=P(Z > 1.33)
=1-P(Z < 1.33) Using Z table
= 1-0.9082
=0.0917
Set up of Hypothesis: Trick
Practice Question:01
Practice Question_02:
Practice Question_03
• Example 3: A teacher claims that the mean score of students in his
class is greater than 82 with a standard deviation of 20. If a sample of
81 students was selected with a mean score of 90 then check if there
is enough evidence to support this claim at a 0.05 significance level.
Practice Question:04