Hi Salma,
To the first part of your question, you are working with means here, not proportions, so you can eliminate any answers that do not include means. Your question also stipulates night students having greater mean GPAs than day, so you can also eliminate any answers that do not include "greater than" in the alternative hypothesis. Only answer that meets both criteria is:
H0:μN≤μDH0:μN≤μD
H1:μN>μDH1:μN>μD
Additionally, greater than implies a right-tailed test.
Now, we know nothing about the population standard deviation, which means we have to use t, not z. Our sample standard deviations are 0.02 and 0.04, so we just barely meet criteria for pooled t. If one sample standard deviation is more than twice the other, we would have to use a different t-test, which involves more intense calculations. As it is, we can use pooled t:
t=(x-bar1-x-bar2)/sqrt[sp2((1/n1) + (1/n2))]
x-bar1=night sample mean
x-bar2=day sample mean
sp=pooled standard deviation
n1=night sample size
n2=day sample size
We also need to compute the pooled standard deviation, which is:
sp=sqrt[((n1-1)(s12)) + ((n2-1)(s22))/(n1+n2-2)]
n1=night sample size
n2=day sample size
s1=night sample standard deviation
s2=day sample standard deviation
For this problem:
n1=30
n2=30
s1=0.08
s2=0.04
sp=sqrt[((n1-1)(s12)) + ((n2-1)(s22))/(n1+n2-2)]
sp=sqrt[(29*0.082) + (29*0.042)]/(30 + 30 -2)]
sp=0.063
Now, back to our t-test:
t=(x-bar1-x-bar2)/sqrt[sp2((1/n1) + (1/n2))]
x-bar1=2.76
x-bar2=2.73
sp=0.063
n1=30
n2=30
t=(2.76-2.73)/sqrt(0.0632((1/30) + (1/30))
t=1.84 This is your test statistic.
Now, to get a p-value approximation, we need degrees of freedom. Formula for that with pooled t is:
df= n1 + n2 - 2
Thus:
df= 30 + 30 - 2
df=58
On our t-table, we have to do this Price is Right style--closest without going over. On my table, that is 40 degrees of freedom. Now, looking across that row, our test statistic of 1.84 falls between 1.684 and 2.021. Now, we have a one-sided test here--remember it was the greater than alternative--so check corresponding p-values near the top:
0.025 < p < 0.05
This is the most accurate we can get without statistical software. Now, your significance level was 0.025, and it is possible for p to exceed this based on the above, so we fail to reject H0 and conclude no significant difference in mean GPA between night and day students.
I hope this helps.
Joshua L.
11/17/23
Salma H.
I appreciate your help. But I didn't get the p-value it has to be rounded to two decimal points.11/17/23