Description Usage Arguments Value References Examples
Simulate data according to (M)BG/CNBD-k model assumptions
1 2 3 | mbgcnbd.GenerateData(n, T.cal, T.star = NULL, params, date.zero = "2000-01-01")
bgcnbd.GenerateData(n, T.cal, T.star = NULL, params, date.zero = "2000-01-01")
|
n |
Number of customers. |
T.cal |
Length of calibration period. If a vector is provided, then it is assumed that customers have different 'birth' dates, i.e. max(T.cal)-T.cal. |
T.star |
Length of holdout period. This may be a vector. |
params |
A vector with model parameters |
date.zero |
Initial date for cohort start. Can be of class character, Date or POSIXt. |
List of length 2:
|
A data.frame with a row for each customer and the summary statistic as columns. |
|
A data.frame with a row for each transaction, and columns |
(M)BG/CNBD-k: Reutterer, T., Platzer, M., & Schroeder, N. (2020). Leveraging purchase regularity for predicting customer behavior the easy way. International Journal of Research in Marketing. doi: 10.1016/j.ijresmar.2020.09.002
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.