2024-Lecture 08
2024-Lecture 08
LECTURE 8
HYPOTHESIS TESTING
PART II
9-2
p- Value
9-3
One-tailed z test p- Value
EXAMPLE
368 gm.
9-4
One-tailed z test p- Value
SOLUTION
Use
alternative
hypothesis
to find
direction
Z
Z value of sample
statistic =2.5
9-6
One-tailed z test p- Value
SOLUTION
9-7
One-tailed z test p- Value
SOLUTION
9-8
TWO-TAILED Z TEST P-VALUE
EXAMPLE
368 gm.
9-9
One-tailed z test p- Value
SOLUTION
Z value of sample
statistic (observed)
9 - 10
One-tailed z test p- Value
SOLUTION
½ p-value ½ p-value
Z value of sample
statistic (observed)
9 - 11
ONE POPULATION TESTS
9 - 12
9 - 13
Two - tailed t – test
Finding critical t- value
9 - 14
Two - tailed t – test
EXAMPLE
Does an average box of
cereal contain 368
grams of cereal? A
random sample of 36
boxes had a mean of
372.5 & a standard
deviation of 12 grams.
Test at the .05 level.
Assume normal
population. 368 gm.
9 - 15
Two - tailed t – test
SOLUTION
Test Statistic:
H0: μ = 368
Ha: μ ≠ 368
α = .05
df = 36 - 1 = 35 Decision:
Critical Value(s): Reject Ho at α = .05
Conclusion:
9 - 18
Robustness of one-sample t-procedures
(Testing & CI)
9 - 19
Robustness of one-sample t-procedures
(Testing & CI)
9 - 20
Practical guidelines for one-sample
t-procedures (Testing & CI)
• n < 30: Use t procedures if the data are close to
normal. If data are clearly non-normal or if outliers
are present, do not use t.
• n ≥ 30: t can be used except in presence of outliers
or strong skewness
• Large samples (n ≥ 40): t can be used even for
clearly skewed distributions without outliers
9 - 21
Practical guidelines for one-sample
t-procedures (Testing & CI)
9 - 22
Z – TEST OF PROPORTION
QUALITATIVE DATA
9 - 24
PROPORTIONS
9 - 25
SAMPLING DISTRIBUTION
OF PROPORTION
Sampling Distribution
9 - 26
STANDARDIZING SAMPLING
DISTRIBUTION OF PROPORTION
Sampling Standardized
Distribution n Normal Distribution
σ P^ σz = 1
μ P^ ^
P μ Z= 0 Z
9 - 27
ONE-SAMPLE Z TEST FOR
PROPORTION
9 - 28
ONE-PROPORTION Z TEST
EXAMPLE
The present packaging
system produces 10%
defective cereal boxes.
Using a new system, a
random sample of 200
boxes had 11 defects.
Does the new system
produce fewer defects?
Test at the .05 level.
9 - 29
ONE-PROPORTION Z TEST
SOLUTION
9 - 31