logoalt Hacker News

Comparing Python packages for A/B test analysis (with code examples)

8 pointsby e10v_melast Monday at 6:32 PM1 commentview on HN

Comments

e10v_melast Monday at 6:32 PM

I published a practical comparison of Python packages for A/B test analysis: tea-tasting, Pingouin, statsmodels, and SciPy.

Instead of choosing a single "best" tool, I break down where each package fits and how much manual work is needed for production-style experiment reporting.

Includes code examples and a feature matrix across power analysis, ratio metrics, relative effect CIs, CUPED, multiple testing correction, and working aggregated statistics for efficiency.

Disclosure: I am also the author of tea-tasting.