Chapter 6 Hypothesis Test
Chapter 6 Hypothesis Test
CHAPTER 6
HYPOTHESIS TESTING
(b) A contractor wishes to lower heating bills by using a special type of insulation in houses. If the average of the monthly
heating bills is $78, her hypotheses about heating costs with the use of insulation are
𝐻0 : µ = 800 ℎ𝑜𝑢𝑟𝑠 (The mean lifespan of the electric water heater is 800 hours)
𝐻1 : µ > 800 ℎ𝑜𝑢𝑟𝑠 (The mean lifespan of the electric water heater is more than 800 hours)
(b) An engineer hypothesizes that the mean number of defects can be decreased in a manufacturing proceed of USB drives
by using robots instead of humans for certain tasks.The mean number of defective drives per 1000 is 18.
(c) A psychologist feels that playing soft music during a test will change the results of the test. The psychologist is not sure
whether the grades will be higher or lower. In the past, the mean of the scores was 73.
• Critical region: is the range of test values that indicates there is a significant difference
and that the null hypothesis should be rejected
PROCEDURE FOR SOLVING HYPOTHESIS TESTING PROBLEM
Step 1 State the hypotheses and identify the claim.
Step 2 State significance level,α and find the critical value(s).
Step 3 Compute the test value.
Step 4 Make the decision to reject or not the null hypothesis.
Step 5 Summarize the results.
Z-TEST
Z-test : statistical test for the mean of a population. It can be used either when n ≥ 30 or
when the population is normally distributed and σ is known.
The formula for Z-test
𝑋ത − 𝜇
𝑍=𝜎
ൗ 𝑛
where 𝑋ത = sample mean
𝜇 = hypothesized population mean
𝜎 = population standard deviation
𝑛 = sample size
CRITICAL VALUES
Significance level, Values
0.10 0.05 0.025 0.01 0.005 0.0025 obtained from
α
normal
𝑧 1.282 1.645 1.960 2.326 2.576 2.807 distribution
table
ҧ
𝑥−800
Standardized test statistics 𝑧 = 70
𝑛
If value of test statistics falls in the critical region, then 𝑯𝟎 is rejected and 𝑯𝟏 is accepted.
EXAMPLE 4
The height of police trainee in a particular training centre has a normal distribution with mean, µ cm and standard
deviation 7.5 cm. the mean height of a random sample of 40 police trainee from the training centre is 166.5 cm. carry out a
test, at 1% significance level, to determine whether µ is less than 170.
Step 1: state the null and alternative hypothesis Step 3: calculate test statistics
𝐻0 : µ = 170 cm Test statistic, 𝑧
𝐻1 : µ < 170 cm ҧ
𝑥−170
𝑧 = 7.5
40
Step 2: state the significance level, determine critical value 𝑧=
166.5−170
7.5
1% significance level: α= 0.01 40
𝑧 = −2.95
Significance
0.10 0.05 0.025 0.01 0.005 0.0025
level, α Step 4: Determine to reject or not the null hypothesis
𝑧 1.282 1.645 1.960 2.326 2.576 2.807 Test value of -2.95 falls in the critical region, reject 𝑯𝟎
Critical value
Step 5: Summarize
Since test value of -2.95 falls in the critical region, reject 𝐻0
and conclude there is enough evidence to show that mean
height of police trainee in training centre is less than 170
Acceptance region cm at 1% significance level.
Rejection
region
-2.326
6.3 T-TEST
• T-test is used when population parameters (mean and standard deviation) are not known
• Used to compare the means of two given samples
t-Score
• Difference between 2 groups and the difference within the groups
o Large t-score tells that the groups are different
o Small t-score tells that the groups are similar
-2.365 +2.365
Step 3: Compute the test value
From the t-table, the critical values are +2.015 and -2.015
-2.015 +2.015