Professional Documents
Culture Documents
20230820025128_WEEK 13
20230820025128_WEEK 13
2
Introduction
H0: m1 –m2 = 0
H1: m1 –m2 ¹ 0
𝑧>𝑧 𝛼 /2 𝑜𝑟
Comparing the Means of Two
Independent Populations (σ1
and σ2 known)
12 22 12 22
( x1 x2 ) z / 2 ( 1 2 ) ( x1 x2 ) z / 2
n1 n2 n1 n2
Comparing the Means of Two
Independent Populations (σ1
and σ2 known)
Example 1 :
Assume that the population standard deviations are
known with σ1 = 10 and σ2 = 10. An α .05 level of
significance is specified for the study. Independent simple
random samples of n1 = 30 individuals from training
center A and n2 = 40 individuals from training center B are
taken. The respective sample means are x¯ 1 = 82 and x¯2 =
78. Do these data suggest a significant difference between
the population
10
Comparing the Means of Two
Independent Populations (σ1
and σ2 known)
Example 1 :
μ1 = the mean examination score for the population
of individuals trained at center A
μ2 = the mean examination score for the population
of individuals trained at center B
The null and alternative hypotheses for this two-
tailed test are written as follows.
11
Comparing the Means of Two
Independent Populations (σ1
and σ2 known)
Example 1 :
compute the test statistic :
H0: m1 –m2 = 0
𝑠 𝑝 √ 1/𝑛1 +1/𝑛2t t / 2;n1 n 2 2 or
H1: m1 –m2 ¹ 0
t t / 2;n1 n 22
Comparing the Means of Two
Independent Populations (σ1 and
σ2 unknown, σ1=σ2 )
1 1 1 1
( x1 x2 ) t / 2 s p ( 1 2 ) ( x1 x2 ) t / 2 s p
n1 n2 n1 n2
Example 2 :
The BLK cola want to determine whether the mean
weekly sales are the same when using a normal self
location and when using an end-aisle display. There are
the set of all possible weekly sales in normal sales and
end-aisle display :
Normal End-Aisle
22 34 52 62 30 52 71 76 54 67
40 64 84 56 59 83 66 90 77 84
15
Comparing the Means of Two
Independent Populations (σ1 and
σ2 unknown, σ1=σ2 )
Example 2 :
Step 1 : Hypotheses :
( ¯𝑥1 − ¯𝑥 2 ) − 𝑑 𝑜
(50.3 − 72 ) − 0
𝑡= = =−3.0046
𝑠 𝑝 √ 1/𝑛1 +1/𝑛2 254.0056 √ 1/10+1 /10
H0: m1 –m2 = 0 1 1 2 2
H1: m1 –m2 ¹ 0
𝑡>𝑡𝛼/2;𝑣 𝑜𝑟
Comparing the Means of Two
Independent Populations (σ1 and
σ2 unknown, σ1 ≠ σ2 )
s12 / n1 s22 / n2
v
s
2
1 / n1
2
s / n2 2
2
2
n1 1 n2 1
μD = μ 1 - μ 2
The point estimate for the population mean
paired difference is D :
n Di = X1i - X2i
D i
D i 1
n
Comparing the Means of Two
Related Populations
σD known σD unknown
21
Comparing the Means of Two
Related Populations
H0: μD = 0
H1: μD ≠ 0
𝑧>𝑧 𝛼/2 𝑜𝑟
Comparing the Means of Two
Related Populations
H0: μD ≥ 0
t=
D − μ𝐷 𝑡<−𝑡𝛼 ; 𝑛−1
H1: μD < 0 SD
√n
H0: μD ≤ 0 𝑡>𝑡𝛼 ;𝑛− 1
H1: μD > 0
√∑
n
SD= ¿¿ ¿¿
H0: μD = 0 i=1 t t / 2,n 1 or
t t / 2,n 1
H1: μD ≠ 0
Comparing the Means of Two
Related Populations
a a a/2 a/2
sd s
d t / 2 D d t / 2 d
n n
d x1 x2
D 1 2
H0: π1-π2 ≥ 0 Z
p1 p2 1 2
z z
H1: π1-π2 < 0 1 1
p (1 p )
n1 n2
H0: π1-π2 ≤ 0 X X2 X X
z z
p 1 , p1 1 , p 2 2
H1: π1-π2 > 0 n1 n 2 n1 n2
z z / 2 or
H0: π1-π2 = 0 where X1 and X2 are the number of
successes in samples 1 and 2 z z / 2
H1: π1-π2 ≠ 0
Comparing Two Population
Proportions
Confidence Interval Estimation :
p1q1 p2 q2 pq p q
( p1 p2 ) z / 2 1 2 ( p1 p2 ) z / 2 1 1 2 2
n1 n2 n1 n2
where
qi=1-pi
COMPARING TWO POPULATION PROPORTIONS
Example :
A survey reported that 193 out of 459 men sampled and 250 out of
501 women sampled said that a major reason they use Facebook is
to share with many people at once. Is there any evidence that the
proportion of men who say that a major reason they use Facebook is
to share with many people at once is less than the proportion of
women?
The hypothesis : H0: π1 ≥π2, H1: π1<π2
X1 193 X 2 250
p1 0.4205 , p 2 0.499
n1 459 n 2 501
193 2500
p 0.4615
459 501
COMPARING TWO POPULATION PROPORTIONS
Z
0.4205 0.4990 0 2.4379
1 1
0.4615(1 0.4615)
459 501
0.4205(0.5795) 0.499(0.501)
(0.4205 0.499) 1.96 1 2
459 501
0.4205(0.5795) 0.499(0.501)
(0.4205 0.499) 1.96
459 501
0.1414 1 2 0.0156
HYPOTHESIS TESTING FOR THE RATIO OF TWO VARIANCES
Example
One fast-food chain carried out a study to measure the variability
in the waiting time at lunch and breakfast at one of the chain’s
stores. The results were as follows:
Lunch : n1 = 26, S12= 4.4
Solution :
The hypotheses are H0: σ12 ≤ σ22 H1: σ12 > σ22
F0.05(24,20)
EXERCISE