Beruflich Dokumente
Kultur Dokumente
Chapter 8
Introduction to
Hypothesis Testing
Chapter Goals
Testing Theories
Hypotheses Competing theories that we want to test
about a population are called Hypotheses in
statistics. Specifically, we label these competing
theories as Null Hypothesis (H0) and Alternative
Hypothesis (H1 or HA).
H0 : The null hypothesis is the status quo or the
prevailing viewpoint.
HA : The alternative hypothesis is the competing belief.
It is the statement that the researcher is hoping to
prove.
Claim: the
population
mean age is 50.
(Null Hypothesis:
Population
H0: = 50 )
Now select a
random sample
Is x = 20 likely if = 50?
If not likely, Suppose
the sample
REJECT mean age Sample
Null Hypothesis is 20: x = 20
Fall 2006 Fundamentals of Business Statistics
Sampling Distribution of x
x
= 50
If H0 is true
Level of Significance,
Defines unlikely values of sample
statistic if null hypothesis is true
Defines rejection region of the sampling
distribution
Is designated by , (level of significance)
Is selected by the researcher at the
beginning
Provides the critical value(s) of the test
Fall 2006 Fundamentals of Business Statistics 9
Level of Significance
and the Rejection Region
Level of significance = Represents
critical value
H0: 3
Rejection
HA: < 3 0 region is
Lower tail test
shaded
H0: 3
HA: > 3
Upper tail test 0
H0: = 3 /2 /2
HA: 3
Two tailed test 0
Fall 2006 Fundamentals of Business Statistics 10
Critical Value
Approach to Testing
Convert sample statistic (e.g.: x ) to test
statistic ( Z* or t* statistic )
Small
Large (n 100)
Is known?
Yes
No, use
sample standard deviation s
2. Use T~t(n-1)
1. Use Z~N(0,1)
T test Statistic
Two-Sided: H0 : = 0 ; HA : 0
Reject H0 if t * > t((1n1)/ 2 ) or t * < t((1n1)/ 2 ) , otherwise do not
reject H0
One-Sided Upper Tail: H0 : 0 ; HA : > 0
( n 1)
Reject H0 if t > t (1 )
*
, otherwise do not reject H0
One-Sided Lower Tail: H0 : 0 ; HA : < 0
( n 1)
Reject H0 if t < t (1 )
*
, otherwise do not reject H0
x
t* =
s
n
Fall 2006 Fundamentals of Business Statistics 14
z
Reject H0 Do not reject H0
P-Value Calculation
Z test statistic
Two-Sided: 2 min {P(Z Z*,Z Z*)}
T test statistic
Two-Sided: 2 min {P(t t*,t t*)}
p-value example
Reject H0
Reject H0
p -Value Solution
(continued)
Calculate the p-value and compare to
0
Do not reject H0 Reject H0
State of Nature
Decision H0 True H0 False
Do Not
No error Type II Error
Key: Reject
(1 - ) ()
Outcome H0
(Probability) Reject Type I Error No Error
H0 () (1-)