data-portfolio

← Portfolio · Notebook


A/B Test Framework — Multi-arm Marketing Promotion

Business question

Which of three promotion strategies (Promotion 1 vs. 2 vs. 3) drives the highest sales? A real fast-food chain ran them across stores; we apply a rigorous A/B/n testing framework to draw correct conclusions and recommend the rollout.

The toolkit demonstrated here applies directly to African retail or telecom marketing experiments (e.g., MTN Nigeria push campaigns, Jumia promo strategies).

Data

Run python download_data.py.

EDA targets

Statistical analyses

Test Use
Welch’s two-sample t-test Pairwise promotion comparisons
One-way ANOVA Joint test across all three promotions
Stratified analysis (by MarketSize) Avoid Simpson’s paradox
OLS with covariate adjustment Controls for AgeOfStore, MarketSize
Bayesian A/B (Beta-Binomial-style on means) Posterior P(promotion 1 > promotion 3)

Validation

Deployment

Business outcome