Professional Documents
Culture Documents
Ch11 Hypotheses
Ch11 Hypotheses
Ch11 Hypotheses
Introduction to
Hypothesis Testing
1
Pop dist:
Normal Z-dist
known n 30
?
Pop dist:
n > 30 Z-dist
? Non-Normal
The purpose of hypothesis testing is to determine
whether there is enough statistical evidence supporting
a certain belief (or claim) about a parameter.
Examples
Is there statistical evidence that support the
hypothesis that more than p% of all potential
customers will purchase a new products?
Is the hypothesis that a certain drug is effective?
3
11.1 Concepts of Hypothesis Testing
The Reject-Region method
Step 1: Two hypotheses are defined.
Reject H0
guilty
Claim
Claim HH000 HHAA
=A
=A =A
=A A
A tail
22-tail
-tail
or
or 2-side
2-sidetest
test
>A
>A =A
=A A
A 11tail
tail
or
or 1-side
1-sidetest
test
A
A =A
=A A 1 tail
or 1-side test
A
A =A
=A A 1 tail
or 1-side test
A
A
A =A
=A
=A A 1 tail
or 1-side test
11.2 Testing the Population Mean when the Population
Standard Deviation is Known
Example 1: The manager of a department determines
that new billing system will be cost-effective only if the
mean monthly account is more than $170. A random
sample of 400 monthly accounts is drawn, for which the
sample mean is $178. Assume a standard deviation of
$65. Can the manager conclude from this that the new
system will be cost-effective?
Step 1: H0: = 170
H1: > 170
7
Step 2: Choose the significance level
H00 is really
true true H00 is really
false false
HAA is really
false false HAA isisreally
true true
true
Really innocent Really guilty
reject
reject H
H000 Type
Type II error
error OK
OK
Verdict: Guilty Probability of committing the
type
type II error
error
Send an innocent person
to jail
Do not
not reject
accept
Do H0 H
reject H00 OK
OK Type
Type IIII error
error
accept
Verdict:HNot
0 Guilty OK Type II error of committing the
Probability
Probability
type II error of committing the
type
Let aIIguilty
errorperson go free
9
Step 4: Depending on the sampling distribution, the HA,
and the value of , find the suitable critical value and
the reject region.
HA: > 170 (1-sided test)
N(0,1)
Example 1:
HA: =170
x 178 170
z 2.46
/ n 65 / 400
Step 6: If the test statistic is in the reject region, then
reject H0, otherwise do not reject H0.
H0: 0
H1: < 0
16
The SSA envelop plan example: The chief financial
officer in FedEx believes that including a stamped self-
addressed (SSA) envelop in the monthly invoice sent
to customers will decrease the amount of time it take
for customers to pay their monthly bills. Currently,
customers return their payments in 22 days on the
average, with a standard deviation of 6 days.
A random sample of 220 customers was selected and
SSA envelops were included with their invoice packs.
The mean time it took customers to pay their bill was
21.63
Can the CFO conclude that the plan will be successful
at 10% significance level?
17
Step 1: H0: H1:
Step 2: = 0.10
Step 3: n= 220
= .10 Z
Step 4:
Step 5: 1.28
x 21.63 22
z .91
/ n 6 / 220
H0:
H1:
Reject H0 if x falls here Reject H0 if x falls here
Critical Critical
value value 19
Example 2: A statistician believes the monthly mean of
the long-distance bills for all AT&T residential customers
is $17.09.
A random sample of 100 customers of its leading
competitor yields x 17.55
Assuming the standard deviation of the bills of the
competitors is 3.87, can we infer that there is a
difference between AT&Ts bills and the competitors
bills (on the average)?
20
Step 1: H0: H1:
Step 2: = 0.05
Step 3: n= 100 = .025 = .025
Step 4:
Step 5: 1.96 1.96
Critical value Critical value
x 17.55 17.09
z 1.19
/ n 3.87 / 100