customerChurn {SMCRM} | R Documentation |
Customer Churn Data from Chapter 6
Description
Customer Churn Data from Chapter 6
Usage
customerChurn
Format
Data frame with the following 11 variables
customer
customer number (from 1 to 500)
duration
time in days that the acquired prospect has been or was a customer, right-censored at 730 days
censor
1 if the customer was still a customer at the end of the observation window, 0 otherwise
avg_ret_exp
average number of dollars spent on marketing efforts to try and retain that customer per month
avg_ret_exp_sq
square of the average number of dollars spent on marketing efforts to try and retain that customer per month
total_crossbuy
total number of categories the customer has purchased during the customer's lifetime
total_freq
total number of purchase occasions the customer had with the firm in the customer's lifetime
total_freq_sq
square of the total number of purchase occasions the customer had with the firm in the customer's lifetime
industry
1 if the customer is in the B2B industry, 0 otherwise
revenue
annual sales revenue of the prospect's firm (in millions of dollar)
employees
number of employees in the prospect's firm
Examples
data(customerChurn)
str(customerChurn)