online-experimentation

Perform Welch's t-test and CUPED variance reduction for online A/B experiments.

1|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/hung-phan/ml-skills --skill online-experimentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: online-experimentation
Source: https://github.com/hung-phan/ml-skills/tree/main/skills/ml-review/references/ml-training/online-experimentation
Command: npx skills add https://github.com/hung-phan/ml-skills --skill online-experimentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scipy, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Online experimentation helps bridge the gap between offline model evaluation and actual business impact, tackling distribution shifts, novelty effects, and metric mismatches.

Core Features & Use Cases

  • Online Evaluation: Measure business KPIs and live metrics with statistical rigor.
  • A/B Testing: Conduct experiments to determine the effectiveness of new models.
  • Bandits: Maximize cumulative rewards through sequential decision-making.
  • Use Case: When deploying a new model, use online experimentation to understand its impact on retention and revenue, without relying solely on offline metrics.

Quick Start

Use the online-experimentation skill to perform a Welch's t-test on your A/B test results with the 'welch_ttest' script.

Frequently Asked Questions about online-experimentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure the business impact of a new model deployment during A/B testing?

A/B testing during model deployment measures business impact by evaluating live metrics and KPIs with statistical rigor. It bridges the gap between offline evaluation and online performance to handle distribution shifts and novelty effects.

What statistical methods are used for online experimentation variance reduction?

Online experimentation uses Welch's t-test, Benjamini-Hochberg FDR control, and CUPED for variance reduction. These advanced statistical methods analyze experimental results to interpret the effectiveness of new models accurately.

When do I need online experimentation instead of relying on offline model evaluation?

You need online experimentation when offline metrics fail to reflect actual business impact. It tackles distribution shifts, metric mismatches, and novelty effects to understand true effects on retention and revenue during feature testing.

Can I use bandits for sequential decision-making in online evaluation?

Bandits maximize cumulative rewards through sequential decision-making in online evaluation. They provide an alternative to standard A/B testing by dynamically allocating traffic based on real-time performance feedback.

Do I need scipy and numpy to run statistical testing for model rollouts?

Yes, you need scipy and numpy to run statistical testing for model rollouts. These dependencies provide the necessary computational foundations to execute advanced tests and analyze experimentation results.

What is the best way to control false discovery rate when testing multiple A/B test metrics?

The best way to control false discovery rate across multiple A/B test metrics is using Benjamini-Hochberg FDR control. This statistical method adjusts p-values to minimize false positives when evaluating numerous live metrics simultaneously.