powered by
Calculate the log-likelihood of the NBD model
nbd.cbs.LL(params, cal.cbs)
NBD parameters - a vector with r and alpha, in that order.
Calibration period CBS. It must contain columns for frequency x and total time observed T.cal.
x
T.cal
The total log-likelihood for the provided data.
# NOT RUN { data("groceryElog") cbs <- elog2cbs(groceryElog) params <- nbd.EstimateParameters(cbs) nbd.cbs.LL(params, cbs) # }
Run the code above in your browser using DataLab