เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

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.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

R For SAS Users

ดูคอร์ส

คำแนะนำการฝึกหัด

  • Perform a t-test of length by adult using t.test() and save the output as abttest.
  • Display statistic, parameter and conf.int elements from abttest t-test output.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Perform pooled t-test of length by adult, save as abttest
abttest <- t.test(___ ~ ___, data = ___, 
                  ___)

# Display statistic, parameter and conf.int from abttest
___
___
___
แก้ไขและรันโค้ด