Learn R Programming

BTYDplus (version 0.7.0)

ggnbd.EstimateParameters: Parameter Estimation for Gamma/Gompertz/NBD model

Description

Estimates parameters for the Gamma/Gompertz/NBD model via Maximum Likelihood Estimation.

Usage

ggnbd.EstimateParameters(cal.cbs, par.start = c(1, 1, 0.5, 1, 1),
  min.param.value = 1e-05, max.param.value = 10000, trace = 0)

Arguments

cal.cbs

calibration period CBS. It must contain columns for frequency x, for recency t.x and total time observed T.cal. Optionally a column custs can be provided, which represents number of customers with a specific combination of frequency x, recency t.x and T.cal.

par.start

initial Gamma/Gompertz/NBD parameters - a vector with r, alpha, b, s and beta in that order.

min.param.value

the lower bound on parameters

max.param.value

the upper bound on parameters

trace

print logging step every trace iteration

Value

list of estimated parameters

References

Bemmaor, Albert C., and Nicolas Glady. 'Modeling Purchasing Behavior with Sudden 'Death': A Flexible Customer Lifetime Model.' Management Science 58.5 (2012): 1012-1021.