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

Running a chi squared test

Now it's time to test whether or not there is an association between depression level and perceived health using a chi squared test. Recall that the p-value of the chi squared test tells us how consistent our sample results are with the assumption that depression and perceived health are not related.

Bu egzersiz

Analyzing Survey Data in R

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

Egzersiz talimatları

Using svychisq(), test for a relationship between Depressed and HealthGen.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Run a chi square test between Depressed and HealthGen
___(___, 
    ___ = ___, 
    statistic = "Chisq")
Kodu Düzenle ve Çalıştır