Skip to content
leodemaPublic

About

AB test framework for python

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

ABtests

This software aims to provide an easy-to-use interface to perform AB tests analysis.

Installation

pip install ABtests

Usage example:

import numpy as np
from  ABtests.analysis import TtestIndip

mu_test, sigma = 0, 0.1 # mean and standard deviation
mu_control = 0.2

test = np.random.normal(mu_test, sigma, 500)
control = np.random.normal(mu_control, sigma, 500)

analysis = TtestIndip(test, control)

analysis.report()

print(analysis.p_value)

About

AB test framework for python

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages