t-tests output
In chapter 3, you computed a t-test of length by adult. Now, you will save the output from this t-test as abttest and extract and display various elements stored in the output object.
The abaloneKeep dataset has been loaded for you.
Cet exercice fait partie du cours
<cours>R For SAS Users</cours>Instructions de l’exercice
- Perform a t-test of length by adult using
t.test()and save the output asabttest. - Display
statistic,parameterandconf.intelements fromabttestt-test output.
Exercice interactif pratique
Essayez cet exercice en complétant ce code d’exemple.
# Perform pooled t-test of length by adult, save as abttest
abttest <- t.test(___ ~ ___, data = ___,
___)
# Display statistic, parameter and conf.int from abttest
___
___
___