One tailed z-test
We know now that hypothesis tests can come in several forms. In this exercise, you'll implement a one tailed z-test on test data from tracking conversion on a mobile app. The data has been imported as results
and numpy
has already been imported for you along with pandas
as well.
The treatment group represents some graphic alteration that we expect to improve the conversion rate of users. Run a test with alpha as .05 and find out if the change actually helped.
This exercise is part of the course
Practicing Statistics Interview Questions in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Assign and print the conversion rate for each group
conv_rates = results.groupby(____).mean()
print(____)