Learn R Programming

BTYDplus (version 0.7.0)

nbd.cbs.LL: 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 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 data.frame with columns x and T.cal and optional custs.

Value

the total log-likelihood for the provided data.

See Also

nbd.EstimateParameters