scoring
1Fpi3rq
1Fpi3rq
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
18 bgbb.PlotFrequencyInCalibration<br />
Usage<br />
bgbb.PlotFrequencyInCalibration(params, rf.matrix, censor = NULL,<br />
plotZero = TRUE, xlab = "Calibration period transactions",<br />
ylab = "Customers", title = "Frequency of Repeat Transactions")<br />
Arguments<br />
params<br />
rf.matrix<br />
censor<br />
plotZero<br />
xlab<br />
ylab<br />
title<br />
BG/BB parameters - a vector with alpha, beta, gamma, and delta, in that order.<br />
Alpha and beta are unobserved parameters for the beta-Bernoulli transaction<br />
process. Gamma and delta are unobserved parameters for the beta-geometric<br />
dropout process.<br />
recency-frequency matrix. It must contain columns for frequency ("x"), recency<br />
("t.x"), number of transaction opportunities in the calibration period ("n.cal"),<br />
and the number of customers with this combination of recency, frequency and<br />
transaction opportunities in the calibration period ("custs"). Note that recency<br />
must be the time between the start of the calibration period and the customer’s<br />
last transaction, not the time between the customer’s last transaction and the end<br />
of the calibration period.<br />
optional. Any calibration period frequency at this number, or above it, will be<br />
binned together. If the censor number is greater than the maximum recency in<br />
the recency-frequency matrix, the maximum recency will be used as the censor<br />
number.<br />
If FALSE, the histogram will exclude the zero bin.<br />
descriptive label for the x axis.<br />
descriptive label for the y axis.<br />
title placed on the top-center of the plot.<br />
Value<br />
Calibration period repeat transaction frequency comparison matrix, actual vs. expected.<br />
References<br />
Fader, Peter S., Bruce G.S. Hardie, and Jen Shang. “Customer-Base Analysis in a Discrete-Time<br />
Noncontractual Setting.” Marketing Science 29(6), pp. 1086-1108. 2010. INFORMS. http:<br />
//www.brucehardie.com/papers/020/<br />
Examples<br />
data(donationsSummary)<br />
rf.matrix