Learn R Programming

BTYDplus (version 0.7.2)

bgcnbd.Expectation: 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.

Usage

bgcnbd.Expectation(params, t, dropout_at_zero = FALSE)

Arguments

params

BG/CNBD-k parameters - a vector with k, r, alpha, a and b in that order.

t

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

dropout_at_zero

Boolean; the mbg-methods are simple wrapper methods, which set this parameter to TRUE

Value

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

Details

E(X(t) | k, r, alpha, a, b)

References

Platzer Michael, and Thomas Reutterer (forthcoming)

See Also

bgcnbd.pmf

Examples

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

Run the code above in your browser using DataLab