R — Biostatistics

Lesson 6 — Two-sample t test (two-sided)

By


Goals of this lesson:

Conduct a two-sided t test for comparing two population means

t.test()

 

Instructions

  • Watch the following video:

Lesson 6 Two-sample t test (two-sided)

Remarks:

  • We will use the t.test () command to run two-sided tests only.
  • Even though we only want to find the P-value, R will automatically generate BOTH the P-value and the confidence interval every time we run t.test().
  • The relationship between a confidence interval and a two-sided hypothesis test will NOT be covered in the final exam.

-END-



Content is copyright the author. Layout is copyright Mark Ciotola. See Corsbook.com for further notices.