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

Chi-Square test of independence sample size

The Chi-Square test of independence can be used to assess whether the A/B grouping is related to the dependent variable. It has a different sample size function than that of t-tests and a Mann-Whitney U test.

You will be assessing the previous gamedata dataset. In each of the two game versions, whether the subject returned to the game after seven days was also recorded as TRUE or FALSE. Therefore, the Chi-Square test of independence will assess whether the two conditions of the version variable and two conditions of the return variable are related.

The pwr package has been loaded for you.

Bu egzersiz

A/B Testing in R

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

Egzersiz talimatları

  • Determine the sample size needed for a Chi-square test of independence with a desired effect size of 0.50, power of 0.80, and alpha of 0.05.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Determine the sample size needed
pwr.chisq.test(___)
Kodu Düzenle ve Çalıştır