Fisher's Exact test analysis
The Fisher's Exact test is similar to the Chi-Square test of independence but is more fitting for smaller sample sizes.
You assessed gamedata where in each of the two game versions, whether the subject returned to the game after seven days was recorded as TRUE or FALSE. This same assessment is of interest with subjects who completed many rounds of the game, leaving 800 subjects in the analysis, 400 in each version condition.
Since the total number of subjects has been reduced to under 1000, a Fisher's Exact test is more fitting. Determine whether the subjects returning to the game after seven days is related to the version groups.
The data set of subjects completing over 545 rounds of the game has been loaded for you as subgame. The pwr package has also been loaded.
This exercise is part of the course
A/B Testing in R
Exercise instructions
- Create a frequency table called
freqtblof theversionandretention_7of thesubgamedataset and run a Fisher's Exact test.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a frequency table and run a Fisher's Exact test
___
fisher.test(___)