customerRetentionTransactions: Transactions Data for Customer Retention (Chapter 4)

Description Usage Format Examples

Description

Transactions Data for Customer Retention (Chapter 4)

Usage

1

Format

Data frame with the following 7 variables

customer

customer number (from 1 to 500)

quarter

quarter (from 1 to 12) where the transactions occurred

purchase

1 when the customer purchased in the given quarter and 0 if no purchase occurred in that quarter

order_quantity

dollar value of the purchases in the given quarter

crossby

number of different categories purchased in a given quarter

ret_expense

dollars spent on marketing efforts to try and retain that customer in the given quarter

ret_expense_sq

square of dollars spent on marketing efforts to try and retain that customer in the given quarter

Examples

1
2

SMCRM documentation built on May 2, 2019, 2:46 p.m.