STA301 – Assignment No.
Student ID: [bc220416951]
Question 1
A retail chain wants to compare customer satisfaction scores from two of its branches.
2
Branch A : n1=100 , x1 =509 , σ 1=950
2
Branch B :n2 =100 , x 2=447 , σ 2=876
Construct a 95% confidence interval for the difference between the two population means
μ1−μ2 .
Interpret your result in practical terms for the business.
Solution:
Given:
Branch A:
Sample size n1=100n_1 = 100n1=100
Sample mean xˉ1=509\bar{x}_1 = 509xˉ1=509
Population variance σ12=950\sigma_1^2 = 950σ12=950
Branch B:
Sample size n2=100n_2 = 100n2=100
Sample mean xˉ2=447\bar{x}_2 = 447xˉ2=447
Population variance σ22=876\sigma_2^2 = 876σ22=876
We are asked to construct a 95% Confidence Interval for the difference in population means
μ1−μ2\mu_1 - \mu_2μ1−μ2.
Identify the Formula
For large samples with known population variances, the confidence interval for the difference in
population means is:
(xˉ1−xˉ2)±Zα/2⋅σ12n1+σ22n2(\bar{x}_1 - \bar{x}_2) \pm Z_{\alpha/2} \cdot \sqrt{\frac{\
sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}(xˉ1−xˉ2)±Zα/2⋅n1σ12+n2σ22
Calculate
xˉ1−xˉ2=509−447=62\bar{x}_1 - \bar{x}_2 = 509 - 447 = 62xˉ1−xˉ2=509−447=62
σ12n1=950100=9.5\frac{\sigma_1^2}{n_1} = \frac{950}{100} = 9.5n1σ12=100950=9.5
σ22n2=876100=8.76\frac{\sigma_2^2}{n_2} = \frac{876}{100} = 8.76n2σ22=100876
=8.76
Standard Error (SE)=9.5+8.76=18.26≈4.273\text{Standard Error (SE)} = \sqrt{9.5 + 8.76} = \
sqrt{18.26} \approx 4.273Standard Error (SE)=9.5+8.76=18.26≈4.273
For a 95% confidence level, Zα/2=1.96Z_{\alpha/2} = 1.96Zα/2=1.96
Margin of Error=1.96⋅4.273≈8.373\text{Margin of Error} = 1.96 \cdot 4.273 \approx
8.373Margin of Error=1.96⋅4.273≈8.373
Confidence Interval
62±8.373⇒(62−8.373, 62+8.373)=(53.627, 70.373)62 \pm 8.373 \Rightarrow (62 - 8.373,\ 62 +
8.373) = (53.627,\ 70.373)62±8.373⇒(62−8.373, 62+8.373)=(53.627, 70.373)
Answer:
The 95% confidence interval for the difference in population means is:
(53.63, 70.37)\boxed{(53.63,\ 70.37)}(53.63, 70.37)
Interpretation:
With 95% confidence, we can say that the average customer satisfaction score in Branch A is
between 53.63 and 70.37 points higher than in Branch B. This suggests Branch A is performing
significantly better in customer satisfaction and the management should consider identifying and
replicating the successful practices of Branch A in Branch B.
Question 2
A rowing team consists of four rowers who weight 152, 156, 160, and 164 pounds. Find all possible
random samples with replacement of size two and compute thair sample means. Use them to find the:
probability distribution of X
mean of X
standard deviation of X .
Given Weights:
152, 156, 160, 164
Sample Size: 2 (With Replacement)
There are 4×4=164 \times 4 = 164×4=16 possible combinations:
Sample Rowers Mean
1 (152, 152) 152.0
2 (152, 156) 154.0
3 (152, 160) 156.0
4 (152, 164) 158.0
5 (156, 152) 154.0
6 (156, 156) 156.0
7 (156, 160) 158.0
8 (156, 164) 160.0
9 (160, 152) 156.0
10 (160, 156) 158.0
11 (160, 160) 160.0
12 (160, 164) 162.0
13 (164, 152) 158.0
14 (164, 156) 160.0
15 (164, 160) 162.0
16 (164, 164) 164.0
Frequency Distribution of Sample Means
Sample Mean Xˉ\bar{X}Xˉ Frequency Probability
152.0 1 1/16
154.0 2 2/16
156.0 3 3/16
158.0 4 4/16
160.0 3 3/16
162.0 2 2/16
164.0 1 1/16
Mean of Xˉ\bar{X}Xˉ
μXˉ=∑[x⋅P(x)]=1(152)+2(154)+3(156)+4(158)+3(160)+2(162)+1(164)16\mu_{\bar{X}} = \sum
[x \cdot P(x)] = \frac{1(152) + 2(154) + 3(156) + 4(158) + 3(160) + 2(162) + 1(164)}{16}μXˉ
=∑[x⋅P(x)]=161(152)+2(154)+3(156)+4(158)+3(160)+2(162)+1(164)
=152+308+468+632+480+324+16416=252816=158.0= \frac{152 + 308 + 468 + 632 + 480 +
324 + 164}{16} = \frac{2528}{16} = 158.0=16152+308+468+632+480+324+164=162528
=158.0
Standard Deviation of Xˉ\bar{X}Xˉ
First, compute variance:
σXˉ2=∑P(x)⋅(x−μXˉ)2\sigma^2_{\bar{X}} = \sum P(x) \cdot (x - \mu_{\bar{X}})^2σXˉ2
=∑P(x)⋅(x−μXˉ)2
Using μXˉ=158\mu_{\bar{X}} = 158μXˉ=158:
=1(36)+2(16)+3(4)+4(0)+3(4)+2(16)+1(36)16=36+32+12+0+12+32+3616=16016=10.0= \
frac{1(36) + 2(16) + 3(4) + 4(0) + 3(4) + 2(16) + 1(36)}{16} = \frac{36 + 32 + 12 + 0 + 12 + 32
+ 36}{16} = \frac{160}{16} = 10.0=161(36)+2(16)+3(4)+4(0)+3(4)+2(16)+1(36)
=1636+32+12+0+12+32+36=16160=10.0 σXˉ=10.0=3.162\sigma_{\bar{X}} = \sqrt{10.0} =
3.162σXˉ=10.0=3.162
Final Answers (Q2):
Probability Distribution of Xˉ\bar{X}Xˉ: As shown in the table above.
Mean of Xˉ\bar{X}Xˉ: 158.0\boxed{158.0}158.0
Standard Deviation of Xˉ\bar{X}Xˉ: 3.16\boxed{3.16}3.16