In order to compare the means of populations, independent random samples of 390 observations are selected from each population, with the results found in the table below
x1=5283, x2=5242, s1=143, s2=194
Use a 95% confidence interval to estimate the difference between the population means (u1-u2)
a) find the confidence interval
b) Test the null hypothesis Ho: (u1-u2)=0 vs the alternative hypothesis Ha: (u1-u2)=/=0. Use a=0.05. What is the test statistic? What is the p-value?
c) Test the null hypothesis Ho: (u1-u2)>0 What is the p-value?
d) Test the null hypothesis Ho: (u1-u2)=30 vs the alternative hypothesis Ha: (u1-u2)=/=30. Use a=0.05. What is the test statistic? What is the p-value?
a) confidence interval is
μ1 - μ2 = (M1 - M2) ± ts(M1 - M2)
where:
M1 & M2 = sample
means
t = t statistic determined by confidence
level
s(M1 - M2) = standard
error =
√((s2p/n1)
+
(s2p/n2))
Calculation
Pooled
Variance
s2p =
((df1)(s21) +
(df2)(s22)) /
(df1 + df2) = 22595065 /
778 = 29042.5
Standard
Error
s(M1 - M2) =
√((s2p/n1)
+
(s2p/n2))
= √((29042.5/390) + (29042.5/390)) = 12.2
Confidence
Interval
μ1 - μ2 = (M1 -
M2) ±
ts(M1 -
M2) = 41 ± (1.96 * 12.2) = 41 ± 23.96
, 95% CI [17.04, 64.96]
b)
p-value=0.0008
c)
p-value =0.0004 [right tail,one tail test
d)
p-value=0.3677
Get Answers For Free
Most questions answered within 1 hours.