1. University MCA (AI/ML) Semester 2
  2. CAB206
  3. Unit 5

CAB206 · Unit 5: AI for business intelligence

Customer segmentation, RFM, churn and lifetime value

9 practice questions

Key points

  • RFM = recency, frequency, monetary
  • Lower recency days = better
  • Standardise features before k-means
  • Retention = 1 - churn; cohort tables track retention by join month
  • Lifetime ~ 1/churn; CLV = m*r/(1+d-r)

Segmentation groups customers so each group can be treated differently (offers, service, channels).

RFM analysis scores customers on three behaviours:

  • Recency: days since the last purchase (smaller is better).
  • Frequency: number of purchases in a period.
  • Monetary: total (or average) spend.

Each is often scored 1-5 by quintile and combined into segments such as champions (recent, frequent, high spend), loyal, at risk (used to buy often but not recently) and lost.

Example (as of 30 June 2024): customer A bought 5 days ago (10 orders, 5,000), B 121 days ago (2 orders, 400), C 20 days ago (6 orders, 1,800). A is the most recent and B the least.

Clustering for segmentation. K-means groups customers by distance. Features on very different scales must be standardised: unscaled, a monetary range in thousands dominates a recency range in days, so the clusters ignore recency. Between A and B above, over 99% of the squared distance comes from monetary value.

Churn and retention. Churn rate = customers lost / customers at start; retention = 1 - churn. A cohort table tracks groups by join month. If 100 users joined in January and 60 are active in February and 45 in March, retention is 60% then 45%.

Customer lifetime value (CLV)

  • Simple: average margin per period x expected lifetime in periods. Expected lifetime ~ 1 / churn rate; at 5% monthly churn that is 20 months, so a 30 per month margin gives CLV of 600.
  • With retention r, discount rate d and margin m per period: CLV = m x r / (1 + d - r). For m = 100, r = 0.8, d = 0.1: 100 x 0.8 / 0.3 = 266.67.

Compare CLV with acquisition cost (CAC); a common rule of thumb is CLV / CAC of about 3 or more.

Try two questions

Question 1 · Tier 2, Understand

A company starts a month with 800 customers, loses 40, and has a monthly churn of 5%. What is the expected customer lifetime using 1 / churn?

  1. 5 months
  2. 95 months
  3. 40 months
  4. 20 months
Show the answer

D. Expected lifetime is about 1 / 0.05 = 20 months.

Question 2 · Tier 3, Apply

100 users joined in January; 60 are still active in February and 45 in March. What are the cohort retention rates for February and March?

  1. 40% and 55%
  2. 60% and 45%
  3. 45% and 60%
  4. 60% and 75%
Show the answer

B. Retention = active users / cohort size: 60/100 and 45/100.