t-검정 결과
3장에서 adult에 따른 length의 t-검정을 수행했어요. 이제 이 t-검정의 결과를 abttest로 저장한 뒤, 출력 객체에 저장된 여러 요소를 추출해 표시해 보겠습니다.
abaloneKeep 데이터셋은 미리 로드되어 있어요.
이 연습은 강의의 일부입니다
SAS 사용자를 위한 R
연습 안내
t.test()로 adult에 따른 length의 t-검정을 수행하고, 결과를abttest로 저장하세요.abttestt-검정 결과에서statistic,parameter,conf.int요소를 표시하세요.
실습형 인터랙티브 연습
이 예제를 이 샘플 코드를 완성하여 풀어보세요.
# Perform pooled t-test of length by adult, save as abttest
abttest <- t.test(___ ~ ___, data = ___,
___)
# Display statistic, parameter and conf.int from abttest
___
___
___