Learn R Programming

BTYDplus (version 0.5.0)

mbgcnbd.Px: CBD/CNBD-k Unconditional Probability Distribution of Transactions

Description

Uses MBG/CNBD-k model parameters to return the probability distribution of purchase frequencies for a random customer in a given time period, i.e. P(X(t)=x|r,alpha,a,b)

Usage

mbgcnbd.Px(params, t, x)

Arguments

params

MBG/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 transactions.

x

number of transactions for which probability is calculated.

Value

P(X(t)=x|r,alpha,a,b). If any of the input parameters has a length greater than 1, this will be a vector of expected number of transactions.

See Also

mbgcnbd.EstimateParameters