BT4211 Data-Driven Marketing: Customer: Purchase Choice, Quantity, Duration
BT4211 Data-Driven Marketing: Customer: Purchase Choice, Quantity, Duration
BT4211 Data-Driven Marketing: Customer: Purchase Choice, Quantity, Duration
Data-Driven Marketing
Customer: Purchase Choice, Quantity,
Duration
March 7, 2018 1
Purchase Decisions & Models
Purchase choice
– Whether the customer will buy/churn?
– What brand/product/service will the customer buy?
• Binary logit (logistic regression) model, multinomial logit model
Purchase quantity
– How much or how many units will the customer buy?
• Count data model (Poisson, negative binomial)
Duration: inter-purchase, customer lifetime
– How soon will the customer make another purchase?
– How long will the customer stay on with the firm?
• Linear regression model, hazard model
2
Binary Response Models
– Link function
3
Binary Response Models
4
Binary Response Models
– Estimation method
• Maximum likelihood estimation
– Interpretation
• Odds ratio:
• Odds ratio per standard deviation change in x:
5
Binary Response Models
– Estimation method
• Maximum likelihood estimation
6
Binary Response Models
7
Multinomial Response Models
– Applications
• Brand or product choices
• Customer segment predictions
8
Multinomial Response Models
– Pseudo R2
10
Multinomial Response Models
Conditional logit model (CL)
• For alternative-varying regressors
11
Multinomial Response Models
Example:
12
Multinomial Response Models
13
Marginal Effects of Regressors
– Non-linear regression:
14
Marginal Effects of Regressors
– Estimation method
• Maximum likelihood estimation
17
Count Data Models
• Unconditional distribution of Yi
19
Count Data Models
• Mean:
• Variance:
– Estimation method
• Maximum likelihood estimation
20
Duration Models
26
Duration Models
Overview of duration data
– Censoring
• Buyer 1: complete information
• Buyer 2: left-censored
• Buyer 3: right-censored
• Buyer 4: left-and-right censored
• Buyer 5: interval-censored
Buyer 1
Buyer 2
Buyer 3
Buyer 4
Buyer 5
28
Duration Models
Hazard model
– Objective
• Models length of time spent in a given state before
transition to another state
– Duration from being an active customer to a churned one
– Duration between two consecutive purchases
– Basic concepts
• Cumulative distribution function
• Survivor function
Hazard model
– Basic concepts
• Hazard rate function
30
Duration Models
Hazard model
– Basic concepts
• Hazard rate function: examples
31
Duration Models
Hazard model
– Basic concepts
• Hazard rate function plots
32
Duration Models
Hazard model
– Exponential distribution
• Constant hazard rate that does not vary with time
• Memory-less property
– Weibull distribution
• Hazard is monotonically increasing if
• Hazard is monotonically decreasing if
• can be a function of covariates X
– Generalized Weibull distribution
• Additional shape parameter , gives more flexibility
• Hazard is monotonically decreasing if
• Hazard is unimodal or U-shaped if 33
Duration Models
Hazard model
– Gompertz distribution
• Hazard is monotonically increasing if
• Hazard is monotonically decreasing if
– Log-normal distribution
• Hazard is inverted U-shaped
– Log-logistic distribution
• Hazard is inverted U-shaped if
– Main issues in modeling
• Dependence on correct model specification
• Proportional Hazard (PH) model
• Accelerated Failure Time (AFT) model 34
Duration Models
• Censored observations
35
Proportional Hazard Model
Baseline hazard
Distributional examples
• Exponential, Weibull, Gompertz distributions 36
Proportional Hazard Model
Interpretation
– Hazard ratio:
– Relative hazard rate:
• Percentage change of hazard rate with respect to the
unit change of the independent variable
37
Accelerated Failure Time Model