-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include probability of 0 purchases in time range (T, T+t]
#1093
Comments
Would the generalized purchase probability expression mentioned in the first comment of #168 meet your needs here? |
I don't think so. From what I can understand, the expression you are referring to is not conditional on the purchase history of a specific customer, unlike the expression implemented in this PR. I understand that a generalised function which accepts both the number of purchases If you think it is better to implement the generalised function instead of only the special case when |
Sorry for my delayed response; I've been traveling.
This is correct. That particular generalized function is the population expectation, and could also be interpreted as the purchase probability for a new, unobserved customer. However, I'm not sure if this satisfies your specific use case.
After giving some more thought to this, a major achilles heel of |
It is often useful to know the probability that a customer will make a purchase or not within the next
t
time periods. In some organisations "churn" is defined along the lines ofCurrently to my knowledge, there is no available logic that can give me this information, at least not in the BetaGeo model.
Section 5.3 of Hardie's notes gives an even more general expression, which allows us to get the probability of a customer making
y
purchases within the nextt
periods.We derived the expression for the special case when
y=0
, giving the definition of "churn" described above. The attached PDF shows the algebra, along with a brief explanation of the techniques used to avoid numerical issues.probability_no_deposits_derivation.pdf
The text was updated successfully, but these errors were encountered: