Lecture 4
Lecture 4
• (2) The alternative (research) hypothesis, denoted H a or H1 is that which will be accepted
only if the data provide convincing evidence of its truth. This usually represents the values of a
population parameter for which the researcher wants to gather evidence to support.
The rejection region for a two-tailed test differs from that for
a one-tailed test. When we are trying to detect departure
from the null hypothesis in either direction, we must
establish a rejection region in both tails of the sampling
distribution of the test statistic.
P. 1) Cigarette advertisements are required by federal law to carry the following statement: “Warning: The surgeon
general has determined that cigarette smoking is dangerous to your health.” However, this warning is often located in
inconspicuous corners of the advertisements and printed in small type. Suppose the Federal Trade Commission (FTC)
claims that 80% of cigarette consumers fail to see the warning. A marketer for a large tobacco firm wants to gather
evidence to show that the FTC’s claim is too high, i.e., that fewer than 80% of cigarette consumers fail to see the
warning. Specify the null and alternative hypotheses for a test of the FTC’s claim.
b. If the test is two-tailed, the p-value is equal to twice the tail area beyond the observed z-value in the direction of the
sign of z—that is, if z is positive, the p-value is twice the area to the right of, or above, the observed z-value. Conversely,
if z is negative, the p-value is twice the area to the left of, or below, the observed z-value.
• In a test of H 0 : 100 against H a : 100 , the sample data yielded the test statistic z = 2.17.
Find and interpret the p-value for the test.
• In a test of the hypothesis H 0 : 10 versus H a : 10 , a sample of n = 50 observations possessed
mean x = 10.7 and standard deviation s = 3.1. Find and interpret the p-value for this test.
Test of Hypothesis About a Population Mean: Normal (z) Statistic
• When testing a hypothesis about a population mean m, the test statistic we use will depend on whether the sample
size n is large (say, n > 30) or small, and whether or not we know the value of the population standard deviation, s.
Because the sample size is large, the Central Limit Theorem guarantees that the sampling distribution of x is
approximately normal. Consequently, the test statistic for a test based on large samples will be based on the normal z-
statistic. Although the z-statistic requires that we know the true population standard deviation s, we rarely if ever
know s. when n is large, the sample standard deviation s provides a good approximation to s, and the z-statistic can be
approximated as follows:
Therefore, as the test statistic of a small-sample test of a population mean, we use the t-statistic:
In a factory where detergents are produced in boxes of 500 gr., the standard deviation of
boxes is known as 10 gr. The average weight of 50 randomly selected boxes is calculated
as 505 gr. Could it be said that the production is in compliance with the standards at the
5% significance level? It takes a very short time to reset the machine.
1) H 0 : 500 gr.
H a : 500 gr.
2) %5 0.05
10
3) X 1.4142
n 50
x 505 500
Z 3.54
X 1.4142
4) Z / 2 Z 0.025 1.96
H 0 is rejected because 3.54 1.96 . Production does not meet specifications, stop production.
Example
• In a biscuit factory where 250 gram biscuits are produced, it is examined whether
the production complies with the standards. 25 packages were randomly selected
from 400 boxes for each analysis. It is known that the boxes are normally
distributed according to their weights. Average weight of a selected sample is
247.67 g, standard deviation is 6 g. Could it be accepted that production is under
control at the 1% significance level? (The machine cannot be adjusted in a short
time.)
1) H 0 : 250 gr.
H a : 250 gr.
2) %1 0.01
3) n 25 30 N 400
n / N 25 / 400 0.0625 0.05
s N n 6 400 25
ˆ X 1.1634
n N 1 25 400 1
247.67 250
t 2.003 0.005 0.005
1.1634
H 0 is accepted because 2.003 2.797 . Production meets specifications, production can be continued.
Example
2) %1 0.01
3) s 400
X 50 kg
n 64
x 2350 2500
Z 3
X 50
0.01
4) Z Z 0.01 2.33
-3 -2.33
H 0 is rejected because 3 2.33 . Steel does not meet specifications. The order should be rejected.
Example
2) %1 0.01 1.5 n 15
3) X 1.5 0.387
n 15
x 41 40
Z 2.582
X 0.387
4) p value P( Z Z t )
p value P( Z 2.58)