Returns data.frame with cust: customer id (unique key) x: nr of recurring events in calibration period t.x: time between first and last event in calibration period litt: sum of logarithmic intertransaction timings durint calibration period this is a summary statistic for estimating regularity T.cal: time between first event and end of calibration period T.star: length of holdout period x.star: nr of events within holdout period
elog2cbs(elog, per = "week", T.cal = max(elog$date),
T.tot = max(elog$date))data.frame with columns 'cust' and 'date'
time unit, either 'week', 'day', 'hour', 'min', 'sec'
end date of calibration period
end date of holdout period
data.frame