Learn R Programming

BTYDplus (version 0.7.2)

ggnbd.cbs.LL: Calculate the log-likelihood of the Gamma/Gompertz/NBD model

Description

Calculate the log-likelihood of the Gamma/Gompertz/NBD model

Usage

ggnbd.cbs.LL(params, cal.cbs)

Arguments

params

Gamma/Gompertz/NBD parameters - a vector with r, alpha, b, s and beta in that order.

cal.cbs

calibration period CBS. It must contain columns for frequency x, for recency t.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.

Value

the total log-likelihood for the provided data.

See Also

ggnbd.EstimateParameters