
Awesome Marketing Science
A curated list of awesome machine learning libraries for marketing, including media mix models, multi touch attribution, causal inference and more shakostats.com.
Star ⭐ the repo if it helps you, and feel free to contribute your own favorite resources
Start Here / Must Read
If you're new to the space or building a measurement stack from scratch, start with these before going deep into the longer lists below. This shortlist is meant to build intuition across incrementality, experimentation, MMM, causal inference, and Bayesian thinking.
Geo Incrementality & Matched Markets
Measurement Strategy & MMM
A/B Testing & Experiment Quality
Causal Inference Foundations
Bayesian Modeling Foundations
Marketing Science Breadth
Open Source Libraries
A collection of open source repositories and libraries.
Attribution Libraries
Marketing Mix Models (MMM) Libraries
Geo Experimentation & Lift Testing Libraries
Causal Inference & Bayesian Analysis Libraries
Customer Analytics (CLV, Segmentation, Uplift) Libraries
Customer Response Modeling Libraries
Forecasting Libraries
Product Affinity/Association Libraries
Recommender Systems Libraries
Data & Utilities Libraries
Papers, Blogs, & Resources
Articles, papers, and other resources organized by topic.
Geo Experimentation & Lift Testing Resources
Experimentation & A/B Testing Resources
MMM Calibration & Tuning Resources
Segmentation & Personas Resources
Causal Inference & Bayesian Analysis Resources
- ArXiv preprint arXiv:1608.00060 - Most modern supervised statistical/machine learning (ML) methods are explicitly designed to solve prediction problems very well. Achieving this goal does not imply that these methods automatically deliver good estimat...
- Arxiv preprint arxiv:1806.04823 - This paper proposes a Lasso-type estimator for a high-dimensional sparse parameter identified by a single index conditional moment restriction (CMR). In addition to this parameter, the moment function can also depend...
- Proceedings of the 33rd Conference on Neural Information Processing Systems (NeurIPS) - We consider the estimation of heterogeneous treatment effects with arbitrary machine learning methods in the presence of unobserved confounders with the aid of a valid instrument. Such settings arise in A/B tests with...
- A More Credible Approach to Parallel Trends - Honest DiD sensitivity analysis for violations of parallel trends.
- A Unified Approach to Interpreting Model Predictions - Understanding why a model makes a certain prediction can be as crucial as the prediction's accuracy in many applications. However, the highest accuracy for large modern datasets is often achieved by complex models tha...
- ArXiv Paper - We introduce Gluon Time Series (GluonTS, available at https://gluon-ts.mxnet.io), a library for deep-learning-based time series modeling. GluonTS simplifies the development of and experimentation with time series mode...
- Augmented Difference-in-Differences
- Bayesian
- bayesian methods for media mix modeling with carryover and shape effect
- Benidis et al. - Deep learning based forecasting methods have become the methods of choice in many applications of time series prediction or forecasting often outperforming other approaches. Consequently, over the last years, these me...
- CausalML: Python package for causal machine learning
- Chronos-2 report - Pretrained time series models have enabled inference-only forecasting systems that produce accurate predictions without task-specific training. However, existing approaches largely focus on univariate forecasting, lim...
- Difference-in-Differences with Multiple Time Periods - Callaway and Sant'Anna's reference paper for staggered DiD estimation.
- Estimating Ad Effectiveness Using Geo Experiments in a Time-Based Regression Framework - Two previously published papers (Vaver and Koehler, 2011, 2012) describe
a model for analyzing geo experiments. This model was designed to measure
advertising effectiveness using the rigor of a randomized experi...
- Estimating Dynamic Treatment Effects in Event Studies with Heterogeneous Treatment Effects - Sun and Abraham's event-study correction for staggered treatment timing.
- External Resource - Gaussian processes are powerful non-parametric probabilistic models for stochastic functions. However, the direct implementation entails a complexity that is computationally intractable when the number of observations...
- External Resource - How to measure the incremental Return On Ad Spend (iROAS) is a fundamental problem for the online advertising industry. A standard modern tool is to run randomized geo experiments, where experimental units are non-ove...
- External Resource - We propose a generalization of the standard matched pairs design in which experimental units (often geographic regions or geos) may be combined into larger units/regions called "supergeos" in order to improve the aver...
- External Resource - We propose a generalization of the standard matched pairs design in which experimental units (often geographic regions or geos) may be combined into larger units/regions called "supergeos" in order to improve the aver...
- External Resource - Two previously published papers (Vaver and Koehler, 2011, 2012) describe
a model for analyzing geo experiments. This model was designed to measure
advertising effectiveness using the rigor of a randomized experi...
- Feature relevance quantification in explainable AI: A causal problem - We discuss promising recent contributions on quantifying feature relevance using Shapley values, where we observed some confusion on which probability distribution is the right one for dropped features. We argue that...
- Feature Selection Methods for Uplift Modeling
- Forward Difference-in-Differences
- GeoX paper - Advertisers have a fundamental need to quantify the effectiveness of their advertising. For search ad spend, this information provides a basis for formulating strategies related to bidding, budgeting, and campaign des...
- L1-INF Synthetic Control
- Matched Markets paper - Although randomized controlled trials are regarded as the "gold standard" for causal inference, advertisers have been hesitant to embrace them as their primary method of experimental design and analysis due...
- Measuring Ad Effectiveness Using Geo Experiments
- Multivariate and propensity score matching software with automated balance optimization: The Matching package for R - Practical matching and balance-diagnostics reference cited in
pysmatch.
- Prediction Intervals for Synthetic Control Methods
- Pretest with Caution: Event-Study Estimates after Testing for Parallel Trends - Roth on why pre-trends tests can have low power and distort inference.
- Proximal Causal Inference for SCM (Surrogates)
- Relaxed Balanced Synthetic Control
- scpi: Uncertainty Quantification for Synthetic Control Methods
- Stacked Difference-in-Differences - Wing, Freedman, and Hollingsworth on stacked DiD for staggered adoption designs.
- Synthetic Control Method (Vanilla SCM)
- Synthetic Control Method with Nonlinear Outcomes
- Synthetic Control with Multiple Outcomes (TLP and SBMF)
- Synthetic Controls for Experimental Design
- Tactics for design and inference in synthetic control studies - Applied synthetic control paper focused on identification assumptions, model fit, cross-validation, and inference choices.
- The central role of the propensity score in observational studies for causal effects - Foundational propensity score paper by Rosenbaum and Rubin.
- Treatment Effects with Instruments paper
- Two Step Synthetic Control
- Two-stage differences in differences - Gardner's two-stage DiD estimator for staggered treatment timing.
- Uncertainty Quantification in Synthetic Controls with Staggered Treatment Adoption
- Using Synthetic Controls: Feasibility, Data Requirements, and Methodological Aspects - Abadie's Journal of Economic Literature guide to when synthetic controls work, required data conditions, and methodological tradeoffs.
- xDeepFM - Combinatorial features are essential for the success of many commercial models. Manually crafting these features usually comes with high cost due to the variety, volume and velocity of raw data in web-scale systems. F...
- 15 - Synthetic Control - Beginner-friendly synthetic control tutorial with Python examples and intuition.
- 2021 Conference on Digital Experimentation @ MIT (CODE@MIT)
- Be Careful When Interpreting Predictive Models in Search of Causal Insights
- diff-diff Tutorials - Notebook collection covering basic DiD, staggered adoption, synthetic DiD, parallel trends checks, Honest DiD, power analysis, and survey-aware DiD workflows.
- Gaussian Processes: HSGP Advanced Usage
- Gaussian Processes: HSGP Reference & First Steps
- The Kernel Cookbook: Advice on Covariance functions
Attribution Resources
Customer Analytics (CLV, Segmentation, Uplift) Resources
Multi Armed Bandits Resources
Recommender Systems Resources
Key Researchers
- Bruce Hardie - Customer analytics and CLV researcher known for probability models for customer-base analysis, retention, and valuation.
- Byron Sharp - Professor of Marketing Science and Director of the Ehrenberg-Bass Institute. Author of How Brands Grow.
- Catherine Tucker - Sloan Distinguished Professor of Management at MIT Sloan. Expert in digital marketing, privacy, and online advertising.
- Dominique Hanssens - Distinguished Research Professor of Marketing at UCLA Anderson. Known for Long-Term Impact of Marketing.
- Garrett Johnson - Associate Professor of Marketing at Boston University. Co-author of "Ghost Ads" and research on privacy/GDPR.
- Guido Imbens - Applied Econometrics Professor and Professor of Economics at Stanford Graduate School of Business. Nobel Laureate (2021) for methodological contributions to the analysis of causal relationships.
- Hema Yoganarasimhan - Quantitative marketing researcher focused on digital marketing, online advertising, experimentation, pricing, and machine learning for large-scale marketing decisions.
- Koen Pauwels - Marketing effectiveness and marketing-mix-modeling scholar focused on attribution, field experiments, ROI measurement, and long-term brand impact.
- Peter Fader - Frances and Pei-Yuan Chia Professor of Marketing at The Wharton School. Author of Customer Centricity.
- Randall Lewis - Economic Research Scientist at Netflix. Known for work on "Ghost Ads" and measuring advertising effectiveness.
- Ron Berman - Associate Professor of Marketing at The Wharton School. Focuses on online marketing, marketing analytics, and game theory.
- Stefan Wager - Associate Professor of Operations, Information & Technology at Stanford GSB. Research on causal inference and statistical learning.
- Susan Athey - The Economics of Technology Professor at Stanford Graduate School of Business. Leading researcher in the intersection of machine learning and causal inference.
Books & Courses
Blogs
- An Analyst's Guide to MMM | Robyn
- Bayesian Media Mix Modeling for Marketing Optimization
- Causal Analysis with PyMC: Answering "What If?" with the New do Operator
- Causal Sales Analytics: Are my sales incremental or cannibalistic?
- Decision Making Processes in Marketing Mix Modelling (PDF)
- How Wayfair Uses Geo Experiments to Measure Incrementality - Practical production writeup on geo unit construction, integer-optimized assignment, validation windows, and lift estimation.
- Juan Orduz's Blog - High-signal walkthroughs on MMM, Bayesian modeling, forecasting, and causal inference.
- Marketing and Metrics - Koen Pauwels on marketing effectiveness, attribution, MMM, dashboards, and return on marketing investment.
- Matheus Facure's Blog - Practical writing on causal inference and applied econometrics.
- Modelling Changes in Marketing Effectiveness Over Time
- Occam’s Razor by Avinash Kaushik - Long-running independent blog on digital analytics, measurement, experimentation, and marketing strategy.
- PyMC Labs Blog - Broader archive of Bayesian modeling, MMM, causal inference, and applied case studies.
- Python/STAN Implementation of Multiplicative Marketing Mix Model
- Recast Blog - Industry-facing writing on MMM, incrementality, and measurement systems.
- Reducing Customer Acquisition Costs: How we helped optimizing HelloFresh's marketing budget
- The Future is Modeled: A How-to Guide for Advanced Marketing Mix Models
- Unified Marketing Measurement: The Power of Blending Methodologies (PDF)
- Unified online marketing measurement - Think with Google
- Using Geographic Splitting & Optimization Techniques to Measure Marketing Performance
Resources
About
Feel free to submit an issue or pull request with any suggestions!
This list is maintained by Shako Stats.
Connect with me on LinkedIn.