Learn R Programming

BTYDplus (version 0.7.2)

mbgcnbd.Expectation: (M)BG/CNBD-k Expectation

Description

Returns the number of repeat transactions that a randomly chosen customer (for whom we have no prior information) is expected to make in a given time period, i.e. \(E(X(t) | k, r, alpha, a, b)\).

Usage

mbgcnbd.Expectation(params, t)

bgcnbd.Expectation(params, t)

Arguments

params

A vector with model parameters k, r, alpha, a and b, in that order.

t

Length of time for which we are calculating the expected number of repeat transactions.

Value

Number of repeat transactions a customer is expected to make in a time period of length t.

References

Platzer Michael, and Thomas Reutterer (forthcoming)

See Also

bgcnbd.Expectation

Examples

Run this code
# NOT RUN {
cbs <- cdnow.sample()$cbs # load CDNow summary data
params <- mbgcnbd.EstimateParameters(cbs)
mbgcnbd.Expectation(params, t = c(26, 52))
# }

Run the code above in your browser using DataLab