Aan de slagGa gratis aan de slag

Chi-Square test of independence analysis

A Chi-Square test of independence determines if two nominal variables are likely to be related.

You are assessing the previous gamedata dataset with a version variable, your A/B groups, and returning to the game variable. You have determined the sample size needed and collected the data, therefore now the Chi-Square test of independence can be run to assess whether the two version conditions and two return conditions are related.

The gamedata dataset, and effectsize and pwr packages have been loaded for you.

Deze oefening maakt deel uit van de cursus

A/B Testing in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create a frequency table and run the test
freqtbl <- ___(___)
chisq.test(___)
Code bewerken en uitvoeren