Professional Documents
Culture Documents
Session - 16 - Part A - MSST - 2019-21 PDF
Session - 16 - Part A - MSST - 2019-21 PDF
Session - 16 - Part A - MSST - 2019-21 PDF
Session 16
Part A
Slide 1
Revision Session 15
Slide 2
Hypothesis Testing
Slide 3
H.T. Steps
Slide 4
Case I - Sigma Known
Slide 5
Case I - Sigma Unknown
Slide 6
Population Proportion
Slide 7
A Summary of Forms for Null and Alternative
Hypotheses About a Population Proportion
The equality part of the hypotheses always appears
in the null hypothesis.
◼ In general, a hypothesis test about the value of a
population proportion p must take one of the
following three forms (where p0 is the hypothesized
value of the population proportion).
Slide 8
Tests About a Population Proportion
Test Statistic
p − p0
z=
sp
where:
p0 (1 − p0 )
sp =
n
Slide 9
Tests About a Population Proportion
Slide 10
Two-Tailed Test About a
Population Proportion
Example: National Safety Council (NSC)
For a Christmas and New Year’s week, the
National Safety Council estimated that 500 people
would be killed and 25,000 injured on the nation’s
roads. The NSC claimed that 50% of the accidents
would be caused by drunk driving.
A sample of 120 accidents showed that 67 were
caused by drunk driving. Use these data to test the
NSC’s claim with = .05.
Slide 11
Two-Tailed Test About a
Population Proportion
◼ p –Value and Critical Value Approaches
p0 (1 − p0 ) .5(1 − .5)
sp = = = .045644
a common n 120
error is using
p in this p − p0 (67 /120) − .5
z= = = 1.28
formula sp .045644
Slide 12
Two-Tailed Test About a
Population Proportion
◼ p−Value Approach
Slide 13
Two-Tailed Test About a
Population Proportion
◼ Critical Value Approach
Because 1.278 > -1.96 and < 1.96, we cannot reject H0.
Slide 14
Inference About Means and Proportions
with Two Populations
Slide 30
Inferences About the Difference Between
Two Population Means: s 1 and s 2 Known
Interval Estimation of m 1 – m 2
Hypothesis Tests About m 1 – m 2
Slide 31
Estimating the Difference Between
Two Population Means
Let m1 equal the mean of population 1 and m2 equal
the mean of population 2.
The difference between the two population means is
m1 - m2.
To estimate m1 - m2, we will select a simple random
sample of size n1 from population 1 and a simple
random sample of size n2 from population 2.
Let x1 equal the mean of sample 1 and x2 equal the
mean of sample 2.
◼ The point estimator of the difference between the
means of the populations 1 and 2 is x1 − x2.
Slide 32
Sampling Distribution of x1 − x2
Expected Value
E ( x1 − x2 ) = m1 − m 2
s12 s 22
s x1 − x2 = +
n1 n2
Slide 33
Interval Estimation of m1 - m2:
s 1 and s 2 Known
Interval Estimate
s 12 s 22
x1 − x2 z / 2 +
n1 n2
where:
1 - is the confidence coefficient
Slide 34
Interval Estimation of m1 - m2:
s 1 and s 2 Known
Example: Par, Inc.
Par, Inc. is a manufacturer of golf equipment and
has developed a new golf ball that has been
designed to provide “extra distance.”
In a test of driving distance using a mechanical
driving device, a sample of Par golf balls was
compared with a sample of golf balls made by Rap,
Ltd., a competitor. The sample statistics appear on
the next slide.
Slide 35
Interval Estimation of m1 - m2:
s 1 and s 2 Known
Example: Par, Inc.
Sample #1 Sample #2
Par, Inc. Rap, Ltd.
Sample Size 120 balls 80 balls
Sample Mean 295 yards 278 yards
Slide 36
Interval Estimation of m1 - m2:
s 1 and s 2 Known
Example: Par, Inc.
Let us develop a 95% confidence interval estimate
of the difference between the mean driving distances of
the two brands of golf ball.
Slide 37
Estimating the Difference Between
Two Population Means
Population 1 Population 2
Par, Inc. Golf Balls Rap, Ltd. Golf Balls
m1 = mean driving m2 = mean driving
distance of Par distance of Rap
golf balls golf balls
m1 – m2 = difference between
the mean distances
Simple random sample Simple random sample
of n1 Par golf balls of n2 Rap golf balls
x1 = sample mean distance x2 = sample mean distance
for the Par golf balls for the Rap golf balls
x1 - x2 = Point Estimate of m1 –
m2
Slide 38
Point Estimate of m1 - m2
Point estimate of m1 − m2 = x1 − x2
= 295 − 278
= 17 yards
where:
m1 = mean distance for the population
of Par, Inc. golf balls
m2 = mean distance for the population
of Rap, Ltd. golf balls
Slide 39
Interval Estimation of m1 - m2:
s 1 and s 2 Known
Slide 40
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Known
◼ Hypotheses
H 0 : m1 − m2 D0 H 0 : m1 − m2 D0 H 0 : m1 − m2 = D0
H a : m1 − m2 D0 H a : m1 − m2 D0 H a : m1 − m2 D0
Left-tailed Right-tailed Two-tailed
◼ Test Statistic
( x1 − x2 ) − D0
z=
s 12 s 22
+
n1 n2
Slide 41
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Known
Example: Par, Inc.
Can we conclude, using = .01, that the
mean driving distance of Par, Inc. golf balls is
greater than the mean driving distance of Rap, Ltd.
golf balls?
Slide 42
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Known
◼ p –Value and Critical Value Approaches
Slide 43
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Known
◼ p –Value and Critical Value Approaches
( x1 − x2 ) − D0
z=
s 12 s 22
+
n1 n2
(295 − 278) − 0 17
z= = = 6.49
(15)2 (20)2 2.62
+
120 80
Slide 44
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Known
◼ p –Value Approach
Slide 45
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Known
◼ Critical Value Approach
Slide 46
Classroom Exercise
Slide 47
Inferences About the Difference Between
Two Population Means: s 1 and s 2 Unknown
Interval Estimation of m 1 – m 2
Hypothesis Tests About m 1 – m 2
Slide 48
Interval Estimation of m1 - m2:
s 1 and s 2 Unknown
When s 1 and s 2 are unknown, we will:
• use the sample standard deviations s1 and s2
as estimates of s 1 and s 2 , and
• replace z/2 with t/2.
Slide 49
Interval Estimation of m1 - m2:
s 1 and s 2 Unknown
Interval Estimate
s12 s22
x1 − x2 t / 2 +
n1 n2
+
1 2
df = n1 n2
2 2
1 s1 2
1 s2
2
+
n1 − 1 n1 n2 − 1 n2
Slide 50
Difference Between Two Population Means:
s 1 and s 2 Unknown
Example: Specific Motors
Specific Motors of Detroit has developed a new
Automobile known as the M car. 24 M cars and 28 J
cars (from Japan) were road tested to compare miles-
per-gallon (mpg) performance. The sample statistics
are shown on the next slide.
Slide 51
Difference Between Two Population Means:
s 1 and s 2 Unknown
Example: Specific Motors
Sample #1 Sample #2
M Cars J Cars
24 cars 28 cars Sample Size
29.8 mpg 27.3 mpg Sample Mean
2.56 mpg 1.81 mpg Sample Std. Dev.
Slide 52
Difference Between Two Population Means:
s 1 and s 2 Unknown
Example: Specific Motors
Let us develop a 90% confidence interval estimate
of the difference between the mpg performances of
the two models of automobile.
Slide 53
Point Estimate of m 1 − m 2
Point estimate of m1 − m2 = x1 − x2
= 29.8 - 27.3
= 2.5 mpg
where:
m1 = mean miles-per-gallon for the
population of M cars
m2 = mean miles-per-gallon for the
population of J cars
Slide 54
Interval Estimation of m 1 − m 2:
s 1 and s 2 Unknown
The degrees of freedom for t/2 are:
2
(2.56) (1.81)
2 2
+
df = 24 28 = 24.07 = 24
2 2
1 (2.56) 2 1 (1.81) 2
+
24 − 1 24 28 − 1 28
Slide 55
Interval Estimation of m 1 − m 2:
s 1 and s 2 Unknown
Slide 56
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
Hypotheses
H0 : m1 − m2 D0 H0 : m1 − m2 D0 H0 : m1 − m2 = D0
H a : m1 − m2 D0 H a : m1 − m2 D0 H a : m1 − m2 D0
Left-tailed Right-tailed Two-tailed
Test Statistic
( x1 − x2 ) − D0
t=
s12 s22
+
n1 n2
Slide 57
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
Example: Specific Motors
Can we conclude, using a .05 level of significance,
that the miles-per-gallon (mpg) performance of M cars
is greater than the miles-per-gallon performance of J
cars?
Slide 58
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
◼ p –Value and Critical Value Approaches
1. Develop the hypotheses.
H0: m1 - m2 < 0
Ha: m1 - m2 > 0
where:
m1 = mean mpg for the population of M cars
m2 = mean mpg for the population of J cars
Slide 59
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
◼ p –Value and Critical Value Approaches
2. Specify the level of significance. = .05
( x1 − x2 ) − D0 (29.8 − 27.3) − 0
t= = = 4.003
2 2 2 2
s s (2.56) (1.81)
1
+ 2
+
n1 n2 24 28
Slide 60
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
◼ p –Value Approach
4. Compute the p –value.
The degrees of freedom for t are:
2
(2.56) (1.81)
2 2
+
df = 24 28 = 40.566 = 41
2 2
1 (2.56) 2 1 (1.81) 2
+
24 − 1 24 28 − 1 28
Because t = 4.003 > t.05 = 1.683, the p–value < .05.
In fact, the p–value < .005.
Slide 61
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
◼ p –Value Approach
5. Determine whether to reject H0.
Because p–value < = .05, we reject H0.
We are at least 95% confident that the miles-per-
gallon (mpg) performance of M cars is greater than
the miles-per-gallon performance of J cars?.
Slide 62
Hypothesis Tests About m 1 − m 2:
s 1 and s 2 Unknown
◼ Critical Value Approach
4. Determine the critical value and rejection rule.
For = .05 and df = 41, t.05 = 1.683
Reject H0 if t > 1.683
Slide 63
Classroom Exercise
Slide 64
Inferences About the Difference Between
Two Population Means: Matched Samples
◼ With a matched-sample design each sampled item
provides a pair of data values.
◼ This design often leads to a smaller sampling error
than the independent-sample design because
variation between sampled items is eliminated as a
source of sampling error.
Slide 65
Inferences About the Difference Between
Two Population Means: Matched Samples
Example: Express Deliveries
A Chicago-based firm has documents that must
be quickly distributed to district offices throughout
the U.S. The firm must decide between two delivery
services, UPX (United Parcel Express) and INTEX
(International Express), to transport its documents.
Slide 66
Inferences About the Difference Between
Two Population Means: Matched Samples
Example: Express Deliveries
In testing the delivery times of the two services,
the firm sent two reports to a random sample of its
district offices with one report carried by UPX and
the other report carried by INTEX. Do the data on
the next slide indicate a difference in mean delivery
times for the two services? Use a .05 level of
significance.
Slide 67
Inferences About the Difference Between
Two Population Means: Matched Samples
Slide 68
Inferences About the Difference Between
Two Population Means: Matched Samples
◼ p –Value and Critical Value Approaches
1. Develop the hypotheses.
H0: md = 0
Ha: md
Let md = the mean of the difference values for the
two delivery services for the population
of district offices
Slide 69
Inferences About the Difference Between
Two Population Means: Matched Samples
◼ p –Value and Critical Value Approaches
2. Specify the level of significance. = .05
di ( 7 + 6+... +5)
d = = = 2. 7
n 10
( di − d )
2
76.1
sd = = = 2. 9
n −1 9
d − md 2.7 − 0
t= = = 2.94
sd n 2.9 10
Slide 70
Inferences About the Difference Between
Two Population Means: Matched Samples
◼ p –Value Approach
4. Compute the p –value.
Slide 71
Inferences About the Difference Between
Two Population Means: Matched Samples
◼ Critical Value Approach
4. Determine the critical value and rejection rule.
Slide 72
Inference About Population Variance
Slide 73
Inference About Population Variance
Slide 74
End of Session 16
Slide 75