Chapter 4 - One Sample Test of Hypothesis
Chapter 4 - One Sample Test of Hypothesis
3
What is Hypothesis Testing?
4
Hypothesis Testing Steps
5
Types of error
6
Type of Errors in Hypothesis Testing
Type I Error -
– Defined as the probability of rejecting the null hypothesis when it is
actually true.
– This is denoted by the Greek letter “”
– Also known as the significance level of a test
Type II Error:
– Defined as the probability of “accepting” the null hypothesis when it
is actually false.
– This is denoted by the Greek letter “β”
7
One-tail vs. Two-tail Test
9
One sample mean test
When SD is known (Two tailed)
14
Testing for a Population Mean with a
Known Population Standard Deviation- Example
15
Testing for a Population Mean with a
Known Population Standard Deviation- Example
17
Testing for a Population Mean with a Known Population Standard
Deviation- Example
18
Testing for a Population Mean with a Known Population Standard
Deviation- Example
19
Critical values for normal distribution
Level of significance
Critical values
1% 2% 4% 5% 10%
One tailed test 2.326 2.054 1.751 1.645 1.282
25
p-Value in Hypothesis Testing - Example
26
What does it mean when p-value < ?
27
Confidence Interval Estimates for the Mean – By Formula
Compute the C.I.
using the t - dist. (since is unknown)
s
X t / 2, n 1
n
s
X t.05 / 2, 20 1
n
9.01
49.35 t.025 ,19
20
9.01
49.35 2.093
20
49.35 4.22
The endpoints of the confidence interval are $45.13 and $53.57
Conclude : It is reasonable that the population mean could be $50.
The value of $60 is not in the confidence interval. Hence, we
conclude that the population mean is unlikely t o be $60.
28
Exercise
1. A sample of 400 male students is found to have a mean height
67.47 inches. Can it be reasonably regarded as a sample from
a large population with mean height 67.39 inches and
standard deviation 1.30 inches? Test at 10% level of
significance.
2. Suppose that it is known from experience that the standard
deviation of the weight of 8 ounces packages of cookies made
by a certain bakery is 0.16 ounces. To check its production is
under control on a given day, the true average of the packages
is 8 ounces; they select a random sample of 40 packages and
find their mean weight is 8.122 ounces. Test whether the
production is under control or not at 5% level of significance.
Population standard deviation is
unknown
1. Is the temperature required to damage a computer on the average less
than 110 degrees? Because of the time of testing, twenty computers
were tested to see what minimum temperature will damage the
computer. The damaging temperature averaged 109 degrees with a
standard deviation of 3 degrees. (Use 0.05)
2. The specimen of copper wires drawn from a large lot has the following
breaking strength (in Kg. weight):
578, 572, 570, 568, 572, 578, 570, 572, 596, 544
Test whether the mean breaking strength of the lot may be taking to be 578
Kg. weights by using 10% level of significance.
A recent national survey found that high school students watched an
average (mean) of 6.8 movies per month with a population standard
deviation of 1.8. The distribution of number of movies watched per month
follows the normal distribution. A random sample of 36 high school
students revealed that the mean number of movies watched last month
was 6.2.
i. At the .04 significance level, can we conclude that high school students
watch fewer movies than the average?
ii. What is your decision regarding the null hypothesis based on the p-
value at 5% and 10% level of significance?
iii. Calculate 90% and 95% confidence interval. Make decision about null
hypothesis.
The mean life of a battery used in a digital clock is 305 days. The
lives of the batteries follow the normal distribution. The battery was
recently modified to last longer. A sample of 20 of the modified
batteries had a mean life of 311 days with a standard deviation of
12 days. Did the modification increase the mean life of the battery?
(a) State the null hypothesis and the alternate hypothesis.
(b) Show the decision rule graphically. Use the .05 significance level.
(c) Compute the value of t. What is your decision regarding the null
hypothesis? Briefly summarize your results.
(d) Construct 95% confidence interval. Make decision upon it.
Book exercise 36:
25 27 25 26 25 28 28 27 24 26 25 29 25 27 24
i. At the .01 significance level, can we conclude that the mean number of
patients per day is less than 25?
ii. Calculate 90% and 95% confidence interval.
Self practice