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 Rateauexpo Conference
 
Pitch deck zespołu Survicate
Pitch deck zespołu SurvicatePitch deck zespołu Survicate
Pitch deck zespołu SurvicateAdam Łopusiewicz
 
Krokosz lecture3 cost-volume-profit analysis
Krokosz lecture3 cost-volume-profit analysisKrokosz lecture3 cost-volume-profit analysis
Krokosz lecture3 cost-volume-profit analysisZofia Krokosz-Krynke
 
Pricing Analytics Case Study
Pricing Analytics Case StudyPricing Analytics Case Study
Pricing Analytics Case StudyMichael Wolfe
 
Data-Driven Product Development
Data-Driven Product DevelopmentData-Driven Product Development
Data-Driven Product DevelopmentNitzan Achsaf
 
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 SlidesSlideTeam
 
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 SlidesSlideTeam
 
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 MarketingBill Hunt
 
Benchpress report 2016
Benchpress report 2016Benchpress report 2016
Benchpress report 2016MailNinja
 
Data Insight Leaders Summit Barcelona 2017
Data Insight Leaders Summit Barcelona 2017Data Insight Leaders Summit Barcelona 2017
Data Insight Leaders Summit Barcelona 2017Harvinder Atwal
 
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 CRMWim Geukens
 
2016 VC Executive Compensation Trend Report
2016 VC Executive Compensation Trend Report2016 VC Executive Compensation Trend Report
2016 VC Executive Compensation Trend ReportLewis Lin 🦊
 
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 FacilitySafetyChain Software
 
Monthly Sales Scorecard PowerPoint Presentation Slides
Monthly Sales Scorecard PowerPoint Presentation SlidesMonthly Sales Scorecard PowerPoint Presentation Slides
Monthly Sales Scorecard PowerPoint Presentation SlidesSlideTeam
 
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 EnvironmentAquent
 
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 SlideSlideTeam
 
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 moreWalter Ciscato
 
2014 SaaS Metrics Report
2014 SaaS Metrics Report2014 SaaS Metrics Report
2014 SaaS Metrics ReportTotango
 
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 Consultingtmsphilipchow
 

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 (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

代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
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.pptxolyaivanovalion
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
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 interactionfulawalesam
 
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 signalsInvezz1
 
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.pptxolyaivanovalion
 

Recently uploaded (20)

代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
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
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
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
 
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
 
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
 

Beyond Basic AB Testing