BG
is a beta geometric model implemented based on Fader and Hardie
probability based projection methedology. The survivor function for BG
is
BG(surv_value, h, lower = c(0.001, 0.001))
a numeric vector of historical customer retention percentage should start at 100 and non-starting values should be between 0 and less than 100
forecasting horizon
lower limit used in R
optim
rotuine. Default is c(1e-3,1e-3)
.
Fitted values based on historical data
Projected h
values based on historical data
Maximum Likelihood of Beta Geometric
Returns a and b paramters from maximum likelihood estimation for beta distribution
Fader P, Hardie B. How to project customer retention. Journal of Interactive Marketing. 2007;21(1):76-90.
# NOT RUN {
surv_value <- c(100,86.9,74.3,65.3,59.3)
h <- 6
BG(surv_value,h)
# }
Run the code above in your browser using DataLab