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.8+.
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:
Metadata
Release files for kolmogorov-abacus 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kolmogorov-abacus-0.0.6.tar.gz | 31.3 kB | Without provenance | Details for kolmogorov-abacus-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kolmogorov_abacus-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for kolmogorov_abacus-0.0.6-py3-none-any.whl |
Total release size: 66.2 kB
Release files / kolmogorov-abacus-0.0.6.tar.gz
| Download URL | kolmogorov-abacus-0.0.6.tar.gz |
|---|---|
| Size | 31.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac0d49862fca3d5c72e342e9d801b2f80d55c205493c3712cf5f226a269270c8
|
|
BLAKE2b-256 checksum How to use checksums |
363c6c4653e08bf22284d0149bbfb04ac230206a7520a3dcf7c13d0adb4fbf71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Release files / kolmogorov_abacus-0.0.6-py3-none-any.whl
| Download URL | kolmogorov_abacus-0.0.6-py3-none-any.whl |
|---|---|
| Size | 34.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c82ac8c4b0d963d7ad19c6b709d8f53ec85d42168fab9caf73243ed5b0cda3f5
|
|
BLAKE2b-256 checksum How to use checksums |
8322d258b51db2833e4fe4a4b938bf580037458ebe5f62a84588c4925eb4e394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Security for kolmogorov-abacus 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.