R Tutorial: A/B Testing in R
Skills:
Data Literacy60%
Key Takeaways
This video tutorial covers the fundamentals of A/B testing in R, including experimental design, hypothesis testing, and data analysis using the tidyverse package.
Full Transcript
hi my name is Paige peach Nene I'm a data scientist and I'll be your instructor for this course on AV testing in our a/b testing is a powerful way to try out a new design or program changes before making file decisions in this course we'll go over the fundamentals of a/b testing so you can get started on building and analyzing your own AV experiments before getting into a/b testing let's talk about what it is and why it's useful for you a B testing is a framework for you to test different ideas for how to improve upon an existing design often a website with a/b testing you're able to take a set of new ideas test them with a new experiment cicely analyze the results to confidently say which idea is better update your website or app to use the winning idea and then continue the cycle over again what's key to remember is a B testing is not something you do just once you want to be constantly updating your website or app to maximize things like conversion rates or usage time with a be testing you will always be making minor updates to push those numbers up while AV testing is often discussed in the context of websites and tech really it can be used in any context free of a question you want to test and then make updates accordingly a B testing is just experimental design you could a be test two different fertilizer types in your garden or secretly test two coffee brands at work to see which people liked more the world is your a be testing playground in Chapter three I'll go over more example uses a baby testing now let's walk through a simplified set of steps with a hypothetical experiment in future chapters we'll see how a B testing can be more complicated than our hypothetical example here we'll be covering a/b testing concepts in more depth in chapters 3 & 4 let's say you run a cat adoption website right now your home page looks like this you want to know if a different homepage picture would result in more visitors clicking the adopted a button this is also referred to as conversion rate if someone clicks you say they converted the conversion rate is generally the number of people who did an action for example click the button divided by the number of people who went to the page in our case to test this you need two conditions one a control your current photo and two a test a new photo for your test photo you decide to use this photo your hypothesis is that seeing a cat in a hat will make people more likely to want to adopt let's go over the variables that you know you have your question while changing the home page photo result in more adopted a clicks and your hypothesis using a photo of a cat wearing a hat will result in more adopted a clicks you also have your independent variable whether a person clip the adopted a button or not and your independent variable the home page photo you have a control photo no hat or the test photo hat by building up from question two independent variable we know exactly what we're asking and we can already see the shape of our experiment for how to answer our question before we start building our experiment we want to know what our conversion rates look like before changing anything let's take a quick look at that dataset here I'm using the suite of packages called the tiny burst it should be familiar to you from data camps course in the tiny verse from the tiny verse we use the function read CSV from the reader package to load our data here click data if we look at the first few rows we see that we have two columns one visit date which gives the day when someone visited the website and two clicked adopt today which is a one if someone click on the button and is zero if they didn't okay now that we have the basic motivations of a B testing let's practice what we've learned and take another look at our preliminary
Original Description
Want to learn more? Take the full course at https://learn.datacamp.com/courses/ab-testing-in-r at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.
---
Hi! My name is Page Piccinini. I'm a data scientist, and I'll be your instructor for this course on A/B Testing in R. A/B testing is a powerful way to try out a new design or program changes before making final decisions. In this course, we'll go over the fundamentals of A/B testing so you can get started on building and analyzing your own A/B experiments.
Before getting into A/B testing, let's talk about what it is and why it's useful for you.
A/B testing is a framework for you to test different ideas for how to improve upon an existing design, often a website. With A/B testing you're able to take a set of new ideas, test them with a new experiment, statistically analyze the results to confidently say which idea is better, update your website or app to use the winning idea, and then continue the cycle over again. What's key to remember is A/B testing is not something you do just once. You want to be constantly updating your website or app to maximize things like conversion rates or usage time. With A/B testing you will always be making minor updates to push those numbers up.
While A/B testing is often discussed in the context of websites and tech, really it can be used in any context where you have a question you want to test and then make updates accordingly. A/B testing is just an experimental design. You could A/B test two different fertilizer types in your garden, or secretly test two coffee brands at work to see which people like more. The world is your A/B testing playground! In Chapter 3 I'll go over some more example uses of A/B testing.
Now, let's walk through a simplified set of steps with a hypothetical experiment. In future chapters, we'll see how A/B testing can be more complicated than our hypothetical example here. We'll be covering A/B tes
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DataCamp · DataCamp · 49 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
▶
50
51
52
53
54
55
56
57
58
59
60
SQL Server Tutorial: Date manipulation
DataCamp
R Tutorial: Intermediate Interactive Data Visualization with plotly in R
DataCamp
R Tutorial: Adding aesthetics to represent a variable
DataCamp
R Tutorial: Moving Beyond Simple Interactivity
DataCamp
Python Tutorial: Why use ML for marketing? Strategies and use cases
DataCamp
Python Tutorial: Preparation for modeling
DataCamp
Python Tutorial: Machine Learning modeling steps
DataCamp
R Tutorial: The prior model
DataCamp
R Tutorial: Data & the likelihood
DataCamp
R Tutorial: The posterior model
DataCamp
R Tutorial: An Introduction to plotly
DataCamp
R Tutorial: Plotting a single variable
DataCamp
R Tutorial: Bivariate graphics
DataCamp
Python Tutorial: Customer Segmentation in Python
DataCamp
Python Tutorial: Time cohorts
DataCamp
Python Tutorial: Calculate cohort metrics
DataCamp
Python Tutorial: Cohort analysis visualization
DataCamp
R Tutorial: Building Dashboards with flexdashboard
DataCamp
R Tutorial: Anatomy of a flexdashboard
DataCamp
R Tutorial: Layout basics
DataCamp
R Tutorial: Advanced layouts
DataCamp
Python Tutorial: Time Series Analysis in Python
DataCamp
Python Tutorial: Correlation of Two Time Series
DataCamp
Python Tutorial: Simple Linear Regressions
DataCamp
Python Tutorial: Autocorrelation
DataCamp
R Tutorial: The gapminder dataset
DataCamp
R Tutorial: The filter verb
DataCamp
R Tutorial: The arrange verb
DataCamp
R Tutorial: The mutate verb
DataCamp
R Tutorial: What is cluster analysis?
DataCamp
R Tutorial: Distance between two observations
DataCamp
R Tutorial: The importance of scale
DataCamp
R Tutorial: Measuring distance for categorical data
DataCamp
Python Tutorial: Plotting multiple graphs
DataCamp
Python Tutorial: Customizing axes
DataCamp
Python Tutorial: Legends, annotations, & styles
DataCamp
Python Tutorial: Introduction to iterators
DataCamp
Python Tutorial: Playing with iterators
DataCamp
Python Tutorial: Using iterators to load large files into memory
DataCamp
SQL Tutorial: Introduction to Relational Databases in SQL
DataCamp
SQL Tutorial: Tables: At the core of every database
DataCamp
SQL Tutorial: Update your database as the structure changes
DataCamp
Python Tutorial: Classification-Tree Learning
DataCamp
Python Tutorial: Decision-Tree for Classification
DataCamp
Python Tutorial: Decision-Tree for Regression
DataCamp
Python Tutorial: Census Subject Tables
DataCamp
Python Tutorial: Census Geography
DataCamp
Python Tutorial: Using the Census API
DataCamp
R Tutorial: A/B Testing in R
DataCamp
R Tutorial: Baseline Conversion Rates
DataCamp
R Tutorial: Designing an Experiment - Power Analysis
DataCamp
R Tutorial: Introduction to qualitative data
DataCamp
R Tutorial: Understanding your qualitative variables
DataCamp
R Tutorial: Making Better Plots
DataCamp
SQL Tutorial: OLTP and OLAP
DataCamp
SQL Tutorial: Storing data
DataCamp
SQL Tutorial: Database design
DataCamp
Python Tutorial: Introduction to spaCy
DataCamp
Python Tutorial: Statistical Models
DataCamp
Python Tutorial: Rule-based Matching
DataCamp
More on: Data Literacy
View skill →Related Reads
📰
📰
📰
📰
ECB names 36 payment firms for the digital euro pilot
The Next Web AI
From UPI to ONDC: How India's Digital Public Infrastructure Quietly Changed Everyday Life
Dev.to · Animesh Gupta
The Joy of Learning New Tech
Dev.to · Fabio Sarmento
How can you possibly use GenAI for lead scoring — and what’s “five” in French?
Medium · AI
🎓
Tutor Explanation
DeepCamp AI