Unit 4B - 1 - STUDENTS - Hypotheses Testing For One Population
Unit 4B - 1 - STUDENTS - Hypotheses Testing For One Population
T MOTSIMA : 2023
PowePoint slides from Lombard C, van der Merwe L, Kele T & Mouton A also used
At the end of the chapter you will be able:
• to develop hypothesis testing methodology.
• to introduce the steps in the hypothesis testing
procedure.
• to describe hypothesis tests concerning population
mean, proportion and variance.
2
A hypothesis is a statement or claim that something is true
Two types of hypotheses (null and alternative)
– Null hypothesis is denoted by H0
• No effect or no difference
• Must be declared true/not true
– Alternative hypothesis is denoted by H1
• A hypothesis that differs from H0
Types of hypothesis tests
1. Two-tailed/ non-directional (H1 involves ≠)
2. 2. One-tailed/directional (H1 involves < or >)
At least : ≥ _________
At most : ≤ _________
Less/smaller/slower/lower/worse than: <
3
More/exceeds/greater/larger/higher/faster/better than : >
Types of hypothesis tests
1. Two-tailed/ non-directional (H1 involves ≠)
2. One-tailed/directional (H1 involves < or >)
H0 : µ = 5 H0 : µ ≤ 5 H0 : µ ≥ 5
H1 : µ ≠ 5 H1 : µ > 5 H1 : µ < 5
At least : ≥ minimum
At most : ≤ maximum
Less/smaller/slower/lower/worse than: <
More/exceeds/greater/larger/higher/faster/better than : >
4
Types of errors:
Decision Actual situation
H0 is true H0 is not true
Do no reject H0 Correct decision Type II error = β
Reject H0 Type I error = α Correct decision
6
Hypothesis Testing Step 5
Make decision
H0
H0
α H0
α/2 α/2 α
1. The nurse claims that the average weight of patients that came to the clinic
yesterday is less than 80kg.
2. The nurse claims that the average weight of patients that came to the clinic
yesterday is 80kg.
3. The nurse claims that the average weight of patients that came to the clinic
yesterday is different from 80kg.
Example: State the null and alternative hypotheses
4. The manager at the gym claims that the average weight of male clients who are
affiliated with his gym is less than 75.5kg.
5. The manager of a store claims that the proportion of customers who like to buy
fat cakes from their store is not 70%.
6. The sales manager claims that the proportion of clients who bought their product
is 30%.
Example
Sugar is packed in bags by an automatic machine. From a random sample of 36
that was selected throughout the day the mean mass of the contents of a bag is
1.003kg. The standard deviation on all bags packed is 0.01kg. Test at a 5% level of
significance whether the mean on all bags is 1kg.
n = 36; = 1; = 0.01
Step 1: H 0 : = 1 vs H1 : 1 Step 2: α = 0.05
x − 0 1.003 − 1
Z = = = ________
Step 3: Test statistic: 0.01
n 36
Step 5: Decision: Reject H0 if Z ≥ Z1- α. Since Z = -3.54 < 1.645, do not reject H0.
17
Step 1: Step 2: = ____
Step 3:
Step 5:
Step 5: Decision
23
Step 1: Step 2: α = ____
Step 5: Decision
Step 5: Decision
29
Step 1: Step 2: α = _______
Step 5: Decision
31