Learn R Programming

BTYDplus (version 0.7.2)

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

Description

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

Usage

ggnbd.LL(params, x, t.x, T.cal)

Arguments

params

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

x

frequency, i.e. number of re-purchases

t.x

recency, i.e. time elapsed from first purchase to last purchase

T.cal

total time of observation period

Value

a vector of log-likelihoods

See Also

ggnbd.EstimateParameters