Learn R Programming

BTYDplus (version 0.7.2)

ggnbd.PAlive: Gamma/Gompertz/NBD P(alive)

Description

Uses Gamma/Gompertz/NBD model parameters and a customer's past transaction behavior to return the probability that they are still alive at the end of the calibration period.

Usage

ggnbd.PAlive(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

number of repeat transactions in the calibration period T.cal, or a vector of calibration period frequencies.

t.x

recency, i.e. length between first and last transaction during calibration period.

T.cal

length of calibration period, or a vector of calibration period lengths.

Value

Probability that the customer is still alive at the end of the calibration period.

See Also

ggnbd.EstimateParameters