Learn R Programming

BTYDplus (version 0.6.3)

mbgnbd.GenerateData: Simulate data according to MBG/NBD model assumptions

Description

Simulate data according to MBG/NBD model assumptions

Usage

mbgnbd.GenerateData(n, T.cal, T.star, params, return.elog = FALSE)

Arguments

n

number of customers

T.cal

length of calibration period

T.star

length of holdout period

params

BG/CNBD parameters - a vector with r, alpha, a and b in that order.

return.elog

boolean - if TRUE then the event log is returned in addition to the CBS summary

Value

list with elements cbs and elog containing data.frames

References

Batislam, E.P., M. Denizel, A. Filiztekin. 2007. Empirical validation and comparison of models for customer base analysis. International Journal of Research in Marketing 24(3) 201-209. - Hoppe, Daniel, and Udo Wagner. "Customer base analysis: The case for a central variant of the Betageometric/NBD Model." Marketing Journal of Research and Management 3.2 (2007): 75-90.

See Also

bgcnbd.GenerateData