Learn R Programming

BTYDplus (version 0.7.2)

pggg.plotRegularityRateHeterogeneity: Pareto/GGG Plot Regularity Rate Heterogeneity

Description

Plots and returns the estimated gamma distribution of k (customers' regularity in interpurchase times).

Usage

pggg.plotRegularityRateHeterogeneity(draws, xmax = NULL, fn = NULL)

Arguments

draws

MCMC draws as returned by pggg.mcmc.DrawParameters.

xmax

Upper bound for x-scale

fn

Optional function to summarize individual-level draws for k, e.g. 'mean'.

References

Platzer, Michael, and Thomas Reutterer. 'Ticking Away the Moments: Timing Regularity Helps to Better Predict Customer Activity.' Marketing Science (2016).