Modeling Early-Life Payment Counts and Their Drift Over Time
Statistics & ExperimentsModel answerLast updated
Model a skewed, zero-heavy count of early user payments, place its key summary statistics, predict how they move at a later horizon, and pick robust reporting metrics.
A consumer app lets users send money to friends. You are analyzing a fresh signup cohort. For each user, let X be the number of person-to-person payments they send in the first 30 days after registering.
You have no data in front of you, so reason from first principles and commit to concrete, clearly labeled illustrative numbers.
- Distribution. Propose a probability model for X. Explain why you expect a large mass at zero and a long right tail, and what real-world user behavior produces each feature.
- Summary statistics. Sketch the likely order and rough values of the mode, median, mean, and 95th percentile of X. Explain why they are spread apart.
- Change over time. Describe how the distribution should look at day 60. Consider retention-driven selection, habit formation, fraud and abuse controls, and seasonality. State the direction in which each of the four summaries moves, and be explicit about what exactly you are measuring at day 60 and which users are in the denominator.
- Reporting. Recommend two summaries that an executive can trust despite heavy tails, plus one diagnostic you would run to check your modeling assumptions.
Hints
Hint 1
Ask how the zeros arise. If many users were never able or willing to send a payment, a plain Poisson or a standard negative binomial will not capture them, so think about a model that separates 'ever active' from 'how much, if active'.
Hint 2
Skewed data separates the summaries: the mode sits at the spike, the median at the typical user, the mean is dragged by heavy users, and the 95th percentile is dominated by the tail. Pick a zero share and an active-user mean, then compute each quantity from them.
Hint 3
Before predicting day 60, define the quantity (cumulative 0-60 versus days 31-60) and keep the whole signup cohort as the denominator. Comparing only retained users is survivorship bias.
Hint 4
For reporting, pair an adoption rate with a robust level among adopters, or cap extreme values. For diagnostics, look at the tail on a log-log scale and estimate a tail index.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
What a strong answer shows
The question tests four things: recognizing structural zeros and overdispersion, understanding how skew spreads the summary statistics, anticipating selection effects across time windows, and choosing metrics that survive heavy tails. Commit to numbers, label them illustrative, and give the mechanism for each.
1) Distributional family
Think about the data-generating process in two stages.
Stage A: activation. Many signups never send a payment. They may have been browsing, failed identity verification, never linked a bank or card, or joined only to receive money. These are structural zeros: those users were never really at risk of sending, so a Poisson process cannot explain them.
Stage B: intensity among active users. Usage differs widely. Some split one dinner, some pay monthly rent shares, some run a small business through the app. If each user's rate λ varies as a Gamma distribution and the count is Poisson given λ, the marginal is negative binomial with variance μ + μ²/k, much larger than the mean.
Recommended model: a hurdle negative binomial. P(X = 0) = π₀, and X given X > 0 follows a zero-truncated NB. I prefer a hurdle to a zero-inflated NB because almost all zeros come from a separate activation decision with its own drivers (onboarding friction, verification), so modeling it separately is cleaner and more interpretable.
Zero mass: roughly 40-60%, higher for incentive-driven acquisition.
Tail: the NB tail is geometric, already heavy relative to Poisson. The extreme tail (small merchants, bots, fraud rings with hundreds of payments) is likely closer to a power law. If diagnostics show that, add a third "power user" component or a Pareto tail above a threshold. A lognormal suits payment amounts; for counts use a Poisson-lognormal.
2) Mode, median, mean, P95
Illustrative parameters: π₀ = 0.45, active users have mean about 8 with dispersion k ≈ 0.8.
| Summary | Approx. value | Reason |
|---|---|---|
| Mode | 0 | The zero spike beats any single positive count |
| Median | about 1-2 | 45% of mass is at 0, so the 50th percentile is just inside the positives (it is 0 if π₀ > 0.5) |
| Mean | about 4-5 | 0.55 × 8 ≈ 4.4, pulled up by heavy users |
| P95 | about 20-25 | Corresponds to roughly the 91st percentile among actives, (0.95 - 0.45) / 0.55 |
Ordering: mode < median < mean << P95. The top 5% of users might contribute 30-40% of all payments. A mean/median ratio of 2-4x is a quick sign of right skew.
3) Evolution by day 60
Define first. Is X₆₀ cumulative over days 0-60 or the count in days 31-60? Use the full signup cohort as denominator in both cases.
Mechanisms
- Retention selection: low-intent users churn, so their later counts are 0; survivors skew toward high intensity.
- Habit formation: retained users develop recurring flows (rent, utilities), raising their rates and thickening the body of the positive part.
- Fraud suppression: risk systems remove abusive accounts, trimming extreme-tail mass, while trusted users get higher limits, so the legitimate tail can grow.
- Seasonality: the windows may contain different numbers of paydays, rent dates, weekends, or holidays. Align cohorts by calendar day or adjust with a seasonal index.
Predicted directions
| Summary | Days 31-60 window | Cumulative 0-60 |
|---|---|---|
| Zero mass | up (churn exceeds late activation) | down slightly |
| Mode | stays 0 | stays 0 |
| Median | down, likely 0 | up modestly (e.g. 2 to 3-4) |
| Mean | flat or slightly down | up, but less than 2x because activity decays |
| P95 | flat or up | up roughly proportionally or more |
In the 31-60 window the distribution becomes more polarized: more zeros and a fatter active tail, so mean/median and P95/median both rise. Among retained users alone everything looks better, but that is survivorship bias and should not be presented as cohort improvement.
4) Robust reporting and a diagnostic
Summary 1: activation rate plus median among actives. Report P(X ≥ 1) and median(X | X ≥ 1). This mirrors the hurdle structure, separating adoption from depth of use, is insensitive to a few extreme accounts, and maps to actions (onboarding versus engagement).
Summary 2: winsorized mean (cap at P99) with a bootstrap CI. It stays tied to total volume, which matters for revenue and network effects, while neutralizing bots and merchants. A 5% trimmed mean is an alternative. For comparing day 30 and day 60 within users, use the median of per-user ratios among users active in both windows.
Diagnostic: log-log CCDF with a Hill tail-index estimate. Plot log P(X > x) versus log x for positive counts. A straight line suggests a power law; downward curvature suggests an NB-like tail. Estimate the tail index α above a threshold and check stability across thresholds. If α ≤ 2 the variance is effectively unbounded, which justifies capped or trimmed metrics. Complement this with a rootogram or posterior predictive check on the zero count and the upper quantiles of the fitted model.
Common mistakes
- Treating all zeros as Poisson zeros instead of structural.
- Comparing day 30 and day 60 on retained users only.
- Mixing cumulative and windowed definitions.
- Reporting a raw mean without a cap, letting a few bots drive the headline.
- Stating numbers without labeling them as assumptions.