BG/NBD Plot Dropout Probability Heterogeneity

Description

Plots and returns the estimated gamma distribution of p (customers' probability of dropping out immediately after a transaction).

Usage

1

Arguments

params

BG/NBD parameters - a vector with r, alpha, a, and b, in that order. r and alpha are unobserved parameters for the NBD transaction process. a and b are unobserved parameters for the Beta geometric dropout process.

lim

upper-bound of the x-axis. A number is chosen by the function if none is provided.

Value

Distribution of customers' probabilities of dropping out.

Examples

1
2
3
4
params <- c(0.243, 4.414, 0.793, 2.426)
bgnbd.PlotDropoutRateHeterogeneity(params)
params <- c(0.243, 4.414, 1.33, 2.426)
bgnbd.PlotDropoutRateHeterogeneity(params)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.