Learn R Programming

⚠️There's a newer version (0.11.2) of this package.Take me there.

CLVTools (version 0.5.0)

Tools for Customer Lifetime Value Estimation

Description

Probabilistic latent customer attrition models (also known as "buy-'til-you-die models") are used to predict future purchase behavior of customers. This package includes fast and accurate implementations of various probabilistic latent customer attrition models for non-contractual settings (e.g., retail business) with and without time-invariant and time-varying covariates. Currently, the package includes the Pareto/NBD model (Pareto/Negative-Binomial-Distribution) for the purchase and the attrition processes as well as the Gamma/Gamma model for the spending process. For reference to the Pareto/NBD model, see Schmittlein DC, Morrison DG, Colombo R (1987) . For reference to the Gamma/Gamma model, see Fader PS, Hardie BG, Lee K (2005) .

Copy Link

Version

Install

install.packages('CLVTools')

Monthly Downloads

579

Version

0.5.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Bachmann

Last Published

May 8th, 2020

Functions in CLVTools (0.5.0)

clv.fitted.static.cov-class

Fitted CLV Model with Static covariates
fitted.clv.fitted

Extract Unconditional Expectation
bgnbd

BG/NBD models - Work In Progress
clv.model.pnbd.static.cov-class

CLV Model functionality for PNBD with static covariates
clvdata

Create an object for transactional data required to estimate CLV
clv.time.hours-class

Time unit representing a single hour
gg_LL

Gamma-Gamma: Log-Likelihood Function
clv.time.weeks-class

Time unit representing a single Week
clv.model.pnbd.dynamic.cov-class

CLV Model functionality for PNBD with dynamic covariates
clv.data.dynamic.covariates-class

Transactional and dynamic covariates data to fit CLV models
clv.time.years-class

Time unit representing a single Year
print.clv.time

Summarizing a CLV time object
summary.clv.fitted

Summarizing a fitted CLV model
clv.fitted.dynamic.cov-class

Fitted CLV Model with Dynamic covariates
clv.model-class

CLV Model providing model related functionalities
clv.fitted-class

Fitted CLV Model without covariates
clv.data.static.covariates-class

Transactional and static covariates data to fit CLV models
clv.time.days-class

Time unit representing a single Day
clv.pnbd.static.cov-class

Result of fitting the Pareto/NBD model with static covariates
plot.clv.fitted

Plot expected and actual repeat transactions
vcov.clv.fitted

Calculate Variance-Covariance Matrix for CLV Models fitted with Maximum Likelihood Estimation
clv.time.datetime-class

POSIXct based time-units
clv.time-class

Time Unit defining conceptual periods
clv.model.pnbd.no.cov-class

CLV Model functionality for PNBD without covariates
clv.pnbd-class

Result of fitting the Pareto/NBD model without covariates
pnbd

Pareto/NBD models
nobs.clv.fitted

Number of observations
clv.pnbd.dynamic.cov-class

Result of fitting the Pareto/NBD model with dynamic covariates
clv.time.date-class

Date based time-units
predict.clv.fitted

Predict CLV from a fitted model
plot.clv.data

Plot actual repeat transactions
pnbd_CET

Pareto/NBD: Conditional Expected Transactions
nobs.clv.data

Number of observations
pnbd_LL

Pareto/NBD: Log-Likelihood
ggomnbd

Gamma-Gompertz/NBD models - Work In Progress
summary.clv.data

Summarizing a CLV data object
pnbd_DERT

Pareto/NBD: Discounted Expected Residual Transactions
pnbd_PAlive

Pareto/NBD: Probability of Being Alive
vec_gsl_hyp2f0_e

GSL Hypergeom 2f0 for equal length vectors
vec_gsl_hyp2f1_e

GSL Hypergeom 2f1 for equal length vectors
bgbb

BG/BB models - Work In Progress
cdnow

CDnow dataset
SetStaticCovariates

Add Static Covariates to a CLV data object
CLVTools-package

Customer Lifetime Value Tools
apparelTrans

Apparel Retailer Dataset
SetDynamicCovariates

Add Dynamic Covariates to a CLV data object
apparelDynCov

Time-varying Covariates for the Apparel Retailer Dataset
apparelStaticCov

Time-invariant Covariates for the Apparel Retailer Dataset
clv.data-class

Transactional data to fit CLV models