Marketing teams often struggle to understand which channels truly drive sales and how to optimize their budget for maximum ROI.
This project applies a regression-based approach inspired by Marketing Mix Modeling (MMM) to quantify the impact of advertising channels on sales and generate actionable business insights.
Companies invest heavily in:
- 📺 TV Advertising
- 📻 Radio Advertising
- 📰 Newspaper Advertising
But key questions remain:
- Which channel drives the most sales?
- Where should we increase or reduce budget?
- How can we maximize return on investment (ROI)?
👉 This project answers these questions using data + statistical modeling
-
📦 200 observations
-
📈 Features:
- TV Advertising Spend
- Radio Advertising Spend
- Newspaper Advertising Spend
-
🎯 Target:
- Sales
- Python → Pandas, NumPy
- Visualization → Matplotlib, Seaborn
- Statistical Modeling → Statsmodels (OLS)
- Evaluation → Scikit-learn
- Checked missing values & duplicates
- Ensured clean and consistent dataset
- Identified strong relationships between variables
- Observed high correlation between TV, Radio → Sales
-
Built regression model:
Sales ~ TV + Radio + Newspaper -
Evaluated statistical significance using p-values
- Identified Newspaper as statistically insignificant
- Improved model interpretability by focusing on key drivers
| Metric | Value |
|---|---|
| R² Score | 0.897 |
| Adjusted R² | 0.896 |
| F-statistic | 570.3 |
| Model Significance | p < 0.001 |
👉 The model explains ~90% of variance in sales, indicating strong predictive power.
- 📻 Radio is the strongest driver of sales
- 📺 TV significantly impacts sales
- 📰 Newspaper has no meaningful impact
- 📌 Marketing channels contribute unequally
- 🥇 Radio → Highest return per unit spend
- 🥈 TV → Moderate ROI
- ❌ Newspaper → Low / negligible ROI
new_budget = pd.DataFrame({'TV': [200],'Radio': [50],})
predicted_sales = final_model.predict(new_budget)
print(f"Predicted Sales:{predicted_sales[0]: .2f} units")👉 Enables:
- Budget simulation
- Sales forecasting
- Decision support
- 🔼 Increase investment in Radio advertising
- 🔼 Optimize TV campaigns
- 🔽 Reduce or eliminate Newspaper spend
- 🎯 Adopt data-driven budget allocation
-
Assumes linear relationships
-
Residuals are not perfectly normally distributed
-
No external factors included:
- Seasonality
- Competition
- Pricing
-
📈 Implement advanced Marketing Mix Modeling (MMM)
-
⏳ Add time-series analysis (trend & seasonality)
-
🔁 Apply Adstock (lag effect of advertising)
-
🤖 Explore advanced ML models:
- Random Forest
- XGBoost
- Ridge / Lasso
Marketing-Mix-Analysis/
│
├── data/
│ └── Advertising.csv
│
├── notebook/
│ └── Marketing Mix Modeling (MMM)_Sales Driver & ROI Analysis.ipynb
│
└── README.md
- Built and interpreted an OLS regression model
- Translated statistical output into business insights
- Identified high-impact marketing channels
- Applied data-driven decision-making concepts
This project demonstrates how a regression-based MMM approach can uncover hidden insights in marketing data.
👉 By focusing on high-performing channels like Radio and TV, businesses can significantly improve:
- ROI
- Budget efficiency
- Overall sales performance
⭐ If you found this project useful, consider giving it a star!