Sta301 Assignment Solution
Spring 2025
Student Name: Mahnoor Fatima
Student ID: Bc230209543
Question No.1
Given Data:
Statistic Branch A Branch B (2)
(1)
Sample size (n) 100 100
Sample mean ( x ) 509 447
Sample variance ( σ 2 ) 950 876
Identify the formula:
The formula for the confidence interval for μ1−μ2 when population variances are known (or
samples are large, n ≥3) is:
Where:
x ± Z
σ 21 σ 22
( 1 2) α/ 2 n + n
−x ⋅
1 2 √
Z α / 2 is the z -value for 95 % confidence level (which is 1.96 )
x́ 1 , x́ 2 are the sample means
2 2
σ 1 , σ 2 are the population variances
n1 , n2 are the sample sizes
Put the values:
(509−447)±1.96 ⋅
√
950 876
+
100 100
¿ 62 ±1.96 ⋅ √ 9.5+ 8.76
¿ 62± 1.96 ⋅ √ 18.26
¿ 62± 1.96 ⋅4.273
¿ 62 ± 8.375
Final confidence values after difference:
(62−8.375 ,62+ 8.375)=(53.625 , 70.375)
Answer:
The 95% confidence interval for the difference in customer satisfaction scores between Branch A
and Branch B is approximately (53.63, 70.38).
Question No. 2:
We are given the weights of four rowers:
152, 156, 160, 164 pounds
We need to find :
1. List all possible samples of size 2 with replacement
2. Compute their sample means ( X )
3. Construct the probability distribution ( X )
4. Find the mean ( X )
5. Find the standard deviation of ( X )
1 : List all possible samples of size 2 with replacement:
4×4=16 total samples
List all possible pairs and their means:
Sample Mean ( X )
(152, 152) (152 + 152)/2 = 152.0
(152, 156) (152 + 156)/2 = 154.0
(152, 160) (152 + 160)/2 = 156.0
(152, 164) (152 + 164)/2 = 158.0
(156, 152) (156 + 152)/2 = 154.0
(156, 156) (156 + 156)/2 = 156.0
(156, 160) (156 + 160)/2 = 158.0
(156, 164) (156 + 164)/2 = 160.0
(160, 152) (160 + 152)/2 = 156.0
(160, 156) (160 + 156)/2 = 158.0
(160, 160) (160 + 160)/2 = 160.0
(160, 164) (160 + 164)/2 = 162.0
(164, 152) (164 + 152)/2 = 158.0
(164, 156) (164 + 156)/2 = 160.0
(164, 160) (164 + 160)/2 = 162.0
(164, 164) (164 + 164)/2 = 164.0
2: Probability distribution of( X )
Now count how often each sample mean occurs:
X Frequency Probability
152.0 1 1/16
154.0 2 2/16 = 0.125
156.0 3 3/16 = 0.1875
158.0 4 4/16 = 0.25
160.0 3 3/16 = 0.1875
162.0 2 2/16 = 0.125
164.0 1 1/16 = 0.0625
This is the probability distribution of X
3 : Find the mean ( X )
E( X)=∑[ X ⋅ P( X)]
¿ 152(1/16)+154 (2/16)+ 156(3/16)+158(4 /16)+160 (3/16)+162(2/16)+164(1 /16)
1 (152)+2(154 )+ 3(156)+4 (158)+ 3(160)+2(162)+ 1(164)
¿
16
152+308+ 468+632+480 +324+164 2528
¿ = =158.0
16 16
The Mean of ( X ) is= 158.0
4: Standard deviation of ( X )
¿¿
¿
Standard deviation ( X )= 3.16
Final Answers:
Probability distribution( X ) :
( X ) Probability
152.0 0.0625
154.0 0.125
156.0 0.1875
158.0 0.25
160.0 0.1875
162.0 0.125
164.0 0.0625
Mean of ( X ) =158
Standard deviation ( X ) =3.16