Customer Analytics Data Formatting
Likelihood maximization for annual halfing customer retention model
Annual Halfing Model
Answering machine data
bigT_expand_via_apply
Billionaires
Time varying Simple retention model Estimates retention rate using log...
ca_SRM
CADF to purchase string Extracts purchase strings from the CADF and fo...
Convert CADF dataset into annualhalfing model dataset
CADF to btyd pareto nbd model
CADF to logistic regression
CADF_to_migration_model converts CADF data to migration model data
CADF_to_nth_purchase_allrows inputs CADF data and the desired purchase...
CADF_to_nth_purchase
CADF-formatted sample data
cadf.
Function called during Customer$new() (the Customer R6 class) to creat...
create_recency_string
R6 Class representing a customer. Otherwise known as the CADF.
For each customer, return a modeling matrix that is utilized for logis...
For each customer, return a survival modeling matrix that is utilized ...
Compute the months between two purchase dates
Purchase string to frequency count
RLE object to frequency count
generate_date_template
Convert to CADF for a single customer id
LD functions are utilized for learning and diagnostic use.
Likelihood function for annual halfing model
LL function for the gamma gamma spend model
PDF probability function for gamma distribution
Probability density function for gamma distribution
The glossary for the CADF data format
Calculates T from a purchase string. Custom.
Calculates T from a purchase string
Calculates T from a purchase string under the "strict stayer" assumpti...
psmatrix_to_psstring
accepts a psmatrix converts 1/0 purchase strings to recency at timeof
The customer analytics data format (CADF) relays heavily on correct in...
Simple Migration
Create a CADF dataset from a dataframe
Stockmarket put/call data
Calculate transition periods between two timeperiods
Converts customer transaction data (ID, purchase date) into a R6 class called customer. The class stores various customer analytics calculations at the customer level. The package also contains functionality to convert data in the R6 class to data.frames that can serve as inputs for various customer analytics models.