# Introduction to A/B Testing in R

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

4 Hours16 Videos60 Exercises
10,742 Learners

or

## 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
2. 2

### Chapter 2: Mini case study in A/B Testing Part 2

In this chapter we'll continue with our case study, now moving to our statistical analysis. We'll also discuss how to do follow-up experiment planning.

3. 3

In this chapter we'll dive deeper into the core concepts of A/B testing. This will include discussing A/B testing research questions, assumptions and types of A/B testing, as well as what confounding variables and side effects are.

4. 4

### Chapter 4: Statistical Analyses in A/B Testing

In the final chapter we'll go over more types of statistical tests and power analyses for different A/B testing designs. We'll also introduce the concepts of stopping rules, sequential analysis, and multivariate analysis.

Datasets

Click datasetExperiment datasetData Visualization Website - April 2018

Collaborators

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