A/B experiments planning and evaluation tool
Project description
ABacus: fast hypothesis testing and experiment design solution
ABacus is a Python library developed for A/B experimentation and testing. It includes versatile instruments for different experimentation tasks like prepilot, sample size determination, results calculation, visualisations and reporting.
Important features
- Experiment design: type I and II errors, effect size, sample size simulations.
- Groups splitting with flexible configuration and stratification.
- A/A test and evaluation of splitter accuracy.
- Evaluation of experiment results with various statistical tests and approaches.
- Sensitivity increasing techniques like stratification, CUPED and CUPAC.
- Visualisation of experiment.
- Reporting in a human-readable format.
Installation
You can use pip to install ABacus directly from PyPI:
pip install kolmogorov-abacus
or right from Github:
pip install pip+https://github.com/kolmogorov-lab/abacus
Note the requirement of Python 3.11+.
Quick example
To define an experiment and analyse it is as easy as to describe your experiment and data:
from abacus.auto_ab.abtest import ABTest
from abacus.auto_ab.params import ABTestParams, DataParams, HypothesisParams
data_params = DataParams(...)
hypothesis_params = HypothesisParams(...)
ab_params = ABTestParams(data_params, hypothesis_params)
data = pd.read_csv('abtest_data.csv')
ab_test = ABTest(data, ab_params)
ab_test.report()
The result of code execution is the following:
Documentation and Examples
Detailed documentation and examples are available for your usage.
Communication
Authors and developers:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kolmogorov-abacus-0.0.2.tar.gz
(29.0 kB
view hashes)
Built Distribution
Close
Hashes for kolmogorov_abacus-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5a7da4e8b4cc4c07c432a581b8b40370a8ec7f1444113ade20dc507bfa6c4d2 |
|
MD5 | 4d027fe4783cf923903b7b8395afe7e6 |
|
BLAKE2b-256 | 014ef545f8c0dc4224c2b562929e69a3dc817050aea3dc31b9212a555357015c |