nbd.EstimateParameters: Parameter Estimation for the NBD model
Description
Estimates parameters for the NBD model via Maximum Likelihood Estimation.
Usage
nbd.EstimateParameters(cal.cbs, par.start = c(1, 1),
max.param.value = 10000)
Arguments
cal.cbs
Calibration period CBS. It must contain columns for frequency
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 and T.cal.
par.start
Initial NBD parameters - a vector with r and alpha in
that order.
max.param.value
Upper bound on parameters.
Value
List of estimated parameters.
References
EHRENBERG, ASC. 'The Pattern of Consumer Purchases.' Quantitative
techniques in marketing analysis: text and readings (1962): 355.
Examples
Run this code# NOT RUN {
cbs <- cdnow.sample()$cbs
nbd.EstimateParameters(cbs)
# }
Run the code above in your browser using DataLab