Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature allow for aggregated input to create a clvdata object (cbs) #151

Open
bachmannpatrick opened this issue Oct 22, 2020 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@bachmannpatrick
Copy link
Owner

Currently clvdata() requires individual transaction data as input. In some use cases an option to create a clvdata object directly from aggregated data can be very helpful: the cbs table (x, t.x, T.cal) is created manually by the user.

Note: It will be necessary to also adapt summary() and plot() as the they require transactional data that is not aggregated for some statistics/plots.

@bachmannpatrick bachmannpatrick added the enhancement New feature or request label Oct 22, 2020
@bachmannpatrick
Copy link
Owner Author

bachmannpatrick commented Oct 22, 2020

Also consider the option the add weekly/monthly/yearly aggregated data:

Id Month/year x Sales
123456 Jan 2019 13 563.47
123456 Feb 2019 8 368.11

@pschil
Copy link
Collaborator

pschil commented Oct 25, 2020

Does using period aggregated data require that the LL is changed to use interval-censored data?
See Bruce Hardie here about pnbd

@bachmannpatrick
Copy link
Owner Author

Does using period aggregated data require that the LL is changed to use interval-censored data?
See Bruce Hardie here about pnbd

Yes.
However, there is also the "easy way", where it only affects data preparation. In the end we need a cbs for the LL. The problem is that the end-user would need to provide the date of the first and last transaction.

@mmeierer mmeierer added this to the v1.1 milestone Mar 2, 2021
@mmeierer mmeierer removed this from the v1.1 milestone Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants