온라인 마케팅에서의 이탈 방지

R로 배우는 Machine Learning 기반 마케팅 분석

Verena Pflieger

Data Scientist at INWT Statistics

이탈 방지

R로 배우는 Machine Learning 기반 마케팅 분석

이진 로지스틱 회귀

1) 이탈 확률

$$ P(Y=1)$$

2) 로그 오즈

$$ \log \frac{P(Y=1)}{P(Y=0)} = \beta_0 + \sum\limits_{p=1}^P \beta_p x_p $$

3) 오즈

$$ {\frac{P(Y=1)}{P(Y=0)} = e^Z ,\text{ with} \quad Z = \beta_0 + \sum\limits_{p=1}^P \beta_p x_p } $$

4) 이탈 확률

$$ P(Y=1) = \frac{e^Z}{1 + e^Z} $$

R로 배우는 Machine Learning 기반 마케팅 분석

데이터 탐색 I

## 'data.frame': 45236 obs. of 21 variables:

## $ ID            : Factor w/ 45236 levels "1","3","5","7",..
## $ orderDate     : Date, format: "2014-12-23" "2014-09-10" ....
## $ title         : Factor w/ 4 levels "Mr","Company",..: 1 1 1 ...
## $ newsletter    : Factor w/ 2 levels "No","Yes": 0 0 0 1 ...
## $ websiteDesign : Factor w/ 3 levels "1","2","3": 2 1 1 3 ...
## $ paymentMethod : Factor w/ 4 levels "Cash","Credit Card",..: 3 4 ...
## $ couponDiscount: Factor w/ 2 levels "No","Yes": 1 0 0 0 0 1 ...
...
## $ returnCustomer: Factor w/ 2 levels "No","Yes": 0 0 0 0 ...
R로 배우는 Machine Learning 기반 마케팅 분석

데이터 탐색 II

ggplot(churnData, aes(x = returnCustomer)) +
    geom_histogram(stat = "count")

R로 배우는 Machine Learning 기반 마케팅 분석

분석을 시작해 보겠습니다!

R로 배우는 Machine Learning 기반 마케팅 분석

Preparing Video For Download...