Emmanuel Odoh/

Competition - website redesign


Which version of the website should you use?

📖 Background

You work for an early-stage startup in Germany. Your team has been working on a redesign of the landing page. The team believes a new design will increase the number of people who click through and join your site.

They have been testing the changes for a few weeks and now they want to measure the impact of the change and need you to determine if the increase can be due to random chance or if it is statistically significant.

💾 The data

The team assembled the following file:

Redesign test data
  • "treatment" - "yes" if the user saw the new version of the landing page, no otherwise.
  • "new_images" - "yes" if the page used a new set of images, no otherwise.
  • "converted" - 1 if the user joined the site, 0 otherwise.

The control group is those users with "no" in both columns: the old version with the old set of images.

import pandas as pd
df = pd.read_csv('./data/redesign.csv')

💪 Challenge

Complete the following tasks:

  1. Analyze the conversion rates for each of the four groups: the new/old design of the landing page and the new/old pictures.
  2. Can the increases observed be explained by randomness? (Hint: Think A/B test)
  3. Which version of the website should they use?

🧑‍⚖️ Judging criteria

We will randomly select ten winners from the correct submissions for this challenge.

The winners will receive DataCamp merchandise.

✅ Checklist before publishing

  • Rename your workspace to make it descriptive of your work. N.B. you should leave the notebook name as notebook.ipynb.
  • Remove redundant cells like the judging criteria, so the workbook is focused on your answers.
  • Check that all the cells run without error.

⌛️ Time is ticking. Good luck!

  • AI Chat
  • Code