Skip to main content

Библиотека для расчета минимального определяемого эффекта (MDE) в A/B тестах.

Project description

medoed

medoed

Библиотека для расчета минимального определяемого эффекта (MDE) в A/B тестах.

Установка

pip install medoed

Пример использования

from medoed import MDECalculator

mde_calculator = MDECalculator(
    pre_experiment_data=pre_experiment_data,
    date_field='install_date',
    metrics=['revenue', 'retention'],
    historical_data=historical_data,
    strata=['geo', 'os'],
    alpha=0.05,
    power=0.8,
    outliers_handling_method='replace_threshold',
    outliers_threshold_quantile=0.995,
    outlier_type='upper',
    test_days=30,
    sample_size=10000
)

df_mde = mde_calculator.calculate(n_processes=8)
fig = mde_calculator.create_mde_plot(df_mde)
fig.show()

Требования

  • Python 3.8+
  • pandas 1.3+
  • numpy 1.20+
  • scipy 1.7+
  • statsmodels 0.13+
  • otvertka 0.1.6+
  • tqdm 4.65+

Лицензия

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

medoed-0.1.1.tar.gz (269.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medoed-0.1.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file medoed-0.1.1.tar.gz.

File metadata

  • Download URL: medoed-0.1.1.tar.gz
  • Upload date:
  • Size: 269.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for medoed-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2c7f27fa88ee21dba9cd0800a6625a63395ad79df29b0025be820820bb6456aa
MD5 00bb866bc247a7e07ab289f42bbc6189
BLAKE2b-256 62a151f428211cf6187951908c93ba53e96fc32290ca408531c8ae38cccb4820

See more details on using hashes here.

File details

Details for the file medoed-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: medoed-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for medoed-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae84a9e972d2624e1e2d59f0d001c43d439e55930b957da01da32b6bced73926
MD5 ff2e86a985fd93e19fb69568c5ff1992
BLAKE2b-256 b6e0159985f2dac54d75d25868a9b51bee8d758420dd81b168ca2a41b82284f0

See more details on using hashes here.

Supported by

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