Exercise

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, our A/B groups, and returning to the game variable. We have determined the sample size needed and collected the data, therefore now the Chi-Square test of independence can be run to assess whether then two version conditions and two return conditions are related.

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

Instructions 1/3

35 XP
    1
    2
    3
  • Create a frequency table called freqtbl of the retention_7 and version columns in the gamedata dataset and run a chi-square test of independence.