Lifetime Duration Data for Customer Retention (Chapter 4)
Data frame with the following 8 variables
customer number (from 1 to 500)
The number of transactions by a given customer over all time periods. Here we assume that it is the sum of the variable Purchase where customers at most made 1 purchase per quarter.
time of the last transaction, i.e. the last quarter where purchase == 1
total time between the first purchase and the end of the observation window, i.e. 12 quarters for all customers