Compare pairwise means
Compare means of vocabulary scores using the pairwise.t.test()
function for all pairings of social classes.
Diese Übung ist Teil des Kurses
Inference for Numerical Data in R
Anleitung zur Übung
- Conduct a pairwise t-test on vocabulary scores and social class. Set
p.adjust.method
to"none"
(we'll adjust the significance level, not the p-value). - Tidy the result.
- Do the data provide convincing evidence of a difference in the average vocabulary scores of those who self identified as middle class and those who self identified as lower class?
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Run a pairwise t-test on wordsum and class, without adjustment
t_test_results <- ___
# Tidy the result
___