nbd.cbs.LL {BTYDplus} | R Documentation |
Calculate the log-likelihood of the NBD model
Description
Calculate the log-likelihood of the NBD model
Usage
nbd.cbs.LL(params, cal.cbs)
Arguments
params |
NBD parameters - a vector with r and alpha, in that order. |
cal.cbs |
Calibration period CBS. It must contain columns for frequency
|
Value
The total log-likelihood for the provided data.
Examples
data("groceryElog")
cbs <- elog2cbs(groceryElog)
params <- nbd.EstimateParameters(cbs)
nbd.cbs.LL(params, cbs)
[Package BTYDplus version 1.2.0 Index]