Description Usage Arguments Value References
single_cohort_ll
computes log-likelihood function for single-cohort data.
1 | single_cohort_ll(df_single_cohort_data, params)
|
df_single_cohort_data |
a data.frame containing number of lost and survived_customers per period. Required columns: columns 'period', 'lost_customers' and 'survived_customers'. |
params |
a list of parameters |
Log-likelihood based on single cohort data and given input parameters.
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.558.935&rep=rep1&type=pdf, formula B3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.