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)
df_mde

Требования

  • Python 3.8+
  • pandas 1.3+
  • numpy 1.20+
  • scipy 1.7+
  • statsmodels 0.13+
  • otvertka 0.1.10+
  • 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.7.tar.gz (269.6 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.7-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: medoed-0.1.7.tar.gz
  • Upload date:
  • Size: 269.6 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.7.tar.gz
Algorithm Hash digest
SHA256 93d55ba923c61f91f4ec0b2d69e379959c61db468ee4920adeb9187542c69bcc
MD5 91345d993b64ee8a13674a5ebf4b7fdb
BLAKE2b-256 4244a6193557c472d7fbe41b2f14a3b5989e2ce07090b65b2192fa333cbaeae1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: medoed-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc7f24155bb8dada0d3efe121ca02f46ff44a5a555e4e3192fe618190f7d9d7
MD5 2966f8823351ccb376728c277b9e4853
BLAKE2b-256 6e48d7d413c9354a702bf99d191e3e154888d2f920e9eebb693b200afecc16a1

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