Data Scientist how-to

How to Analyze an A/B Test

Careful analysis prevents false conclusions.

Updated By the Career Education Institute Curriculum Team
Quick answer

Careful analysis prevents false conclusions. In short: confirm; check; calculate, then complete the remaining steps below.

Step by step

  1. Confirm the test was randomized.

  2. Check sample sizes for each group.

  3. Calculate the metric for each group.

  4. Run a statistical test.

  5. Check for practical significance, not just statistical.

  6. Report the result and recommendation.

Safety reminders for data scientists

  • Protect personal and sensitive data
  • Follow privacy laws and company policies
  • Check models for bias and fairness
  • Take screen breaks and use ergonomic setups

Dataset · Feature · Model · Training data · Overfitting · Regression: see the full data scientist glossary.

More data scientist how-to guides

Enroll in trainingTake fit quiz