SlideShare a Scribd company logo
Using regression analysis, Monte Carlo
simulations and more to optimise paid
media budget allocations
Simon Löfwander – Data Analyst, Ayima
25/03/17
Contact: simonl@ayima.com
Introduction and problem description
• How do we find the optimal allocations
to spend on our campaigns to maximise
the total amount of conversions?
• Inspiration from financial statistics and
portfolio theory
• We view each account as a portfolio.
Each campaign in a portfolio is
considered an asset
Adjusting the method to fit our domain
• Omitting risk
Maximise conversions w.r.t. cost. Minimising volatility would favour stable
campaigns.
• Using a proxy for stock returns
Interpretable and suitable in our domain
• Weighting factor for campaigns
If conversions from specific campaigns are more valuable
• Adjusted model for e-commerce
Maximise conversion value when plausible
• Versatile
Applicable for all paid media campaigns
Calculating a proxy for stock returns
• Square root rule
Conversion as a function of the square root of spend
• K = conversions per unit of square root of spend
Our proxy. The higher K, the more conversions per
money spent
• Controlling spend
The square root rule makes sure the model won’t
recommend too high allocations
Conversions = K√Spend
Visualizing the
relationship between
conversions and cost
Simulating possible outcomes
• Robustness
Leverage the distribution of data to simulate many possible scenarios
• Monte Carlo simulations
We obtain a distribution of outcomes – can conveniently pick the most likely
• Technical details
Inverse CDF to transform simulations to appropriate distributions
• Conversions distribution
Positive integer. Negative binomial distribution
• Cost distribution
Continuous variable ≥ 0. Truncated normal distribution
Visualizing the
simulations in heatmaps
• To evaluate our distribution assumptions
and the simulation results
Solving for the
optimal weights
• The total amount of conversions is maximized
• We obtain optimal weights for each campaign and each simulation run
• For every campaign we get a distribution of optimal weights
Campaign
Recommended
allocation % Current allocation % Difference %
Campaign A 3.81 9.91 -6.1
Campaign B 14.64 2.91 11.73
Campaign C 5.87 6.05 -0.18
Campaign D 4.71 6.8 -2.1
Campaign E 6.89 18.06 -11.16
Campaign F 8.37 7.12 1.25
Campaign G 4.93 4.06 0.87
Campaign H 11.32 5.34 5.98
Campaign I 10.27 19.68 -9.41
Campaign J 17.39 3.03 14.36
Campaign K 11.8 17.04 -5.24
Interpreting and
using the results
• Model outputs are recommended
spend allocations
Visualizing the expected
uplifts in conversions
Explaining the plot
• Expected conversions with current
and recommended allocations
• By setting a target CPA, we obtain a
suggested max budget to not exceed
to stay within target
How do we
Know this works?
We can’t do A/B testing if we reallocate
budgets throughout an entire account.
Need to make sure of causality
Causal Impact
• Predicts what should have happened
and compares to what happened
• Confidence intervals with predictions
• Great R-coverage and library developed
by Google. “CausalImpact” is available
on CRAN
Automating the procedure
in RShiny applications for
cross-agency use
Creating user friendly applications
in Shiny
• Allowing for analytical methods to be
standardized
1 Reasonable amount of conversions and spend for each campaign
The simulations will work best for data rich campaigns
2 Maxed out campaigns will be favoured if they have good performance
Hence, campaigns in e.g. an AdWords context that has Search Impression share
~100% should be omitted
3 For seasonal data, we need overlapping time periods
The same time period for all campaigns should be used
Limitations
Questions and discussion
Contact: simonl@ayima.com
Slides will be available on SlideShare
Email or www.ayima.com for access

More Related Content

Viewers also liked

A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick StoxA Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
patrickstox
 
Advanced task management with Celery
Advanced task management with CeleryAdvanced task management with Celery
Advanced task management with Celery
Mahendra M
 
StoreDot Takes Over The World
StoreDot Takes Over The WorldStoreDot Takes Over The World
StoreDot Takes Over The WorldBlonde 2.0
 
Better Safe Than Sorry with HTTPS - SMX East 2016 - Patrick Stox
Better Safe Than Sorry with HTTPS - SMX East 2016 - Patrick StoxBetter Safe Than Sorry with HTTPS - SMX East 2016 - Patrick Stox
Better Safe Than Sorry with HTTPS - SMX East 2016 - Patrick Stox
patrickstox
 
Analítica en un mundo Munticanal - eShow User Web Analytics MAD 2016
Analítica en un mundo Munticanal  - eShow User Web Analytics MAD 2016Analítica en un mundo Munticanal  - eShow User Web Analytics MAD 2016
Analítica en un mundo Munticanal - eShow User Web Analytics MAD 2016
Iñaki Huerta (ikhuerta)
 
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
Michaela Linhart
 
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword ResearchSearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
Distilled
 
The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...
The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...
The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...
Paul Shapiro
 
10 conceptos clave con los que dominar cualquier negocio - Analítica web en ...
10 conceptos clave con los que dominar cualquier negocio  - Analítica web en ...10 conceptos clave con los que dominar cualquier negocio  - Analítica web en ...
10 conceptos clave con los que dominar cualquier negocio - Analítica web en ...
Iñaki Huerta (ikhuerta)
 
Reinforcement learning conductrics-superweek2017
Reinforcement learning conductrics-superweek2017Reinforcement learning conductrics-superweek2017
Reinforcement learning conductrics-superweek2017
Matt Gershoff
 
Chi squared test for digital analytics
Chi squared test for digital analyticsChi squared test for digital analytics
Chi squared test for digital analytics
Pawel Kapuscinski
 
You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data Science
Carmen Mardiros
 
word2vec, LDA, and introducing a new hybrid algorithm: lda2vec
word2vec, LDA, and introducing a new hybrid algorithm: lda2vecword2vec, LDA, and introducing a new hybrid algorithm: lda2vec
word2vec, LDA, and introducing a new hybrid algorithm: lda2vec
👋 Christopher Moody
 
reveal.js 3.0.0
reveal.js 3.0.0reveal.js 3.0.0
reveal.js 3.0.0
Hakim El Hattab
 
Seo y big data, rastreando lo que google rastrea - clinic seo - eshow
Seo y big data, rastreando lo que google rastrea - clinic seo - eshowSeo y big data, rastreando lo que google rastrea - clinic seo - eshow
Seo y big data, rastreando lo que google rastrea - clinic seo - eshow
Iñaki Huerta (ikhuerta)
 
How To Generate Your First 20,000 Followers On Instagram
How To Generate Your First 20,000 Followers On InstagramHow To Generate Your First 20,000 Followers On Instagram
How To Generate Your First 20,000 Followers On Instagram
Ross Simmonds
 
How To Embed SlideShare Shows Into WordPress.com
How To Embed SlideShare Shows Into WordPress.comHow To Embed SlideShare Shows Into WordPress.com
How To Embed SlideShare Shows Into WordPress.comKathy Gill
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
photomatt
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
SlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
SlideShare
 

Viewers also liked (20)

A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick StoxA Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
 
Advanced task management with Celery
Advanced task management with CeleryAdvanced task management with Celery
Advanced task management with Celery
 
StoreDot Takes Over The World
StoreDot Takes Over The WorldStoreDot Takes Over The World
StoreDot Takes Over The World
 
Better Safe Than Sorry with HTTPS - SMX East 2016 - Patrick Stox
Better Safe Than Sorry with HTTPS - SMX East 2016 - Patrick StoxBetter Safe Than Sorry with HTTPS - SMX East 2016 - Patrick Stox
Better Safe Than Sorry with HTTPS - SMX East 2016 - Patrick Stox
 
Analítica en un mundo Munticanal - eShow User Web Analytics MAD 2016
Analítica en un mundo Munticanal  - eShow User Web Analytics MAD 2016Analítica en un mundo Munticanal  - eShow User Web Analytics MAD 2016
Analítica en un mundo Munticanal - eShow User Web Analytics MAD 2016
 
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
 
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword ResearchSearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
SearchLove Boston 2016 | Paul Shapiro | How to Automate Your Keyword Research
 
The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...
The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...
The Actionable Guide to Doing Better Semantic Keyword Research #BrightonSEO (...
 
10 conceptos clave con los que dominar cualquier negocio - Analítica web en ...
10 conceptos clave con los que dominar cualquier negocio  - Analítica web en ...10 conceptos clave con los que dominar cualquier negocio  - Analítica web en ...
10 conceptos clave con los que dominar cualquier negocio - Analítica web en ...
 
Reinforcement learning conductrics-superweek2017
Reinforcement learning conductrics-superweek2017Reinforcement learning conductrics-superweek2017
Reinforcement learning conductrics-superweek2017
 
Chi squared test for digital analytics
Chi squared test for digital analyticsChi squared test for digital analytics
Chi squared test for digital analytics
 
You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data Science
 
word2vec, LDA, and introducing a new hybrid algorithm: lda2vec
word2vec, LDA, and introducing a new hybrid algorithm: lda2vecword2vec, LDA, and introducing a new hybrid algorithm: lda2vec
word2vec, LDA, and introducing a new hybrid algorithm: lda2vec
 
reveal.js 3.0.0
reveal.js 3.0.0reveal.js 3.0.0
reveal.js 3.0.0
 
Seo y big data, rastreando lo que google rastrea - clinic seo - eshow
Seo y big data, rastreando lo que google rastrea - clinic seo - eshowSeo y big data, rastreando lo que google rastrea - clinic seo - eshow
Seo y big data, rastreando lo que google rastrea - clinic seo - eshow
 
How To Generate Your First 20,000 Followers On Instagram
How To Generate Your First 20,000 Followers On InstagramHow To Generate Your First 20,000 Followers On Instagram
How To Generate Your First 20,000 Followers On Instagram
 
How To Embed SlideShare Shows Into WordPress.com
How To Embed SlideShare Shows Into WordPress.comHow To Embed SlideShare Shows Into WordPress.com
How To Embed SlideShare Shows Into WordPress.com
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 

Similar to Statistical modelling to optimise paid media campaigns

SiteScout August Buyer Strategy Webinar
SiteScout August Buyer Strategy WebinarSiteScout August Buyer Strategy Webinar
SiteScout August Buyer Strategy Webinar
sitescout
 
The Pros and Cons of PPC Bidding
The Pros and Cons of PPC BiddingThe Pros and Cons of PPC Bidding
The Pros and Cons of PPC Bidding
Hanapin Marketing
 
Google Search Conversion Optimizer
Google Search Conversion OptimizerGoogle Search Conversion Optimizer
Google Search Conversion Optimizer
Mrkt360 Inc.
 
Attribution Accelerator 2019- MTA Driven Programmatic Bid Optimization
Attribution Accelerator 2019- MTA Driven Programmatic Bid OptimizationAttribution Accelerator 2019- MTA Driven Programmatic Bid Optimization
Attribution Accelerator 2019- MTA Driven Programmatic Bid Optimization
Joy Joseph
 
Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...
Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...
Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...
AMASanDiego
 
Hero Conf London 2016 - The Definitive Framework for Bidding in AdWords
Hero Conf London 2016 - The Definitive Framework for Bidding in AdWordsHero Conf London 2016 - The Definitive Framework for Bidding in AdWords
Hero Conf London 2016 - The Definitive Framework for Bidding in AdWords
Wijnand Meijer
 
Microsoft Automation Bootcamp - London 2 October 2019
Microsoft Automation Bootcamp - London 2 October 2019Microsoft Automation Bootcamp - London 2 October 2019
Microsoft Automation Bootcamp - London 2 October 2019
MSFTAdvertising
 
Advertisers: Why Affiliate Commission Segmentation Matters
Advertisers: Why Affiliate Commission Segmentation MattersAdvertisers: Why Affiliate Commission Segmentation Matters
Advertisers: Why Affiliate Commission Segmentation Matters
Wade Sisson
 
Smarter And Granular Marketing Planning With Goals And Attribution
Smarter And Granular Marketing Planning With Goals And AttributionSmarter And Granular Marketing Planning With Goals And Attribution
Smarter And Granular Marketing Planning With Goals And Attribution
G3 Communications
 
1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin
1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin
1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin
elenae00
 
1 поток 2. аудиторные закупки в реальном времени thibault-oberlin
1 поток   2. аудиторные закупки в реальном времени thibault-oberlin1 поток   2. аудиторные закупки в реальном времени thibault-oberlin
1 поток 2. аудиторные закупки в реальном времени thibault-oberlinelenae00
 
A framework for customer relationship management
A framework for customer relationship managementA framework for customer relationship management
A framework for customer relationship management
Vivek Gopan
 
Plumb5: The most profitable marketing platform
Plumb5: The most profitable marketing platformPlumb5: The most profitable marketing platform
Plumb5: The most profitable marketing platform
Veer Endra
 
Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2
KelvindelaCruz10
 
Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2
KelvindelaCruz10
 
Using Analytics to Improve Your Affiliate Marketing
Using Analytics to Improve Your Affiliate MarketingUsing Analytics to Improve Your Affiliate Marketing
Using Analytics to Improve Your Affiliate Marketing
Affiliate Summit
 
search engine marketing
search engine marketingsearch engine marketing
search engine marketing
engy magdy
 
How to optimize publisher adspace
How to optimize publisher adspaceHow to optimize publisher adspace
How to optimize publisher adspace
Toms Panders
 
How to Successfully Build & Implement a Fixed Fee Pricing Plan at Your Practice
How to Successfully Build & Implement a Fixed Fee Pricing Plan at Your PracticeHow to Successfully Build & Implement a Fixed Fee Pricing Plan at Your Practice
How to Successfully Build & Implement a Fixed Fee Pricing Plan at Your Practice
Hubdoc
 
Ch4 management of territories
Ch4 management of territoriesCh4 management of territories
Ch4 management of territories
Srinivas Reddy Dwarampudi
 

Similar to Statistical modelling to optimise paid media campaigns (20)

SiteScout August Buyer Strategy Webinar
SiteScout August Buyer Strategy WebinarSiteScout August Buyer Strategy Webinar
SiteScout August Buyer Strategy Webinar
 
The Pros and Cons of PPC Bidding
The Pros and Cons of PPC BiddingThe Pros and Cons of PPC Bidding
The Pros and Cons of PPC Bidding
 
Google Search Conversion Optimizer
Google Search Conversion OptimizerGoogle Search Conversion Optimizer
Google Search Conversion Optimizer
 
Attribution Accelerator 2019- MTA Driven Programmatic Bid Optimization
Attribution Accelerator 2019- MTA Driven Programmatic Bid OptimizationAttribution Accelerator 2019- MTA Driven Programmatic Bid Optimization
Attribution Accelerator 2019- MTA Driven Programmatic Bid Optimization
 
Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...
Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...
Red Door Interactive: Contribution-Attribution-Mix, Oh My! Creating Content f...
 
Hero Conf London 2016 - The Definitive Framework for Bidding in AdWords
Hero Conf London 2016 - The Definitive Framework for Bidding in AdWordsHero Conf London 2016 - The Definitive Framework for Bidding in AdWords
Hero Conf London 2016 - The Definitive Framework for Bidding in AdWords
 
Microsoft Automation Bootcamp - London 2 October 2019
Microsoft Automation Bootcamp - London 2 October 2019Microsoft Automation Bootcamp - London 2 October 2019
Microsoft Automation Bootcamp - London 2 October 2019
 
Advertisers: Why Affiliate Commission Segmentation Matters
Advertisers: Why Affiliate Commission Segmentation MattersAdvertisers: Why Affiliate Commission Segmentation Matters
Advertisers: Why Affiliate Commission Segmentation Matters
 
Smarter And Granular Marketing Planning With Goals And Attribution
Smarter And Granular Marketing Planning With Goals And AttributionSmarter And Granular Marketing Planning With Goals And Attribution
Smarter And Granular Marketing Planning With Goals And Attribution
 
1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin
1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin
1 Поток - 2. Аудиторные закупки в реальном времени_Thibault_Oberlin
 
1 поток 2. аудиторные закупки в реальном времени thibault-oberlin
1 поток   2. аудиторные закупки в реальном времени thibault-oberlin1 поток   2. аудиторные закупки в реальном времени thibault-oberlin
1 поток 2. аудиторные закупки в реальном времени thibault-oberlin
 
A framework for customer relationship management
A framework for customer relationship managementA framework for customer relationship management
A framework for customer relationship management
 
Plumb5: The most profitable marketing platform
Plumb5: The most profitable marketing platformPlumb5: The most profitable marketing platform
Plumb5: The most profitable marketing platform
 
Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2
 
Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2Evaluate a google_ads_campaign_1.2
Evaluate a google_ads_campaign_1.2
 
Using Analytics to Improve Your Affiliate Marketing
Using Analytics to Improve Your Affiliate MarketingUsing Analytics to Improve Your Affiliate Marketing
Using Analytics to Improve Your Affiliate Marketing
 
search engine marketing
search engine marketingsearch engine marketing
search engine marketing
 
How to optimize publisher adspace
How to optimize publisher adspaceHow to optimize publisher adspace
How to optimize publisher adspace
 
How to Successfully Build & Implement a Fixed Fee Pricing Plan at Your Practice
How to Successfully Build & Implement a Fixed Fee Pricing Plan at Your PracticeHow to Successfully Build & Implement a Fixed Fee Pricing Plan at Your Practice
How to Successfully Build & Implement a Fixed Fee Pricing Plan at Your Practice
 
Ch4 management of territories
Ch4 management of territoriesCh4 management of territories
Ch4 management of territories
 

Recently uploaded

Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
pchutichetpong
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 

Recently uploaded (20)

Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 

Statistical modelling to optimise paid media campaigns

  • 1. Using regression analysis, Monte Carlo simulations and more to optimise paid media budget allocations Simon Löfwander – Data Analyst, Ayima 25/03/17 Contact: simonl@ayima.com
  • 2. Introduction and problem description • How do we find the optimal allocations to spend on our campaigns to maximise the total amount of conversions? • Inspiration from financial statistics and portfolio theory • We view each account as a portfolio. Each campaign in a portfolio is considered an asset
  • 3. Adjusting the method to fit our domain • Omitting risk Maximise conversions w.r.t. cost. Minimising volatility would favour stable campaigns. • Using a proxy for stock returns Interpretable and suitable in our domain • Weighting factor for campaigns If conversions from specific campaigns are more valuable • Adjusted model for e-commerce Maximise conversion value when plausible • Versatile Applicable for all paid media campaigns
  • 4. Calculating a proxy for stock returns • Square root rule Conversion as a function of the square root of spend • K = conversions per unit of square root of spend Our proxy. The higher K, the more conversions per money spent • Controlling spend The square root rule makes sure the model won’t recommend too high allocations Conversions = K√Spend
  • 6. Simulating possible outcomes • Robustness Leverage the distribution of data to simulate many possible scenarios • Monte Carlo simulations We obtain a distribution of outcomes – can conveniently pick the most likely • Technical details Inverse CDF to transform simulations to appropriate distributions • Conversions distribution Positive integer. Negative binomial distribution • Cost distribution Continuous variable ≥ 0. Truncated normal distribution
  • 7. Visualizing the simulations in heatmaps • To evaluate our distribution assumptions and the simulation results
  • 8. Solving for the optimal weights • The total amount of conversions is maximized • We obtain optimal weights for each campaign and each simulation run • For every campaign we get a distribution of optimal weights
  • 9. Campaign Recommended allocation % Current allocation % Difference % Campaign A 3.81 9.91 -6.1 Campaign B 14.64 2.91 11.73 Campaign C 5.87 6.05 -0.18 Campaign D 4.71 6.8 -2.1 Campaign E 6.89 18.06 -11.16 Campaign F 8.37 7.12 1.25 Campaign G 4.93 4.06 0.87 Campaign H 11.32 5.34 5.98 Campaign I 10.27 19.68 -9.41 Campaign J 17.39 3.03 14.36 Campaign K 11.8 17.04 -5.24 Interpreting and using the results • Model outputs are recommended spend allocations
  • 10. Visualizing the expected uplifts in conversions Explaining the plot • Expected conversions with current and recommended allocations • By setting a target CPA, we obtain a suggested max budget to not exceed to stay within target
  • 11. How do we Know this works? We can’t do A/B testing if we reallocate budgets throughout an entire account. Need to make sure of causality Causal Impact • Predicts what should have happened and compares to what happened • Confidence intervals with predictions • Great R-coverage and library developed by Google. “CausalImpact” is available on CRAN
  • 12. Automating the procedure in RShiny applications for cross-agency use Creating user friendly applications in Shiny • Allowing for analytical methods to be standardized
  • 13. 1 Reasonable amount of conversions and spend for each campaign The simulations will work best for data rich campaigns 2 Maxed out campaigns will be favoured if they have good performance Hence, campaigns in e.g. an AdWords context that has Search Impression share ~100% should be omitted 3 For seasonal data, we need overlapping time periods The same time period for all campaigns should be used Limitations
  • 14. Questions and discussion Contact: simonl@ayima.com Slides will be available on SlideShare Email or www.ayima.com for access