Exercise

Survey-weighted t-test

Now let's tackle the question "Is there evidence that the average hours of nightly sleep differ by gender?" with a t-test.

Instructions

100 XP
  • Run a t-test on SleepHrsNight and Gender using svyttest(). Make sure you understand the output!