The Customer Who Never Returned
Can a delivery delay, the amount spent on a first order, and a customer review help us anticipate another purchase? Change the highlighted spreadsheet cells to explore the estimated likelihood of a customer returning.
Research status: This interactive calculator uses illustrative coefficients. Its results are hypothetical scenarios, not predictions validated against real customer transactions.
| # | A | B | C |
|---|---|---|---|
| 1 | INPUT VARIABLES — EDIT COLUMN B | ||
| 2 | Days Late | 0 = delivered on time or early | |
| 3 | First Purchase Amount | First order spending, BRL | |
| 4 | Customer Review | Review score, 1–5 stars | |
| 5 | CALCULATED RESULTS | ||
| 6 | Likelihood of Return | — | Estimated second purchase within 90 days |
| 7 | Likelihood of No Return | — | 100% minus return probability |
| 8 | Model Score (z) | — | Logistic regression model score |
| 9 | EXCEL FORMULA | ||
| 10 | Probability Formula | =1/(1+EXP(-(-2.2-0.12*B2+0.004*(B3-100)+0.48*(B4-3)))) | |
How the Calculation Works
This study uses a logistic regression formula to estimate the probability of a customer making another purchase within 90 days of their first order.
Where the model score is:
In this demonstration, additional delivery delays reduce the estimated likelihood of returning. Higher review scores and larger first purchases increase it. These relationships are assumptions for the prototype, not findings from fitted customer data.
Research Dataset
The planned empirical analysis uses the Brazilian E-Commerce Public Dataset by Olist . It contains real anonymized order information, including purchase dates, delivery dates, order values and reviews.
A customer is counted as returning when they make a second order within 90 days. Customers must have a full 90-day observation window to be included in the analysis. The future fitted model will measure associations, rather than establish causation.
A customer who does not make another purchase within 90 days has not necessarily stopped shopping permanently.