bgbb.PlotDropoutRateHeterogeneity: BG/BB Plot Dropout Rate Heterogeneity

Description Usage Arguments Details Value Examples

View source: R/bgbb.R

Description

Plots and returns the estimated beta distribution of Theta (customers' propensities to drop out).

Usage

1

Arguments

params

BG/BB parameters - a vector with alpha, beta, gamma, and delta, in that order. Alpha and beta are unobserved parameters for the beta-Bernoulli transaction process. Gamma and delta are unobserved parameters for the beta-geometric dropout process.

Details

This returns the distribution of each customer's geometric parameter that determines their lifetime (using the BG/BB assumption that a customer's lifetime can be modeled with a geometric distribution).

Value

Distribution of customers' propensities to drop out.

Examples

1
2
3
4
params <- c(1.2, 0.75, 0.66, 2.78)
bgbb.PlotDropoutRateHeterogeneity(params)
params <- c(0.2, 1.5, 3.2, 6)
bgbb.PlotDropoutRateHeterogeneity(params)

ghuiber/BTYD2 documentation built on Nov. 10, 2020, 2:29 a.m.