Lec 3
Lec 3
Chapter 9
Statistical Inference:
Hypothesis Testing
for Single
Populations
Chapter Goals
◼ After completing this chapter, you should be able to:
◼ Know how to use the test statistic, critical value, and p-value
approaches to test the null hypothesis
Basic steps when testing hypotheses
◼
1. H 0 : P = P0 or 2. H 0 : P P0 or 3. H 0 : P P0
H A : P P0 H A : P P0 H A : P P0
◼ (b) When Ha has > sign , the test directional, and the
area of rejection is to the right of the sampling distribution.
H 0 : = 0 H a : 0
◼ The test is called one tail test.
◼ In this situation the α is put in the right tail of the sampling
distribution.
(1- α)
Critical Value
Step 4: Formulate a decision Rule
H 0 : = 0 H a : 0
(1- α)
Critical Value
When sampling distribution is normal
/2 /2
X
z= − and =
x x n
Po int estimate − value under the null hypothesis
Examples case Problem 3.3
Test statistic =
s tan dard error for the estimator
x − 0 28.5 − 30
Z= = = −1.37
x 8.5
60
◼
Problem 3.2
x − 0 1515 − 1500
Z= = = 1.65
x 100
120
x−
1515 − 1500
z= = = 1.65
100
n 120
Rejection Region
Non Rejection Region
Test statistic=1.65
Decision: since 1.65 is in the rejection area then Reject the null
hypothesis ,thus µ > 1,500
xz
n
100
1515 1.96
120
1515 17.89
P(1497 .11 1532 .89) = .95
Problem 3
=0
-2.33
Ho: µ = 82 Ha: µ < 82
= 78.125 n = 32 s = 9.184 = .01
t= X −
s/ n
Rejection Region
Non Rejection Region
-
-2.718 1.46 =0
◼
x = 42.167 n = 12 s = 9.124 = .01
42.167 − 46 78.125 − 82
t= = = −1.46
sx 9.124
12
◼
X t11,.025 s x
9.124
= 42.16 2.201 = 42.16 2.634
12
Hypothesis Test of p
P = P0 P = P0 P = P0
P P0 P P0 P P0
two conditions must be met
When
Then : Samples are considered large and The critical values are
values
◼
P0 (1 − P0 )
P =
n
P − P0
Z=
P
Problem 7: proportion
◼ x 58
P= = = .58
n 100
P0 (1 − P0 ) .65(1 − .65)
P = = = .0476
n 100
P − P0 .58 − .65
Z= = = −1.47
P .0476
H 0 : P .60 H a : P .60