Skip to content

RFM Analysis

Scores each customer on Recency (how recently they bought), Frequency (how often) and Monetary value (how much), each from 1 to 5 by default, so you can target your best customers.

  • To rank customers for a campaign from purchase history.
  • With one row per customer (recency, frequency and spending already summarised) or one row per transaction (customer ID, date and amount).
  • Higher scores mean better customers: most recent, most frequent, highest spending.
  • A recency variable with a date format counts later dates as more recent; any other recency variable is read as time since the last purchase.
  • Scores are relative to this customer base; they are not comparable across datasets.
  • RFM Bins: how many customers fall in each score and the range of values each score covers.
  • Heat map: mean spending for each recency × frequency combination; the top-right cells hold the most valuable customers.
  • RFM score (saved): 100 × R + 10 × F + M, e.g. 555 for the best customers.

Customers were scored by RFM analysis with five nested bins; the 112 customers scoring 555 accounted for 23% of revenue.

Syntax: RFMANALYSIS /RFMVARIABLES RECENCY=days_since FREQUENCY=orders MONETARY=spend /BINNING METHOD=NESTED NUMBINS=5.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.