Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Data Analytics for Marketing

You're reading from   Data Analytics for Marketing A practical guide to analyzing marketing data using Python

Arrow left icon
Product type Paperback
Published in May 2024
Publisher Packt
ISBN-13 9781803241609
Length 452 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Guilherme Diaz-Bérrio Guilherme Diaz-Bérrio
Author Profile Icon Guilherme Diaz-Bérrio
Guilherme Diaz-Bérrio
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: Fundamentals of Analytics
2. Chapter 1: What is Marketing Analytics? FREE CHAPTER 3. Chapter 2: Extracting and Exploring Data with Singer and pandas 4. Chapter 3: Design Principles and Presenting Results with Streamlit 5. Chapter 4: Econometrics and Causal Inference with Statsmodels and PyMC 6. Part 2: Planning Ahead
7. Chapter 5: Forecasting with Prophet, ARIMA, and Other Models Using StatsForecast 8. Chapter 6: Anomaly Detection with StatsForecast and PyMC 9. Part 3: Who and What to Target
10. Chapter 7: Customer Insights – Segmentation and RFM 11. Chapter 8: Customer Lifetime Value with PyMC Marketing 12. Chapter 9: Customer Survey Analysis 13. Chapter 10: Conjoint Analysis with pandas and Statsmodels 14. Part 4: Measuring Effectiveness
15. Chapter 11: Multi-Touch Digital Attribution 16. Chapter 12: Media Mix Modeling with PyMC Marketing 17. Chapter 13: Running Experiments with PyMC 18. Index 19. Other Books You May Enjoy

Observational studies

Randomization is critical. In online advertising, the standard approach to achieve this is to leave choosing which users enter the test and control groups to the end of the ad delivery pipeline, after the targeting and bidding.

Figure 13.5 – Flow of an ad request for testing split

Figure 13.5 – Flow of an ad request for testing split

We have at least three rates we can measure:

Figure 13.6 – Flow of an ad request for testing split 2

Figure 13.6 – Flow of an ad request for testing split 2

We have R c for the control group, R T L for the test group that lost the bid, and R T W for the test group that won the bid. We want to find R C W, that is, the conversion rate for the users who would have won even if they weren’t served with impressions.

We can estimate it with some assumptions. Note that the ratio, y, is the observable ratio of the number of users who won the bid and were served with impressions, over the number of users who lost the bid. By assuming...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime