You are on page 1of 21

Chapter 11

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.

H0: The null hypothesis specifies our current belief


about the parameter we test. ( = 170, p = .4, etc.)
Must be a specific value.
H1: The alternative hypothesis specifies a range of
values for the parameter tested ( > 170; p .4;
etc.) effected by the belief.
4
A person is assumed
to be innocent
before court trial Not guilty
H0 Needed in the test Do not reject H0

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

The more severe the consequence of committing the


type-I error, the smaller/higher the value of .
Example 1: = 0.05
Step 3: Determine the sample size n and hence the
sampling distribution.
Example 1:n=400; N(0,1)

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)

Reject region: Z > 1.645


1.645
Critical value
Right-Tail Testing
Left-Tail Testing
TwoTail Testing
Step 5: Collect data. x 178
Calculate the standard test statistic .

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.

Example 1: Reject H0 at = .05

Reject H0: There is enough statistical evidence to


conclude that the alternative hypothesis is true.

Do not reject H0: There is not enough statistical


evidence to conclude that the alternative hypothesis is
true.
A Left Hand Tail Test

H0: 0
H1: < 0

Reject H0 if x falls here Critical


value

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

Step 6: Do not reject the null hypothesis


18
A Two Tail Test

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

Step 6: Do not reject the null hypothesis


21

You might also like