Hypothesis Testing Presentation
Hypothesis Testing Presentation
Hypothesis Testing Presentation
Objectives
• Recall the terms used in the last session about
hypothesis testing.
• Understand the use of hypothesis testing in real
life applications
• Determine the steps in doing test of hypothesis
• Create inferences based on the methods of
hypothesis testing.
Steps for Hypothesis Testing
1
• State the null and alternative hypotheses.
2
• Select a level of significance.
3
• Select the test statistic.
4
• Determine the critical region.
5
• Compute the value of the test statistic.
6
• Make a decision/conclusion.
Step 1: State the null and alternative
hypotheses.
• A null hypothesis is a statement about the value of a population parameter
formulated with the hope of it being rejected. It is usually denoted by H0.
• If H0 is rejected, we will be led to accept an alternative hypothesis,
denoted by H1 or Ha.
Remarks
• To test a hypothesis, we take a sample from a population
and use the information obtained in the sample to decide
whether the hypothesis is likely to be true or false.
• If the evidence from the sample is inconsistent with the
hypothesis, we reject it. Otherwise, we “accept” it.
Remarks
NO YES
Step 3: test statistics since the population sd is given, use , use z-test
X o
Z
n
48−50
Step 5: computation 𝑧 = 6 z= -1.33
16
Step 6: Decision
Since the computed z value of l-1.33l is less than 1.96 and is within the critical region of acceptance,
thus, the null hypothesis is accepted. There is no sufficient evidence to accept the alternative
hypothesis. Thus, the mean value is equal to 50.
Example 2 𝜇𝑜 n Use z-table!
𝑋ത
S
Use 𝑧𝛼 = 2.33
Step 1: Ho: µ=25,000
Ha: µ<25,000
Step 2: Level of significance α = 0.01
23.500−25,000
Step 5: computation 𝑧 = 3,900 z= -3.85
100
Step 6: Decision
Since computed z value of -3.85 is less than -2.33 and is within the critical region of rejection, thus,
the null hypothesis is rejected. There is sufficient evidence to accept the alternative hypothesis.
Thus, the automobile driven is less than 25,000 per year.
Example 3
n Use t-table with df = 19
c=19
244−230
Step 5: computation t= 24.5 t= 2.56
20
Step 6: Decision
Since computed t value of 2.56 is greater than 2.093 and is within the critical region of acceptance,
thus, the null hypothesis is accepted. There is sufficient evidence to accept the null hypothesis.
Thus, the average sodium content for single serving of Special K do not exceed the human
requirement for salt at .025 .
Step 1: Ho: µ=230
Ha: µ>230
Step 2: Level of significance α = 0.05
c=19
244−230
Step 5: computation t= 24.5 t= 2.56
20
Step 6: Decision
Since computed t value of 2.56 is greater than 1.729 and is within the critical region of acceptance,
thus, the null hypothesis is accepted. There is sufficient evidence to accept the null hypothesis.
Thus, the average sodium content for single serving of Special K do not exceed the human
requirement for salt at .05 .
Step 1: Ho: µ=230
Ha: µ>230
Step 2: Level of significance α = 0.10
c=19
244−230
Step 5: computation t= 24.5 t= 2.56
20
Step 6: Decision
Since computed t value of 2.56 is greater than 1.328 and is within the critical region of acceptance,
thus, the null hypothesis is accepted. There is sufficient evidence to accept the null hypothesis.
Thus, the average sodium content for single serving of Special K do not exceed the human
requirement for salt at .10 .
Testing p = p0
n
Step 1: Ho: µ=.90
Ha: µ< .90
Step 2: Level of significance α = 0.01
.82−.90
Step 5: computation 𝑧 = z= -2.67
.90 (.10)
100
Step 6: Decision
Since computed z value of -2.67 is less than -2.33 and is within the critical region of rejection, thus,
the null hypothesis is rejected. This is sufficient evidence to reject the null hypothesis. Thus, less
than 90% of the orders are delivered in less than 10 minutes.
Example 2
X
288
−.20
1250
Step 5: computation 𝑧 = z= 2.68
.20 (.80)
1250
Step 6: Decision
Since computed z value of 2.68 is greater than -2.33 and is within the critical region of acceptance,
thus, the null hypothesis is rejected. There is no sufficient evidence to reject the null hypothesis.
Thus, the commuters are not less than 20% of the household.
- End -