SlideShare a Scribd company logo
1 of 25
Download to read offline
BEYOND BASIC
A/B TESTING
János Divényi
Emarsys
@divenyijanos
divenyijanos.github.io
tabularinsights.com
@divenyijanosBudapest BI Forum
@divenyijanosBudapest BI Forum 20161026
http://dilbert.com/strip/2001-10-25
@divenyijanosBudapest BI Forum 20161026
main
90%
control
10%
1 week
comparison period
@divenyijanosBudapest BI Forum 20161026
main
90%
control
10%
1 week
comparison period
for 2 months
~450k people
variation average sales improvement lift chance to beat baseline
main 0.0919 -0.0037 -3.87% 10.0%
control 0.0956
@divenyijanosBudapest BI Forum 20161026
@divenyijanosBudapest BI Forum 20161026
groupAA <- function(sales_dt, proportion = c(0.9, 0.1)) {
sales_dt[, .(
sales_amount,
simulated_AA_program = sample(
c('main', 'control'),
size = .N,
replace = TRUE,
prob = proportion
)
)]
}
@divenyijanosBudapest BI Forum 20161026
compareAA <- function(sales_dt, proportion = c(0.9, 0.1)) {
groupAA(sales_dt, proportion) %>%
.[
,
.(avg_sales = mean(sales_amount)),
by = simulated_AA_program
]
}
@divenyijanosBudapest BI Forum 20161026
compareAA <- function(sales_dt, proportion = c(0.9, 0.1)) {
groupAA(sales_dt, proportion) %>%
.[
,
.(avg_sales = mean(sales_amount)),
by = simulated_AA_program
]
}
AA_results <- lapply(
1:10000,
function(i) compareAA(sales_dt)
) %>% rbindlist()
@divenyijanosBudapest BI Forum 20161026
sales
main
control
@divenyijanosBudapest BI Forum 20161026
95%
sales
With a 90/10 split of ~450k customers
we can detect
an effect of at least 50%
in average sales.
@divenyijanosBudapest BI Forum 20161026
number of observations
variation of outcome
size of expected effect
@divenyijanosBudapest BI Forum 20161026
@divenyijanosBudapest BI Forum 20161026
scales by square root n
for half the effect 4 times as
many observations needed
number of observations
variation of outcome
size of expected effect
@divenyijanosBudapest BI Forum 20161026
@divenyijanosBudapest BI Forum 20161026
95%
log sales
@divenyijanosBudapest BI Forum 20161026
95%
conversion rate
avg log sales
main 0.0091 0.0023 34.40% 99.7%
control 0.0068
variation average sales improvement lift chance to beat baseline
main 0.0919 -0.0037 -3.87% 10.0%
control 0.0956
@divenyijanosBudapest BI Forum 20161026
avg log sales
main 0.0091 0.0023 34.40% 99.7%
control 0.0068
variation average sales improvement lift chance to beat baseline
main 0.0919 -0.0037 -3.87% 10.0%
control 0.0956
@divenyijanosBudapest BI Forum 20161026
conversion
main 0.32% 0.09%p 41.26% 100.0%
control 0.23%
Randomized Block Design
(aka Stratified Sampling)
ensures that less variable groups
are being compared
@divenyijanosBudapest BI Forum 20161026
number of observations
variation of outcome
size of expected effect
@divenyijanosBudapest BI Forum 20161026
CAUSAL TREE
to look for effect within segments
while avoiding multiple testing
@divenyijanosBudapest BI Forum 20161026
CAUSAL TREE
@divenyijanosBudapest BI Forum 20161026
BAYESIAN A/B TESTING
P(data|versions are the same)
P(versions are the same|data)
@divenyijanosBudapest BI Forum 20161026
BAYESIAN A/B TESTING
P(data|versions are the same)
P(versions are the same|data)

More Related Content

Similar to Beyond Basic AB Testing

How to Increase your Conversion Rate
How to Increase your Conversion RateHow to Increase your Conversion Rate
How to Increase your Conversion Rate
auexpo Conference
 
Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides
Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides
Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides
SlideTeam
 
Digital Marketing Opportunities And Challenges Powerpoint Presentation Slides
Digital Marketing Opportunities And Challenges Powerpoint Presentation SlidesDigital Marketing Opportunities And Challenges Powerpoint Presentation Slides
Digital Marketing Opportunities And Challenges Powerpoint Presentation Slides
SlideTeam
 
Operational Effectiveness: Uncovering the Hidden Dollars in Your Food Facility
Operational Effectiveness: Uncovering the Hidden Dollars in Your Food FacilityOperational Effectiveness: Uncovering the Hidden Dollars in Your Food Facility
Operational Effectiveness: Uncovering the Hidden Dollars in Your Food Facility
SafetyChain Software
 

Similar to Beyond Basic AB Testing (20)

How to Increase your Conversion Rate
How to Increase your Conversion RateHow to Increase your Conversion Rate
How to Increase your Conversion Rate
 
Pitch deck zespołu Survicate
Pitch deck zespołu SurvicatePitch deck zespołu Survicate
Pitch deck zespołu Survicate
 
Krokosz lecture3 cost-volume-profit analysis
Krokosz lecture3 cost-volume-profit analysisKrokosz lecture3 cost-volume-profit analysis
Krokosz lecture3 cost-volume-profit analysis
 
Pricing Analytics Case Study
Pricing Analytics Case StudyPricing Analytics Case Study
Pricing Analytics Case Study
 
Data-Driven Product Development
Data-Driven Product DevelopmentData-Driven Product Development
Data-Driven Product Development
 
Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides
Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides
Digital Marketing Opportunities And Challenges PowerPoint Presentation Slides
 
Digital Marketing Opportunities And Challenges Powerpoint Presentation Slides
Digital Marketing Opportunities And Challenges Powerpoint Presentation SlidesDigital Marketing Opportunities And Challenges Powerpoint Presentation Slides
Digital Marketing Opportunities And Challenges Powerpoint Presentation Slides
 
360 Degree View Of Customer Powerpoint Presentation Slides
360 Degree View Of Customer Powerpoint Presentation Slides360 Degree View Of Customer Powerpoint Presentation Slides
360 Degree View Of Customer Powerpoint Presentation Slides
 
5 Epiphanies from 20 Years in Search Marketing
5 Epiphanies from 20 Years in Search Marketing5 Epiphanies from 20 Years in Search Marketing
5 Epiphanies from 20 Years in Search Marketing
 
Benchpress report 2016
Benchpress report 2016Benchpress report 2016
Benchpress report 2016
 
Data Insight Leaders Summit Barcelona 2017
Data Insight Leaders Summit Barcelona 2017Data Insight Leaders Summit Barcelona 2017
Data Insight Leaders Summit Barcelona 2017
 
IP on top of Microsoft Dynamics CRM
IP on top of Microsoft Dynamics CRMIP on top of Microsoft Dynamics CRM
IP on top of Microsoft Dynamics CRM
 
2016 VC Executive Compensation Trend Report
2016 VC Executive Compensation Trend Report2016 VC Executive Compensation Trend Report
2016 VC Executive Compensation Trend Report
 
Operational Effectiveness: Uncovering the Hidden Dollars in Your Food Facility
Operational Effectiveness: Uncovering the Hidden Dollars in Your Food FacilityOperational Effectiveness: Uncovering the Hidden Dollars in Your Food Facility
Operational Effectiveness: Uncovering the Hidden Dollars in Your Food Facility
 
Monthly Sales Scorecard PowerPoint Presentation Slides
Monthly Sales Scorecard PowerPoint Presentation SlidesMonthly Sales Scorecard PowerPoint Presentation Slides
Monthly Sales Scorecard PowerPoint Presentation Slides
 
Marketing Mix Models In a Changing Environment
Marketing Mix Models In a Changing EnvironmentMarketing Mix Models In a Changing Environment
Marketing Mix Models In a Changing Environment
 
Sales And Marketing Analysis Report PowerPoint Presentation Slide
Sales And Marketing Analysis Report PowerPoint Presentation SlideSales And Marketing Analysis Report PowerPoint Presentation Slide
Sales And Marketing Analysis Report PowerPoint Presentation Slide
 
Decision Making Models and Slides Pareto and more
Decision Making Models and Slides Pareto and moreDecision Making Models and Slides Pareto and more
Decision Making Models and Slides Pareto and more
 
2014 SaaS Metrics Report
2014 SaaS Metrics Report2014 SaaS Metrics Report
2014 SaaS Metrics Report
 
Practical finance applications for HR Eng - TMS Consulting
Practical finance applications for HR Eng - TMS ConsultingPractical finance applications for HR Eng - TMS Consulting
Practical finance applications for HR Eng - TMS Consulting
 

More from János Divényi

More from János Divényi (16)

Prediction versus Causality
Prediction versus CausalityPrediction versus Causality
Prediction versus Causality
 
Slide5 bme adat_2016
Slide5 bme adat_2016Slide5 bme adat_2016
Slide5 bme adat_2016
 
Slide4 bme adat_2016
Slide4 bme adat_2016Slide4 bme adat_2016
Slide4 bme adat_2016
 
Slide3 bme adat_2016
Slide3 bme adat_2016Slide3 bme adat_2016
Slide3 bme adat_2016
 
Slide2 bme adat_2016
Slide2 bme adat_2016Slide2 bme adat_2016
Slide2 bme adat_2016
 
Slide1 bme adat_2016
Slide1 bme adat_2016Slide1 bme adat_2016
Slide1 bme adat_2016
 
R meetup-2016-02-09-pc
R meetup-2016-02-09-pcR meetup-2016-02-09-pc
R meetup-2016-02-09-pc
 
Slide5 bme adat_2015
Slide5 bme adat_2015Slide5 bme adat_2015
Slide5 bme adat_2015
 
Slide4 bme adat_2015
Slide4 bme adat_2015Slide4 bme adat_2015
Slide4 bme adat_2015
 
Slide3 bme adat_2015
Slide3 bme adat_2015Slide3 bme adat_2015
Slide3 bme adat_2015
 
Slide2 bme adat_2015
Slide2 bme adat_2015Slide2 bme adat_2015
Slide2 bme adat_2015
 
Slide1 bme adat_2015
Slide1 bme adat_2015Slide1 bme adat_2015
Slide1 bme adat_2015
 
Why code
Why codeWhy code
Why code
 
How to-code-r
How to-code-rHow to-code-r
How to-code-r
 
How to code?
How to code?How to code?
How to code?
 
Why code?
Why code?Why code?
Why code?
 

Recently uploaded

Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
shivangimorya083
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
shambhavirathore45
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 

Recently uploaded (20)

Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 

Beyond Basic AB Testing