Skip to main content

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', 'platform'],
    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,
    are_correction=True,
    continuous_alternative='two-sided'
)

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

Metadata

Release files for medoed 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for medoed 0.1.8
File Size Uploaded
medoed-0.1.8.tar.gz 270.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for medoed 0.1.8
File Interpreter ABI Platform
medoed-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 279.1 kB

Release files / medoed-0.1.8.tar.gz

Download URL medoed-0.1.8.tar.gz
Size 270.4 kB
Tags Source
SHA-256 checksum
How to use checksums
14a15964114224fc1ddc271af033b63b327ad8e18e4d79cb42fa84d9b5a1eb1d
BLAKE2b-256 checksum
How to use checksums
8715186042e8a2b84326ebbc42521d15310f8f3ba563b71b9798ee21c9b16748
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / medoed-0.1.8-py3-none-any.whl

Download URL medoed-0.1.8-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d13f92e0a874fcc0abf176d1e8fdf8617465f1f13aac86bdda810daa93c85489
BLAKE2b-256 checksum
How to use checksums
fd53c44becdcfd377292e368ad2e20e6c824d562f54f1f784db01ef4bdeeae94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page