# Probabilistic Models for Assessing and Predicting your Customer Base

## Documentation for package ‘BTYDplus’ version 1.0.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Code demos. Use demo() to run them.
- Package NEWS.

## Help Pages

abe.GenerateData | Simulate data according to Pareto/NBD (Abe) model assumptions
abe.mcmc.DrawParameters | Pareto/NBD (Abe) Parameter Draws
bgcnbd.cbs.LL | (M)BG/CNBD-k Log-Likelihood
bgcnbd.ConditionalExpectedTransactions | (M)BG/CNBD-k Conditional Expected Transactions
bgcnbd.EstimateParameters | (M)BG/CNBD-k Parameter Estimation
bgcnbd.Expectation | (M)BG/CNBD-k Expectation
bgcnbd.ExpectedCumulativeTransactions | (M)BG/CNBD-k Expected Cumulative Transactions
bgcnbd.GenerateData | Simulate data according to (M)BG/CNBD-k model assumptions
bgcnbd.LL | (M)BG/CNBD-k Log-Likelihood
bgcnbd.PAlive | (M)BG/CNBD-k P(alive)
bgcnbd.PlotFrequencyInCalibration | (M)BG/CNBD-k Plot Frequency in Calibration Period
bgcnbd.PlotTrackingCum | (M)BG/CNBD-k Tracking Cumulative Transactions Plot
bgcnbd.PlotTrackingInc | (M)BG/CNBD-k Tracking Incremental Transactions Comparison
bgcnbd.pmf | (M)BG/CNBD-k Probability Mass Function
elog2cbs | Convert Event Log to customer-level summary statistic
elog2cum | Convert Event Log to Transaction Counts
elog2inc | Convert Event Log to Transaction Counts
estimateRegularity | Estimate Regularity in Intertransaction Timings
groceryElog | Event log for customers of an online grocery store.
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.LL | (M)BG/CNBD-k Log-Likelihood
mbgcnbd.PAlive | (M)BG/CNBD-k P(alive)
mbgcnbd.PlotFrequencyInCalibration | (M)BG/CNBD-k Plot Frequency in Calibration Period
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
mbgnbd.EstimateParameters | (M)BG/CNBD-k Parameter Estimation
mcmc.DrawFutureTransactions | Draws number of future transactions based on MCMC parameter draws
mcmc.Expectation | Unconditional Expectation for Pareto/GGG, Pareto/NBD (HB) and Pareto/NBD (Abe)
mcmc.ExpectedCumulativeTransactions | Expected Cumulative Transactions for Pareto/GGG, Pareto/NBD (HB) and Pareto/NBD (Abe)
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 Pareto/NBD (Abe)
mcmc.plotPActiveDiagnostic | Draw diagnostic plot to inspect error in P(active).
mcmc.PlotTrackingCum | Tracking Cumulative Transactions Plot for Pareto/GGG, Pareto/NBD (HB) and Pareto/NBD (Abe)
mcmc.PlotTrackingInc | Tracking Incremental Transactions Plot for Pareto/GGG, Pareto/NBD (HB) and Pareto/NBD (Abe)
mcmc.pmf | Probability Mass Function for Pareto/GGG, Pareto/NBD (HB) and Pareto/NBD (Abe)
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