Comece agoraComece grátis

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.

Este exercicio faz parte do curso

Analyzing Survey Data in R

Ver curso

Instruções do exercicio

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

exercicio interativo prático

Tente este exercicio completando este código de exemplo.

# Run a survey-weighted t-test
svy___(formula = ___,
       design = NHANES_design)
Editar e Executar Código