FEM3004 Chapter 6 and 7 Hypothesis Test Large Sample
FEM3004 Chapter 6 and 7 Hypothesis Test Large Sample
statistic-hypothesized value
z
standard error of statistic
Example 1 (testing the single mean)
The daily yield for a chemical plant has averaged 880
tons for several years. The quality control manager wants
to know if this average has changed. She randomly
selects 50 days and records an average yield of 871 tons
with a standard deviation of 21 tons.
This is an unlikely
occurrence, which
happens about 2 times in
1000, assuming = 880!
Example 2 (testing the single proportion)
Regardless of age, about 20% of American adults
participate in fitness activities at least twice a week. A
random sample of 100 adults over 40 years old found
15 who exercised at least twice a week. Is this evidence
of a decline in participation after age 40? Use α = .05.
Test statistic :
H 0 : p .2
pˆ p0 .15 .2
H a : p .2 z 1.25
p0 q0 .2(.8)
n 100
Using critical value approach:
What is the critical value of z that cuts off exactly
a= .05 in the left-tail of the z distribution?
For our example, z =
-1.25 does not fall in
the rejection region &
H0 is not rejected.
There is not enough
evidence to indicate
that p is less than .2
for people over 40.
Rejection Region: Reject H0 if z < -1.645. If the test statistic
falls in the rejection region, its p-value will be less than = .05.
Example 3 (testing difference between two means)
Avg Daily Intakes Men Women
Sample size 50 50
Sample mean 756 762
Sample Std Dev 35 30
H 0 : p1 p 2 0 (same) H a : p 1 p 2 0 (different )
C alculate pˆ 1 65 / 80 . 81 pˆ 2 39 / 70 . 56
x1 x 2 104
pˆ .69
n1 n 2 150
Using p-value approach:
Youth Soccer Male Female
Sample size 80 70
Played soccer 65 39
Test statistic :
pˆ 1 pˆ 2 0 .81 .56
z 3.30
1 1 1 1
pˆ qˆ .69(.31)
n1 n2 80 70
p - va lue : P ( z 3 . 3 0 ) P ( z 3 . 3 0 ) 2 (. 0 0 0 5 ) . 0 0 1
Since the p-value is less than α = .01, H0 is rejected. The
results are highly significant. There is evidence to indicate
that the rates of participation are different for boys and
girls.