Chapter4 Part3 Slides
Chapter4 Part3 Slides
Chapter4 Part3 Slides
1/38
One Sample Tests For A Proportion
1
Or use commonly available tables.
4.3 Hypothesis Testing (continued) 4/38
Some Considerations
Perform the following (exact) hypothesis test using the p-value versus
alpha method.
π = .50 p̂ = 1.0 n=5
π > .50 α = .05
What would the result be if α were set at .01?
Obtained Z is
p̂ − π0 .217 − .200
Z=q = q = .80.
π0 (1−π0 ) (.20)(.80)
n 350
Exact Test
Success/failure observations are independent.
The exact test is generally not robust against this violation.
Approximate Test
Success/failure observations are independent. (Generally not robust
against violations of this assumption.)
Normality (always violated)
Sample size must be large enough so that the central limit theorem will
act to bring about an approximately normal sampling distribution.
If we let EIU represent the upper end of EI and EIL the lower end, the
equivalence null hypothesis for the (one mean) two-tailed equivalence
test is
H0E : µ ≤ EIL or µ ≥ EIU
The alternative is
HAE : EIL < µ < EIU
Notice that the null hypothesis states that the population mean is not
in EI while the alternative states that the population mean is in EI .
The null hypothesis, then, is an assertion of non-equivalence while the
alternative asserts equivalence.
If we let EIU represent the upper end of EI and EIL the lower end, the
equivalence null and alternative hypotheses for the (one mean)
one-tailed equivalence test are
H0E : µ ≥ EIU
HAE : µ < EIU
or
H0E : µ ≤ EIL
HAE : µ > EIL
Note that for a one-tailed equivalence test only one of the two null
hypotheses is tested, not both.
Notice that the first null hypothesis maintains that the population
mean is greater than or equal to EIU while the second states that
mean is less than or equal to EIL .
2
One-tailed equivalence tests are more commonly referred to as noninferiority tests
4.3 Hypothesis Testing (continued) 24/38
Testing The One-Tailed Equivalence Null Hypothesis
Null Hypothesis
True False
Type I Error Correct Decision
Reject
(α) (Power)
Figure: Probability of a Type I error and correct decision for a one-tailed one
mean Z test.
Null Distribution
1−α α
µ0 = µ
beta power
µ0 µ
Fail to Reject H0
Reject H0
σ 2 (Zβ − Zα )2
n=
(µ0 − µ)2
Twenty percent of the normal curve lies above, and 80 percent below,
a Z value of .84. (See Panel B of Figure 4.26 on text page 137.)
Substituting this value for Zβ , and −2.58 for Zα , 10 for µ0 , 8 for µ
and 16 for σ 2 gives the following.
16 (.84 − (−2.58))2
n= = 46.8
(10 − 8)2