Skip to content

[FEATURE] CUPED#142

Description

@tikhomirovd

馃殌 Feature Proposal

Implement CUPED in AB Tests

Motivation

Currently, AB tests in HypEx do not leverage variance reduction techniques like CUPED (Controlled Experiment Using Pre-Experiment Data). CUPED can significantly reduce variance in experimental results, improving statistical power and enabling more reliable conclusions. Adding CUPED will enhance the robustness of AB tests in HypEx.

Feature Description

  • Implement CUPED variance reduction in the AB testing framework.
  • Ensure CUPED is an optional feature that can be toggled by users.
  • Integrate the method into the existing experimental pipeline while maintaining backward compatibility.
  • Provide clear documentation on how and when to use CUPED.
  • Add example notebooks demonstrating CUPED鈥檚 impact on variance reduction.

Potential Impacts

  • Improved statistical power in AB tests.
  • Reduced sample size requirements for detecting significant effects.
  • Increased reliability of experiment results.

Alternatives

  • Keep the current AB testing approach without variance reduction (less efficient).
  • Implement alternative variance reduction techniques such as stratification or post-stratification.

Additional Context

  • Follow best practices in implementing CUPED (pre-experiment covariates, linear adjustment).
  • Ensure integration is compatible with existing experiment structures.
  • Add unit tests to verify the correctness of CUPED鈥檚 implementation.

Checklist

  • Implement CUPED in AB testing framework.
  • Ensure seamless integration with existing experiments.
  • Write unit tests covering CUPED logic and correctness.
  • Provide clear documentation and usage examples.
  • Create a tutorial notebook demonstrating CUPED鈥檚 impact.
  • Review and refine before merging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions