The vocab dataframe contains individual scores on a vocabulary test, as well as the individual's sex and years of education. Sex of the respondent, Female or Male.
sex education vocabulary
28491 Male 16 8
28492 Male 12 5
28493 Female 12 5
28494 Female 14 8
28495 Male 14 6
28496 Male 12 6
Here is the R output for a t-test.
t.test(data = vocab, vocabulary ~ sex)
Welch Two Sample t-test
data: vocabulary by sex
t = 0.0060019, df = 1761.3, p-value = 0.9952
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.1754226 0.1764995
sample estimates:
mean in group Female mean in group Male
6.021195 6.020656
(c) (2 pts) What is the test statistic for this t-test?
(d) (2 pts) What is the p-value for this test? Would you reject or fail to reject this test at the 10% significance level? Why or why not?
(e) (2 pts) Write a conclusion for the test in the context of the data.