BTYDplus1.2.0 package

Probabilistic Models for Assessing and Predicting your Customer Base

abe.GenerateData

Simulate data according to Pareto/NBD (Abe) model assumptions

abe.mcmc.DrawParameters

Pareto/NBD (Abe) Parameter Draws

dc.check.model.params.safe

Check Model Parameters

dc.PlotFreqVsConditionalExpectedFrequency

Generic Method for Plotting Frequency vs. Conditional Expected Frequen...

dc.PlotRecVsConditionalExpectedFrequency

Generic Method for Plotting Frequency vs. Conditional Expected Frequen...

dc.PlotTracking

Generic Method for Tracking Plots

elog2cbs

Convert Event Log to customer-level summary statistic

elog2cum

Convert Event Log to Transaction Counts

estimateRegularity

Estimate Regularity in Intertransaction Timings

mbgcnbd.cbs.LL

(M)BG/CNBD-k Log-Likelihood

mbgcnbd.ConditionalExpectedTransactions

(M)BG/CNBD-k Conditional Expected Transactions

mbgcnbd.EstimateParameters

(M)BG/CNBD-k Parameter Estimation

mbgcnbd.Expectation

(M)BG/CNBD-k Expectation

mbgcnbd.ExpectedCumulativeTransactions

(M)BG/CNBD-k Expected Cumulative Transactions

mbgcnbd.GenerateData

Simulate data according to (M)BG/CNBD-k model assumptions

mbgcnbd.PAlive

(M)BG/CNBD-k P(alive)

mbgcnbd.PlotFrequencyInCalibration

(M)BG/CNBD-k Plot Frequency in Calibration Period

mbgcnbd.PlotFreqVsConditionalExpectedFrequency

(M)BG/CNBD-k Plot Frequency vs. Conditional Expected Frequency

mbgcnbd.PlotRecVsConditionalExpectedFrequency

(M)BG/CNBD-k Plot Actual vs. Conditional Expected Frequency by Recency

mbgcnbd.PlotTrackingCum

(M)BG/CNBD-k Tracking Cumulative Transactions Plot

mbgcnbd.PlotTrackingInc

(M)BG/CNBD-k Tracking Incremental Transactions Comparison

mbgcnbd.pmf

(M)BG/CNBD-k Probability Mass Function

mcmc.DrawFutureTransactions

Draws number of future transactions based on MCMC parameter draws

mcmc.Expectation

Unconditional Expectation for Pareto/GGG, Pareto/NBD (HB) and Pareto/N...

mcmc.ExpectedCumulativeTransactions

Expected Cumulative Transactions for Pareto/GGG, Pareto/NBD (HB) and P...

mcmc.PActive

Calculates P(active) based on drawn future transactions.

mcmc.PAlive

Calculates P(alive) based on MCMC parameter draws

mcmc.PlotFrequencyInCalibration

Frequency in Calibration Period for Pareto/GGG, Pareto/NBD (HB) and Pa...

mcmc.plotPActiveDiagnostic

Draw diagnostic plot to inspect error in P(active).

mcmc.PlotTrackingCum

Tracking Cumulative Transactions Plot for Pareto/GGG, Pareto/NBD (HB) ...

mcmc.PlotTrackingInc

Tracking Incremental Transactions Plot for Pareto/GGG, Pareto/NBD (HB)...

mcmc.pmf

Probability Mass Function for Pareto/GGG, Pareto/NBD (HB) and Pareto/N...

mcmc.setBurnin

(Re-)set burnin of MCMC chains.

nbd.cbs.LL

Calculate the log-likelihood of the NBD model

nbd.ConditionalExpectedTransactions

NBD Conditional Expected Transactions

nbd.EstimateParameters

Parameter Estimation for the NBD model

nbd.GenerateData

Simulate data according to NBD model assumptions

nbd.LL

Calculate the log-likelihood of the NBD model

pggg.GenerateData

Simulate data according to Pareto/GGG model assumptions

pggg.mcmc.DrawParameters

Pareto/GGG Parameter Draws

pggg.plotRegularityRateHeterogeneity

Pareto/GGG Plot Regularity Rate Heterogeneity

plotTimingPatterns

Plot timing patterns of sampled customers

pnbd.GenerateData

Simulate data according to Pareto/NBD model assumptions

pnbd.mcmc.DrawParameters

Pareto/NBD (HB) Parameter Draws

Provides advanced statistical methods to describe and predict customers' purchase behavior in a non-contractual setting. It uses historic transaction records to fit a probabilistic model, which then allows to compute quantities of managerial interest on a cohort- as well as on a customer level (Customer Lifetime Value, Customer Equity, P(alive), etc.). This package complements the BTYD package by providing several additional buy-till-you-die models, that have been published in the marketing literature, but whose implementation are complex and non-trivial. These models are: NBD [Ehrenberg (1959) <doi:10.2307/2985810>], MBG/NBD [Batislam et al (2007) <doi:10.1016/j.ijresmar.2006.12.005>], (M)BG/CNBD-k [Reutterer et al (2020) <doi:10.1016/j.ijresmar.2020.09.002>], Pareto/NBD (HB) [Abe (2009) <doi:10.1287/mksc.1090.0502>] and Pareto/GGG [Platzer and Reutterer (2016) <doi:10.1287/mksc.2015.0963>].

  • Maintainer: Michael Platzer
  • License: GPL-3
  • Last published: 2021-01-21