1. A survey is conducted on attitudes towards drinking. A random sample of eight married couples is selected, and the husbands and wives respond to an attitude-toward-drinking scale. (20 Points)The scores are as follows:
HUSBAND SCORE - 16 , 20, 10, 15, 8, 19, 14, 15
WIFE SCORE - 15, 18, 13, 10, 12, 16, 11, 12
1
Expert's answer
2021-07-19T05:45:57-0400
xˉ1=81(16+20+10+15+8+19+14+15)
=14.625
s12=8−11((16−14.625)2+(20−14.625)2
+(10−14.625)2+(15−14.625)2+(8−14.625)2
+(19−14.625)2+(14−14.625)2+(15−14.625)2)
=7115.875≈16.5535
s1=s12≈4.0686
xˉ2=81(15+18+13+10+12+16+11+12)
=13.375
s22=8−11((15−13.375)2+(18−13.375)2
+(13−13.375)2+(10−13.375)2+(12−13.375)2
+(16−13.375)2+(11−14.625)13.3752+(12−13.375)2)
=751.875≈7.4107
s2=s22≈2.7223
A F-test is used to test for the equality of variances.
The critical values for a significance level of α=0.05, and degrees of freedom df1=7
and df2=7 are FU=F1−α/2;df1,df2=4.995 and FL=Fα/2;df1,df2=0.2.
The F-statistic is calculated by dividing the sample variances, as shown below:
F=s22s12=2.72334.0686≈2.2337
Since FL=0.2<F=2.2337<FU=4.995, then we fail to reject the null hypothesis of equal population variances, and hence, we assume that the population variances are equal.
1. We need to construct the 95% confidence interval for the difference between the population means μ1−μ2, for the case that the population standard deviations are not known.
We assume that the population variances are equal. Therefore, the corresponding degrees of freedom are computed as follows:
df=df1+df2=7+7=14
The critical value for α=0.05 and df=14 is tc=2.144787.
The corresponding confidence interval is computed as shown below:
Since the population variances are assumed to be equal, we need to compute the pooled standard deviation, as follows:
sp=n1+n2−2(n1−1)s12+(n2−1)s22
=8+8−2(8−1)7115.875+(8−1)751.875≈3.4615
Since we assume that the population variances are equal, the standard error is computed as follows:
SE=spn11+n21=3.461581+81≈1.7308
Now, we finally compute the confidence interval:
CI=(x1ˉ−x2ˉ−tc×SE,x1ˉ−x2ˉ+tc×SE)
=(14.625−13.375−2.144787×1.7308,
14.625−13.375+2.144787×1.7308)
=(−2.4622,4.9622)
Therefore, based on the data provided, the 95% confidence interval for the difference between the population means μ1−μ2 is −2.4622<μ1−μ2<4.9622, which indicates that we are 95% confident that the true difference between population means is contained by the interval (−2.4622,4.9622).
2. The following null and alternative hypotheses need to be tested:
H0:μ1=μ2
H1:μ1=μ2
The rejection region for this two-tailed test is R={t:∣t∣>2.144787}.
Since it is assumed that the population variances are equal, the t-statistic is computed as follows:
Since it is observed that ∣t∣=0.722<2.144787=tc, it is then concluded that the null hypothesis is not rejected.
Using the P-value approach: The p-value for two-tailed, α=0.05,df=14,t=0.722 is p=0.482181, and since p=0.482181>0.05=α, it is concluded that the null hypothesis is not rejected.
Therefore, there is not enough evidence to claim that the population mean μ1 is different than μ2, at the α=0.05 significance level.
Comments