Hypothesis Testing
Hypothesis Testing
2
Agenda
Basic Principles of
Hypothesis Testing
4
What is a Hypothesis?
▸ A hypothesis is a claim
(assertion) about a
population parameter:
▸ population mean
H0 : μ = 3 H0 : X = 3
6
The Null Hypothesis, H0
Sample
10
The Hypothesis Testing Process
Sampling
Distribution of X
X
20 μ = 50
If H0 is ... then you
If it is unlikely that true reject the null
you would get a
... When in fact this were hypothesis that
sample mean of
the population mean… μ = 50.
this value ...
12
12
The Test Statistic and Critical Values
Critical Values
▸ Type I Error
▹ Reject a true null hypothesis
▹ Considered a serious type of error
▹ The probability of a Type I Error is
▹ Called level of significance of the test
▹ Set by researcher in advance
▸ Type II Error
▹ Failure to reject false null hypothesis
15
15
Possible Errors in Hypothesis Test Decision Making
Actual Situation
H0: μ = 3
Level of significance =
H1: μ ≠ 3
/2 /2
Critical values
Rejection Region
Hypothesis
Tests for
Known Unknown
(Z test) (t test)
18
18
Z Test of Hypothesis for the Mean (σ Known)
σKnown
Known σUnknown
Unknown
(Z test) (t test)
The test statistic is:
X−μ
Z STAT =
σ
n
19
19
Critical Value Approach to Testing
Lower Upper
critical critical
value value
21
21
6 Steps in Hypothesis Testing
= 0.05/2 = 0.05/2
2.6832 ≤ μ ≤ 2.9968
Assumptions of each
Hypothesis Testing
29
29
Do You Ever Truly Know σ?
▸ Probably not!
▸ In virtually all real world business situations, σ is not known.
▸ If there is a situation where σ is known then µ is also known (since
to calculate σ you need to know µ.)
▸ When using the t distribution, you must assume the population you
are sampling from follows a normal distribution.
σKnown
Known σUnknown
Unknown
(Z test) (t test)
The test statistic is:
X−μ
t STAT =
S
n
32
32
Example: Two-Tail Test ( Unknown)
H0: μ = 168
H1: μ 168
33
33
Example Solution: Two-tail t-Test
H0: μ = 168
▸ = 0.05 H1: μ 168
/2=.025 /2=.025
▸ n = 25, df = 25-1=24
▸ is unknown, so
use a t statistic Reject
H0 -t 24,0.025
Do not reject H0 Reject
t 24,0.025 H0
0
▸ Critical Value: -2.0639 1.46
2.0639
166.14 ≤ μ ≤ 178.86
H0: μ ≥ 3
▸ There is only one critical value
H1: μ < 3
since the rejection area
is in only one tail
Critical
value
37
37
Upper-Tail Tests
Critical
value
38
38
Example: Upper-Tail t Test for Mean ( unknown)
= 0.10
= 0.10
THANK YOU!
Any questions?