2024-Lecture 07
2024-Lecture 07
LECTURE 7
INTRODUCTION TO HYPOTHESIS TESTING
7-2
STATISTICAL METHODS
Statistical
Methods
Descriptive Inferential
Statistics Statistics
Hypothesis
Estimation
Testing
7-3
HYPOTHESIS TESTING
I believe the
population
Reject
mean age is 50
hypothesis!
Population (hypothesis). Not close.
J J
J
J J
J Random
J sample
Mean J
J`X = 20
7-4
HYPOTHESIS TESTING
7-5
WHAT’S A HYPOTHESIS?
7-6
EXAMPLE OF HYPOTHESIS
7-7
RESEARCH HYPOTHESIS
7-8
NULL HYPOTHESIS
7 - 10
IDENTIFYING HYPOTHESES
STEPS
¢ 1. Example Problem: Test That the Population
Mean Is Not 3
¢ 2. Steps
State the Question Statistically (µ ¹ 3)
State the Opposite Statistically (µ = 3)
¢ Must Be Mutually Exclusive & Exhaustive
Select the Alternative Hypothesis (µ ¹ 3)
¢ Has the ¹, <, or > Sign
State the Null Hypothesis (µ = 3)
7 - 11
WHAT ARE THE HYPOTHESES?
7 - 12
WHAT ARE THE HYPOTHESES?
7 - 13
WHAT ARE THE HYPOTHESES?
7 - 14
WHAT ARE THE HYPOTHESES?
7 - 15
JURY TRIAL EXAMPLE
7 - 16
POSSIBLE CONCLUSIONS OF
A HYPOTHESIS TEST
¢2 possible conclusions:
• Do not reject H0: The test is not significant
• Reject H0: The test is significant
7 - 17
POSSIBLE ERRORS IN TESTING
7 - 18
POSSIBLE ERRORS IN TESTING
7 - 19
JURY TRIAL RESULTS
H0: Innocent
Jury Trial H0 Test
Actual Situation Actual Situation
Verdict Innocent Guilty Decision H0 True H0
False
Accept Type II
Innocent Correct Error 1-a
H0 Error
(b)
Type I
Guilty Error Correct Reject 1-b
H0 Error (a)
7 - 20
SIGNIFICANCE LEVEL
• Denoted a
• Probability of making Type I error
• Equals Total Area of Rejection Region
• Should be decided by researcher at start
• Example Values Are .01, .05, .10, etc.
7 - 21
ONE-TAILED VS. TWO-TAILED TESTS
7 - 22
A PROBLEM
7 - 23
REJECTION REGION (RIGHT-TAILED TEST)
¢ H0: µ=a
¢ Ha: µ>a
7 - 25
ONE POPULATION TESTS
One
population
Mean Proportion
7 - 26
ONE-TAILED Z TEST FOR MEAN (s KNOWN)
¢ 1. Assumptions
Population Standard Deviation Is Known
Population Is Normally Distributed
If Population Is Not Normal, Large Sample Size (so that the
CLT holds) Is Required (In This Case, The Sampling
Distribution of Sample Mean Will Be Approximately
Normal)
2. Alternative Hypothesis Has < or > Sign
3. Z-Test Statistic
𝑋' − 𝜇"! 𝑋' − 𝜇
𝑧= = 𝜎
𝜎"!
𝑛
7 - 27
ONE-TAILED Z TEST FOR MEAN
HYPOTHESES
Reject H0 Reject H0
a a
a `X a `X
s=1
a = .025
0 Z
7 - 29
RIGHT-TAILED Z TEST
EXAMPLE
7 - 30
RIGHT-TAILED Z TEST
SOLUTION
• Test Statistic:
¢ H0: 𝝁= 368
Ha: 𝝁> 368
¢ Checking assumptions:
• Decision:
¢ Rejection
rule/regions:
𝜶 = .05, n = 25 • Conclusion:
7 - 31
LEFT-TAILED Z TEST
7 - 32
WRITING CONCLUSIONS
¢2cases:
•Reject H0:
7 - 33
TWO-TAILED Z TEST
FOR MEAN (s KNOWN)
¢ 1. Assumptions
Population Standard Deviation Is Known
Population Is Normally Distributed
If Population Is Not Normal, Large Sample Size (n ³
30) Is Required (In This Case, The Sampling
Distribution of 𝑋! Will Be Approximately Normal)
2. Alternative Hypothesis Has ¹ Sign
3. Z-Test Statistic:
𝑋' − 𝜇"! 𝑋' − 𝜇
𝑧= = 𝜎
𝜎"!
𝑛
7 - 34
TWO-TAILED Z TEST
EXAMPLE
7 - 35
TWO-TAILED Z TEST
SOLUTION
7 - 36
HYPOTHESIS TESTING COMMON PITFALLS
7 - 37
CONCLUSION
7 - 38