Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Control and Test Groups | The First A/B Test
A/B Testing in Python

bookControl and Test Groups

We have decided what criterion we will use in the future to get the final result. Now let's perform more 'checks' between groups to understand if they differ significantly.

All steps we are going to perform are to see if groups do differ. The final check with the p-value and statistical criterion will be as a sum up of everything we did.

We continue analyzing the data we received after the A/B test. Let's divide our data into 2 groups:

  • The control group that tests the old version of the site;
  • The test group that tests an updated version of the site.
Task

Swipe to start coding

  1. Create the new variable df_control with the 'control' group.
  2. Create the new variable df_test with the 'test' group.
  3. Show the first row of the df_control.
  4. Show the first row of the df_test.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

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

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 4.55

bookControl and Test Groups

Swipe to show menu

We have decided what criterion we will use in the future to get the final result. Now let's perform more 'checks' between groups to understand if they differ significantly.

All steps we are going to perform are to see if groups do differ. The final check with the p-value and statistical criterion will be as a sum up of everything we did.

We continue analyzing the data we received after the A/B test. Let's divide our data into 2 groups:

  • The control group that tests the old version of the site;
  • The test group that tests an updated version of the site.
Task

Swipe to start coding

  1. Create the new variable df_control with the 'control' group.
  2. Create the new variable df_test with the 'test' group.
  3. Show the first row of the df_control.
  4. Show the first row of the df_test.

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!

close

Awesome!

Completion rate improved to 4.55
SectionΒ 2. ChapterΒ 4
single

single

some-alt