Description Usage Arguments Value See Also
A helper for plotting either the estimated gamma distribution of mu (customers' propensities to drop out), or the estimated gamma distribution of lambda (customers' propensities to purchase).
1 | pnbd.PlotRateHeterogeneity(params, func, lim = NULL)
|
params |
Pareto/NBD parameters - a vector with r, alpha, s, and beta, in that order. r and alpha are unobserved parameters for the NBD transaction process. s and beta are unobserved parameters for the Pareto (exponential gamma) dropout process. |
func |
A string that is either "pnbd.PlotDropoutRateHeterogeneity" or "pnbd.PlotTransactionRateHeterogeneity". |
lim |
The upper-bound of the x-axis. A number is chosen by the function if none is provided. |
Depending on the value of func
, either the distribution of
customers' propensities to purchase or the distribution of customers'
propensities to drop out.
pnbd.PlotDropoutRateHeterogeneity
pnbd.PlotTransactionRateHeterogeneity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.