Book Image

Hands-On Data Science for Marketing

By : Yoon Hyup Hwang
Book Image

Hands-On Data Science for Marketing

By: Yoon Hyup Hwang

Overview of this book

Regardless of company size, the adoption of data science and machine learning for marketing has been rising in the industry. With this book, you will learn to implement data science techniques to understand the drivers behind the successes and failures of marketing campaigns. This book is a comprehensive guide to help you understand and predict customer behaviors and create more effectively targeted and personalized marketing strategies. This is a practical guide to performing simple-to-advanced tasks, to extract hidden insights from the data and use them to make smart business decisions. You will understand what drives sales and increases customer engagements for your products. You will learn to implement machine learning to forecast which customers are more likely to engage with the products and have high lifetime value. This book will also show you how to use machine learning techniques to understand different customer segments and recommend the right products for each customer. Apart from learning to gain insights into consumer behavior using exploratory analysis, you will also learn the concept of A/B testing and implement it using Python and R. By the end of this book, you will be experienced enough with various data science and machine learning techniques to run and manage successful marketing campaigns for your business.
Table of Contents (20 chapters)
Free Chapter
1
Section 1: Introduction and Environment Setup
3
Section 2: Descriptive Versus Explanatory Analysis
7
Section 3: Product Visibility and Marketing
10
Section 4: Personalized Marketing
16
Section 5: Better Decision Making

Computing and visualizing KPIs using R

In this section, we are going to discuss how we can use R to compute and visualize the KPIs we have discussed in the previous sections. We will primarily focus on analyzing conversion rates using bank marketing data. For those readers, who would like to use Python for this exercise, you can find the Python exercise in the previous section. We will be using the dplyr and ggplot2 libraries in R to manipulate and analyze data and build various charts to accurately report the progress and performances of marketing efforts. The dplyr library provides various functionalities for data manipulation for data science and machine learning tasks.

For the exercise in this section, we are going to use the UCI's Bank Marketing Data Set, which can be found at this link: https://archive.ics.uci.edu/ml/datasets/bank+marketing. You can follow this link...