API Reference
Main Classes
High-level experiment runners that compose the lower-level building blocks.
A class for conducting A/A tests with configurable parameters. |
|
A class for conducting A/B tests with configurable statistical tests and multiple testing correction. |
|
A class for conducting homogeneity tests between the groups. |
|
A class for performing matching analysis with configurable distance metrics and quality tests. |
Comparators
All comparators live in hypex.comparators.
Hypothesis Tests
Backend-adaptive tests — automatically select the best implementation for the active dataset backend (pandas vs. Spark).
Two-sample t-test for numeric targets. |
|
Chi-square test of independence for categorical targets. |
|
Two-sample Kolmogorov-Smirnov test for numeric targets. |
|
Mann-Whitney U test (Wilcoxon rank-sum) for numeric targets. |
Group Metrics
Power & Sample Size
Base Classes
Extend these to implement custom comparators.
Splitters
Transformers
Pre-processing steps applied to Dataset objects.
Experiments
Pipeline runners that chain executors over ExperimentData.
Reporters
Operators
Calculators
A calculator for estimating the minimum required sample size for multi-group comparisons. |
Dataset Module
Roles
Roles tag columns with semantic meaning so executors can locate them without hard-coding column names.