powered by
This is a convenience wrapper for data('cdnowElog', package='BTYD'), with same-day transactions being merged together for each customer.
data('cdnowElog', package='BTYD')
cdnow.sample(T.cal = "1997-09-30", T.tot = "1998-06-30")
Final date of calibration period.
Final date of holdout period.
List of length 2:
cbs
A data.frame with a row for each customer and the summary statistic as columns, generated with elog2cbs
elog2cbs
elog
A data.frame with a row for each transaction, and columns cust, date, sales and cds.
cust
date
sales
cds
Fader, Peter S. and Bruce G.,S. Hardie, (2001), 'Forecasting Repeat Sales at CDNOW: A Case Study,' Interfaces, 31 (May-June), Part 2 of 2, S94-S107.
# NOT RUN { cdnow <- cdnow.sample() head(cdnow$cbs) head(cdnow$elog) # }
Run the code above in your browser using DataLab