Skip to main content

A/B Testing in R

Learn A/B testing: including hypothesis testing, experimental design, and confounding variables.

Start Course for Free
4 Hours16 Videos60 Exercises9,804 Learners4700 XPStatistician Track

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies


Course Description

In this course, you will learn the foundations of A/B testing, including hypothesis testing, experimental design, and confounding variables. You will also be exposed to a couple more advanced topics, sequential analysis and multivariate testing. The first dataset will be a generated example of a cat adoption website. You will investigate if changing the homepage image affects conversion rates (the percentage of people who click a specific button). For the remainder of the course you will use another generated dataset of a hypothetical data visualization website.

  1. 1

    Chapter 1: Mini case study in A/B Testing

    Free

    Short case study on building and analyzing an A/B experiment.

    Play Chapter Now
    Introduction
    50 xp
    Goals of A/B testing
    50 xp
    Preliminary data exploration
    100 xp
    Baseline conversion rates
    50 xp
    Current conversion rate day of week
    100 xp
    Current conversion rate week
    100 xp
    Plotting conversion rate seasonality
    100 xp
    Experimental design, power analysis
    50 xp
    Randomized vs. sequential
    50 xp
    SSizeLogisticBin() documentation
    50 xp
    Power analysis August
    100 xp
    Power analysis August 5 percentage point increase
    100 xp

In the following tracks

Statistician

Collaborators

dcamposlizDavid CamposchesterChester IsmayshoninouyeShon Inouye
DataCamp Content Creator Headshot

DataCamp Content Creator

Course Instructor

DataCamp offers interactive R, Python, Spreadsheets, SQL and shell courses. All on topics in data science, statistics, and machine learning. Learn from a team of expert teachers in the comfort of your browser with video lessons and fun coding challenges and projects.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA