Please use the dataset below to answer the questions. The variables are as follo
ID: 3251973 • Letter: P
Question
Please use the dataset below to answer the questions. The variables are as follows: Political affiliation: Independent (0) Democrat (1), Republican (2) Weight: in pounds Lifespan: in years gender political affiliation weight lifespan female 255 45 520 male democrat female 66 democrat male 66 independent democrat 201 66 70 female republican 177 71 male democrat male 174 73 republican republican 75 male democrat 177 7 independent female 78 independent 132 female 145 79 democrat female independent 140 male republican female 82 republican male republican male 170 republican female 160 independent female 92 independent 144 femaleExplanation / Answer
H0: 1 - 2 = 0 i.e. (1 = 2)
H1: 1 - 2 0 i.e. (1 2)
The appropriate test for this would be two sample t-test
Assuming population variances are equal, we would have to calculate pooled-variance t-Test
Sp^2= (n1-1)S1^2+(n2-1)S2^2/(n1-1)+(n2-1)
= (10-1)*11.217^2+(10-1)*13.72^2/9+9
=157.04
tSTAT=(X1-X2)-(µ1-µ2)/Sp^2(1/n1+1/n2)
=(71.6-76.4)-0/157.04(1/10+1/10)
=-4.8/5.6
=-0.856
tCRIT is +-2.10. tSTAT does not lie in the rejection region. Hence, cannot reject the null hypothesis. Males and females differ on lifespan.
Homogeneity of variances:-
H0: 12 = 22
H1: 12 22
FSTAT is S1^2/S2^2=125.82/188.27=0.6683
FCRIT is 3.178. FSTAT does not lie in the rejection region and hence cannot reject null hypothesis.
Conclusion: There is not sufficient evidence of a difference in variances at a = .05