Lecture 6 Hypothesis Testing and z Test
Lecture 6 Hypothesis Testing and z Test
e testing of a statistical
hypothesis is perhaps the most
impo ant area of statistical
inference – Ronald E. Walpole
HYPOTHESIS
Null hypothesis
Alternative hypothesis
Null Hypothesis
It is denoted by H
o
It is denoted by H 1
Expected to be accepted
Never contains the equality sign
Uses the < or > or the ≠ sign
Generally represents the idea which the
researcher wants to prove
Example
Title: An evaluation of the e ectiveness of
online learning
Null Hypothesis (H ):
o
________________________________
________________________________
____
Alternative Hypothesis (H ):
1
________________________________
________________________________
____
Null Hypothesis
Null Hypothesis (H ):
o
________________________________
________________________________
____
Alternative Hypothesis (H ):
1
________________________________
________________________________
____
Meaning of Rejection and Non-Rejection
REMEMBER:
If you reject Ho, it means it is wrong;
If you do not reject Ho, it does not mean
that it is correct – it simply means you do
not have enough evidence to reject it.
LEVEL OF SIGNIFICANCE
Two-tailed test
Areas of Rejection
One-tailed test
One-tailed and two-tailed tests
1. HO: ___________
H1: ___________
2. α = ______; Critical value = ________
3. Decision Rule: Reject Ho if
│computed value│ ≥ │critical value│
4. Decision
5. Conclusion
Normality Test
Shapiro–Wilk test,
Kolmogorov–Smirnov test,
skewness,
kurtosis,
histogram, box plot,
P–P Plot,
Q–Q Plot, and
mean with SD
Normality Test
│2.23│ ≥ │2.33│
5-step solution
4. Decision: Accept Ho
since │2.23│ < │2.33│
5-step solution
Test at α = 0.05
5-step solution
5. Conclusion:
e pe ormance of the students without
calculator is signi cantly lower compared
to the pe ormance of students with
calculator at 0.05 level of signi cance
Two sample means and population
standard deviation is known
Two rival manufacturers of penlight batteries claimed that their product lasts
longer than the other. i y samples of Brand E and thi y-four of Brand N
were tested. e following are the lengths of lives of the batteries recorded in
hours.
Brand A
38 41 42 36 39 41 43 35 36 38
42 39 40 43 44 35 40 39 37 40
42 44 38 37 41 40 38 42 45 41
Brand
B
38 40 41 43 39 41 40 43 39 38
40 43 44 39 40 41 42 39 40 45
40 38 42 41 40 36 37 41 42 40
36 38 41 40
Test at 0-.05 level of signi cance if there is a signi cant di erence in the length
of life of the two brands of penlight batteries.