CLVTools: Tools for Customer Lifetime Value Estimation

A set of state-of-the-art probabilistic modeling approaches to derive estimates of individual customer lifetime values (CLV). Commonly, probabilistic approaches focus on modelling 3 processes, i.e. individuals' attrition, transaction, and spending process. Latent customer attrition models, which are also known as "buy-'til-you-die models", model the attrition as well as the transaction process. They are used to make inferences and predictions about transactional patterns of individual customers such as their future purchase behavior. Moreover, these models have also been used to predict individuals’ long-term engagement in activities such as playing an online game or posting to a social media platform. The spending process is usually modelled by a separate probabilistic model. Combining these results yields in lifetime values estimates for individual customers. This package includes fast and accurate implementations of various probabilistic models for non-contractual settings (e.g., grocery purchases or hotel visits). All implementations support time-invariant covariates, which can be used to control for e.g., socio-demographics. If such an extension has been proposed in literature, we further provide the possibility to control for time-varying covariates to control for e.g., seasonal patterns. Currently, the package includes the following latent attrition models to model individuals' attrition and transaction process: [1] Pareto/NBD model (Pareto/Negative-Binomial-Distribution), [2] the Extended Pareto/NBD model (Pareto/Negative-Binomial-Distribution with time-varying covariates), [3] the BG/NBD model (Beta-Gamma/Negative-Binomial-Distribution) and the [4] GGom/NBD (Gamma-Gompertz/Negative-Binomial-Distribution). Further, we provide an implementation of the Gamma/Gamma model to model the spending process of individuals.

Version: 0.11.1
Depends: R (≥ 3.5.0), methods
Imports: data.table (≥ 1.12.0), digest (≥ 0.6.0), Formula (≥ 1.2-4), ggplot2 (≥ 3.2.0), lubridate (≥ 1.7.8), numDeriv (≥ 2016.8-1.1), Matrix (≥ 1.2-17), MASS, optimx (≥ 2019-12.02), Rcpp (≥ 0.12.12), stats, utils
LinkingTo: Rcpp, RcppArmadillo (≥ 0.11.4.0.1), RcppGSL (≥ 0.3.7), testthat
Suggests: covr, knitr, rmarkdown, xml2, testthat (≥ 3.0.0), lmtest
Published: 2024-10-13
DOI: 10.32614/CRAN.package.CLVTools
Author: Patrick Bachmann [cre, aut], Niels Kuebler [aut], Markus Meierer [aut], Jeffrey Naef [aut], E. Shin Oblander [aut], Patrik Schilter [aut]
Maintainer: Patrick Bachmann <pbachma at ethz.ch>
BugReports: https://github.com/bachmannpatrick/CLVTools/issues
License: GPL-3
URL: https://github.com/bachmannpatrick/CLVTools
NeedsCompilation: yes
SystemRequirements: GNU GSL
Materials: NEWS
CRAN checks: CLVTools results

Documentation:

Reference manual: CLVTools.pdf
Vignettes: The CLVTools Package (source, R code)

Downloads:

Package source: CLVTools_0.11.1.tar.gz
Windows binaries: r-devel: CLVTools_0.11.1.zip, r-release: CLVTools_0.11.1.zip, r-oldrel: CLVTools_0.11.1.zip
macOS binaries: r-release (arm64): CLVTools_0.11.1.tgz, r-oldrel (arm64): CLVTools_0.11.1.tgz, r-release (x86_64): CLVTools_0.11.1.tgz, r-oldrel (x86_64): CLVTools_0.11.1.tgz
Old sources: CLVTools archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=CLVTools to link to this page.