Skip to content

📈 basic tool to assess the statistical significance of multivariate tests

License

Notifications You must be signed in to change notification settings

harrisonpim/ab-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ab-test 📈

basic tool to assess the statistical significance of multivariate tests

Usage

from src import *

control_version = [8000, 4380]
test_version_1 = [1000, 520]
test_version_2 = [1000, 590]

ab_test(control_version, test_version_1, test_version_2, p=0.01)

will output

CONTROL:
conversion rate:    0.5475 ± 0.0056
threshhold p-value: 0.01

--------------------------------------------------------------------------------
TEST 1
--------------------------------------------------------------------------------
We can't say anything significant about how well the test performed
conversion rate:  0.52 ± 0.0158
uplift:           -0.0502
Z-score:          -1.6418
p-value:          0.0503

--------------------------------------------------------------------------------
TEST 2
--------------------------------------------------------------------------------
The test performed better than the control by a significant margin!
conversion rate:  0.59 ± 0.0156
uplift:           0.0776
Z-score:          2.5728
p-value:          0.005

About

📈 basic tool to assess the statistical significance of multivariate tests

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published