Skip to main content

A python library dedicated for A/B testing analysis

Project description

A/B-testing

ab-testing-logo

License License License License


A/B testing is process which allows developer/data scientist to analyze and evaluate, the performance of products in an experiment. In this process two or more versions of a variable (web page, page element, products etc.) are shown to different segments of website visitors at the same time to determine which version leaves the maximum impact and drives business metrics.

In A/B testing, A refers to the original testing variable. Whereas B refers to a new version of the original testing variable. Impact of the results can be evaluated based on,

  • Conversion Rate
  • Significance test

Installation & Usage

  • Installing the library from pypi - It has only dependency on pandas & numpy
pip install ab-testing-analysis
from ab_testing import ABTest
from ab_testing.data import Dataset

df = Dataset().data()

ab_obj = ABTest(df,response_column='converted',group_column='group')

print(ab_obj.conversion_rate())

Output:

  Conversion Rate Standard Deviation Standar Error
A          19.80%              0.398        0.0178
B          20.20%              0.401         0.018

License

MIT

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

ab_testing-analysis-0.1.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

ab_testing_analysis-0.1.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file ab_testing-analysis-0.1.4.tar.gz.

File metadata

  • Download URL: ab_testing-analysis-0.1.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for ab_testing-analysis-0.1.4.tar.gz
Algorithm Hash digest
SHA256 feee94c60776d0b5786a44c885757231db9a245f00d175ab1d28029b84bfd826
MD5 9801be4c80ac8805ed3099d896f0e5cb
BLAKE2b-256 9b7c4e4f88ed822cbd7de93196bf11b93659bf51af4b346e6a997a5a839491e7

See more details on using hashes here.

File details

Details for the file ab_testing_analysis-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ab_testing_analysis-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 780299289b81c24bf5b7dcde8ea6a64ee1bf6682ff1fcba02b1eca2a66ad64c2
MD5 338f150c8fd90745f9c6d67a3413fb49
BLAKE2b-256 ac4e1a5802e3ca9b5f544c3ffe6b64c99956efa01606b0b6b65ba577312979e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page