Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] CUPED #142

Open
6 tasks
tikhomirovd opened this issue Feb 18, 2025 · 0 comments
Open
6 tasks

[FEATURE] CUPED #142

tikhomirovd opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tikhomirovd
Copy link
Collaborator

🚀 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’s 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’s 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’s impact.
  • Review and refine before merging.
@tikhomirovd tikhomirovd added the enhancement New feature or request label Feb 18, 2025
@tikhomirovd tikhomirovd added this to the 1.0.3 milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants