Created
May 15, 2023 22:44
-
-
Save eustin/32a2d57d3b3760a3d3c194cece04bd5b to your computer and use it in GitHub Desktop.
stat_sig_random_4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NUM_VARIANT_USERS = 6 | |
NUM_CONVERTING_VARIANT_USERS = 4 | |
variant_users = np.zeros(NUM_VARIANT_USERS) | |
variant_users[:NUM_CONVERTING_VARIANT_USERS] = 1.0 | |
variant_conversion_rate = variant_users.mean() | |
print(f"variant conversion rate: {variant_conversion_rate:.1%}") | |
#> variant conversion rate: 66.7% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment