Chapter 9 - KT110H
Chapter 9 - KT110H
Contents
1.- Developing Null and Alternative Hypotheses
2.- Type I and Type II Errors
3.- Population Mean: σ Known
4.- Population Mean: σ Unknown
5.- Population Proportion
6.– Hypothesis Testing and Decision Making
7.– Calculating the Probability of Type II Errors
8.– Determining the Sample Size for a Hypothesis Test about a Population
Mean
9.– Big Data and Hypothesis Testing
1
26/09/2024
Hypothesis Testing
• Hypothesis testing can be used to determine whether a statement
about the value of a population parameter should or should not be
rejected.
• The null hypothesis, denoted by H0 , is a tentative assumption about a
population parameter.
• The alternative hypothesis, denoted by Ha, is the opposite of what is
stated in the null hypothesis.
• The hypothesis testing procedure uses data from a sample to test the
two competing statements indicated by H0 and Ha.
2
26/09/2024
Example: A new teaching method is developed that is believed to be better than the
current method.
Null Hypothesis: The new method is no better than the old method.
Alternative Hypothesis: The new teaching method is better.
5
Example: A new drug is developed with the goal of lowering blood pressure
more than the existing drug.
Null Hypothesis: The new drug does not lower blood pressure more than the
existing drug.
Alternative Hypothesis: The new drug lowers blood pressure more than the
existing drug.
3
26/09/2024
4
26/09/2024
10
5
26/09/2024
Type I Error
• Because hypothesis tests are based on sample data, we must allow
for the possibility of errors.
• A Type I error is rejecting H0 when it is true.
• The probability of making a Type I error when the null hypothesis is
true as an equality is called the level of significance.
• Applications of hypothesis testing that only control for the Type I
error are often called significance tests.
11
Type II Error
• A Type II error is accepting H0 when it is false.
• It is difficult to control for the probability of making a Type II error.
• Statisticians avoid the risk of making a Type II error by using “do not
reject H0 ”rather than “accept H0”.
12
6
26/09/2024
13
14
7
26/09/2024
15
16
8
26/09/2024
• p-Value Approach
17
• The value of the test statistic that established the boundary of the
rejection region is called the critical value for the test.
• The rejection rule is:
Lower tail: Reject H0 if 𝑧 ≤ –𝑧α
Upper tail: Reject H0 if 𝑧 ≥ 𝑧α
18
9
26/09/2024
19
20
10
26/09/2024
p-Value Approach
• Step 4. Use the value of the test statistic to compute the p-value.
• Step 5. Reject H0 if p-value ≤ α.
21
• The EMS director wants to perform a hypothesis test, with a .05 level
of significance, to determine whether the service goal of 12 minutes
or less is being achieved.
22
11
26/09/2024
23
24
12
26/09/2024
25
26
13
26/09/2024
27
• Use the standard normal probability distribution table to find 𝑧α/2 (the
𝑧-value with an area of α/2 in the upper tail of the distribution).
• The rejection rule is:
28
14
26/09/2024
• Assume that a sample of 30 toothpaste tubes provides a sample mean of 6.1 oz. The
population standard deviation is believed to be 0.2 oz.
• Perform a hypothesis test, at the 0.03 level of significance, to help determine whether
the filling process should continue operating or be stopped and corrected.
29
30
15
26/09/2024
31
32
16
26/09/2024
33
34
17
26/09/2024
35
36
18
26/09/2024
• Test Statistic:
37
38
19
26/09/2024
39
• The locations where H0 is rejected are deemed the best locations for
radar traps. At Location F, a sample of 64 vehicles shows a mean
speed of 66.2 km/h with a standard deviation of 4.2 km/h. Use α =
0.05 to test the hypothesis.
40
20
26/09/2024
41
42
21
26/09/2024
43
44
22
26/09/2024
45
46
23
26/09/2024
47
• For a Christmas and New Year’s week, the National Safety Council
estimated that 500 people would be killed and 25,000 injured on the
nation’s roads. The NSC claimed that 50% of the accidents would be
caused by drunk driving.
48
24
26/09/2024
49
50
25
26/09/2024
51
26