Description Usage Arguments Details Value References See Also Examples
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.
1 | pnbd.Expectation(params, t)
|
params |
Pareto/NBD parameters - a vector with r, alpha, s, and beta, in that order. r and alpha are unobserved parameters for the NBD transaction process. s and beta are unobserved parameters for the Pareto (exponential gamma) dropout process. |
t |
The length of time for which we are calculating the expected number of repeat transactions. |
E(X(t) | r, alpha, s, beta)
Number of repeat transactions a customer is expected to make in a time period of length t.
Fader, Peter S., and Bruce G.S. Hardie. "A Note on Deriving the Pareto/NBD Model and Related Expressions." November. 2005. Web. http://www.brucehardie.com/notes/008/
pnbd.ConditionalExpectedTransactions
1 2 3 4 5 6 7 8 9 | params <- c(0.55, 10.56, 0.61, 11.64)
# Number of repeat transactions a customer is expected to make in 2 time intervals.
pnbd.Expectation(params = params,
t = 2)
# We can also compare expected transactions over time:
pnbd.Expectation(params = params,
t = 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.