Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Full A/B Test Workflow | s1
A/B Testing with Python
Section 1. Chapter 18
single

single

Challenge: Full A/B Test Workflow

Swipe to show menu

In this chapter, you will bring together everything you have learned by completing a full A/B test workflow from start to finish. This comprehensive challenge will guide you through each stage, reinforcing your understanding and practical skills. Here is a checklist of the steps you should follow for a complete A/B test analysis:

  • Define a clear hypothesis for your A/B test;
  • Simulate or obtain sample data for both control and variant groups;
  • Calculate and compare relevant metrics for each group;
  • Perform a statistical test to determine significance;
  • Compute confidence intervals for your key metric(s);
  • Visualize the results for clear communication;
  • Interpret your findings and summarize your conclusions in a concise report.

By following these steps, you will demonstrate your ability to conduct and communicate a robust A/B test analysis, preparing you for real-world experimentation scenarios.

Task

Swipe to start coding

In this challenge, you will practice the full A/B testing workflow by simulating an experiment, analyzing the results, and visualizing your findings. Use the provided starter code to complete each step.

  • Simulate A/B test data for control and variant groups using the specified sample sizes and conversion rates.
  • Analyze the simulated data to calculate conversion rates, their difference, perform a statistical test, and compute a confidence interval.
  • Visualize the conversion rates for each group using a bar chart with error bars.
  • Summarize your results by interpreting the statistical findings and stating your conclusion.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 18
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt