nbd.cbs.LL | R Documentation |
Calculate the log-likelihood of the NBD model
nbd.cbs.LL(params, cal.cbs)
params |
NBD parameters - a vector with r and alpha, in that order. |
cal.cbs |
Calibration period CBS. It must contain columns for frequency
|
The total log-likelihood for the provided data.
data("groceryElog")
cbs <- elog2cbs(groceryElog)
params <- nbd.EstimateParameters(cbs)
nbd.cbs.LL(params, cbs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.