Skip to content

clvdata(): Parameter data.end#292

Merged
pschil merged 27 commits intodevelopmentfrom
feature-clvdata-observationend
Aug 30, 2025
Merged

clvdata(): Parameter data.end#292
pschil merged 27 commits intodevelopmentfrom
feature-clvdata-observationend

Conversation

@pschil
Copy link
Collaborator

@pschil pschil commented Aug 13, 2025

Concept

  • data.end > last transaction AND estimation.split < last transaction
    • Therefore, also estimation.split < data.end
    • This is to guarantee that the holdout period always contains at least 1 transaction
  • If there is a holdout, the data.end moves the holdout.end further while leaving everything else as-is
  • If there is no holdout, the data.end moves the estimation.end further (and holdout.start/end which fall on estimation.end)

Implementation

  • Add parameter observation.end to clvdata() which is passed to clv.time.set.sample.periods()
  • Update docu, tests
  • summary.clv.data: Include period start and end into the summary output

@pschil pschil changed the title clvdata(): Parameter observation.end clvdata(): Parameter data.end Aug 28, 2025
pschil added 4 commits August 28, 2025 15:45
* Leave NAs in the data to know how far to plot (also return with NA)
* Dont drop NAs anymore but omit during plotting
* Tests: Correctness clvdata + plot clv.fitted.transactions
* Docu: Returned plot data may now contain NAs
@pschil pschil merged commit 12f2195 into development Aug 30, 2025
9 checks passed
pschil added a commit that referenced this pull request Oct 29, 2025
As went to CRAN:

* Version bump
* Bugfix tests: Usage of apparelDynCov data (#287)
* Set zval and pval of main model params to NA (#285)
* Predict: Rename x.total.spending to x.period.spending (#286)
* Dyncov: Rename predicted.CLV -> predicted.period.CLV (#288)
* Add hessian(): Calculate hessian for fitted models (#289)
* Docu: summary() significance indicators NA (#294)
* clv.fitted.get.LL(): Method required for parameter bootstrap (#293)
* Vignette: Add authors (#291)
* clvdata(): Parameter data.end (#292)
* Add vignettes: PDFs as-is (#295)
* Rcpp: arma::is_finite() -> std::isfinite() (#296)
* Vignettes: Compact during build
* Update vignettes and compact before build
* Prepare release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant