BaşlayınÜcretsiz Başlayın

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.

Bu egzersiz

Analyzing Survey Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Run a survey-weighted t-test
svy___(formula = ___,
       design = NHANES_design)
Kodu Düzenle ve Çalıştır